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

multilple key to show i3bar in hide mode?

asked 2013-07-12 02:58:44 +0000

hndr gravatar image

As far as I can figure out, I can only bind a limited selection of key to show the i3bar when it is in hide mode, mod1, mod2, etc.

Problem is those keys are used for many other things, in i3, and also in other application. For example, when I switch between windows, I ended up toggling the i3bar when I am pressing the modifier key. I find this very disorienting.

Is there anyway to bind a key combination to this? maybe mod+alt+space or something?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-12 05:13:00 +0000

joepd gravatar image

You can specify the modifyer for showing i3bar as per the userguide like this:

bar {
    mode hide
    modifier Mod1
}

Adapt the modifier line to set your keybinds.

edit flag offensive delete link more

Comments

No, as I as mentioned, I need it to bind to more than 1 keypress, for example Mod4+Shift+Space. putting more than 1 key, or anything other than Mod1-5,Ctrl,Shift to that line will cause an error.

hndr gravatar imagehndr ( 2013-07-12 05:19:30 +0000 )edit

OK, now I understand what you mean. `i3-nagbar` show up when using multiple modifier keys, complaining about the key after the `+`. Maybe this is desired behavior for some reason, but please [report it](https://faq.i3wm.org/question/148/how-to-report-bug-or-submit-patch/?answer=149#post-id-149).

joepd gravatar imagejoepd ( 2013-07-12 06:15:10 +0000 )edit

done: https://github.com/i3/i3/issues/1050. Thanks for the clarification.

hndr gravatar imagehndr ( 2013-07-12 06:34:56 +0000 )edit

Question Tools

Stats

Asked: 2013-07-12 02:58:44 +0000

Seen: 541 times

Last updated: Jul 12 '13