summaryrefslogtreecommitdiff
path: root/include/sway/config.h
diff options
context:
space:
mode:
authorIan Fan <[email protected]>2018-10-12 21:14:52 +0100
committerIan Fan <[email protected]>2018-10-14 13:33:12 +0100
commit2f1fd8072673b1824f37759e14f5388d7a87fb5c (patch)
tree948b7912a2341c2d0b903258b444173b3fd4d1f3 /include/sway/config.h
parentbcc61e5147fb57a3b4bfb9a2a33065a0cf6da67b (diff)
swaybar: show hidden bar on key event
Since wayland does not currently allow swaybar to create global keybinds, this is handled within sway and sent to the bar using a custom event, so as not to pollute existing events, called bar_state_update.
Diffstat (limited to 'include/sway/config.h')
-rw-r--r--include/sway/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/config.h b/include/sway/config.h
index f21ecbb1..be5a00b5 100644
--- a/include/sway/config.h
+++ b/include/sway/config.h
@@ -191,6 +191,7 @@ struct bar_config {
* In "show" mode, it will always be shown on top of the active workspace.
*/
char *hidden_state;
+ bool visible_by_modifier; // only relevant in "hide" mode
/**
* Id name used to identify the bar through IPC.
*