diff options
author | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-21 14:33:27 +0100 |
---|---|---|
committer | Mikkel Oscar Lyderik <mikkeloscar@gmail.com> | 2015-12-21 14:33:27 +0100 |
commit | a96a5e0013f8925cf09366fff46ffa95b1423e36 (patch) | |
tree | 335fe7a1d72327a4da0d9614c5e29269024c0dbc /sway/ipc-server.c | |
parent | 9d09f5e39172a873fb67f65b26297999e9668291 (diff) |
Handle bar commands outside config file
Our initial implementation of `bar { }` assumed that the commands could
only be used in the config. This is not true for two commands:
* bar mode
* bar hidden_state
This patch makes it possible to issue these commands outside a bar
block, for instance through swaymsg
$ swaymsg bar mode hide bar-0
This does not implement the `barconfig_update` IPC event which should be
trigged from these commands. I have added TODO's where this should be
added once implemented.
Diffstat (limited to 'sway/ipc-server.c')
0 files changed, 0 insertions, 0 deletions