The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

How can I change the i3bar separator?

asked 2014-09-23 06:22:08 +0000

ShadowPrince gravatar image

updated 2014-09-23 08:15:27 +0000

Adaephon gravatar image

Where can I change the | character used as separator in the i3bar?

There does not seem to be a configuration option and I can not find place in the code where it is set.

I've found another question regarding separator, but output.c:print_separator does'nt even exists!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-09-23 10:50:56 +0000

Adaephon gravatar image

The file output.c can be found in the src directory of the i3status source code. But it does not seem to be an actual pipe symbol when using the i3bar output format, as print_separator returns without actually printing anything.

Looking at i3bar/src/xcb.c:refresh_statusline in the i3 code it seems that it is actually a drawn rectangle.

edit flag offensive delete link more
0

answered 2014-09-23 07:25:52 +0000

lasers gravatar image
  • 171 - character counts
  • 4 - newline counts
  • 70 - the length of the longest line
  • 24 - words
  • 1 - comma
  • 1 - period
  • 1 - exclamation mark

    - 0 - question

edit flag offensive delete link more

Comments

146 - character counts, 8 - newline counts, ..., ..., ..., 0 - usefull information

ShadowPrince gravatar imageShadowPrince ( 2014-09-23 07:33:39 +0000 )edit

@lasers Please use the comment function to discuss questions (or answers). Answers should, well, at least try to answer the original question. If you think that a question is of insufficient quality, you can always vote it down.

Adaephon gravatar imageAdaephon ( 2014-09-23 08:19:00 +0000 )edit

Question Tools

Stats

Asked: 2014-09-23 06:22:08 +0000

Seen: 991 times

Last updated: Sep 23 '14