e3913093b6
The hidden_state and mode of each i3bar instance can now be controlled from within i3. Therefore, two new i3 command were introduced: _ bar hidden_state show|hide|toggle [<bar_id>] show: always show the bar hide: normal hide mode toggle: toggle between show and hide (individually for each bar) _ bar mode dock|hide|invisible|toggle [<bar_id>] hide,dock: like before invisible: always keep the bar hidden toggle: toggle between dock and hide (individually for each bar) This patch introduces a hidden_state ("hidden_state hide|show") in the barconfig, which indicates the current hidden_state of each i3bar instance. It only affects the bar when in hide mode. Additionally, a new invisible mode was introduced. In order to change the hidden_state or mode of the bar from i3, a barconfig-update event was introduced, for which a bar can subscribe and the bar then gets notified about the currently set hidden_state and mode in its barconfig. For convenience, an id field ("id <bar_id>") was added to the barconfig, where one can set the desired id for the corresponding bar. If the id is not specified, i3 will deterministically choose an id; otherwise, with the previous random approach for finding a new id, which is actually not shared with i3bar, as it would determine its id on startup, the event-subscription would be destroyed on reload. Still, this issue remains when manually changing the bar_id in the config and then reloading. fixes #833, #651 |
||
---|---|---|
contrib | ||
debian | ||
docs | ||
i3-config-wizard | ||
i3-dump-log | ||
i3-input | ||
i3-msg | ||
i3-nagbar | ||
i3bar | ||
include | ||
libi3 | ||
man | ||
parser-specs | ||
src | ||
testcases | ||
tests | ||
yajl-fallback/yajl | ||
.gitignore | ||
common.mk | ||
DEPENDS | ||
generate-command-parser.pl | ||
i3-dmenu-desktop | ||
i3-migrate-config-to-v4 | ||
i3-sensible-editor | ||
i3-sensible-pager | ||
i3-sensible-terminal | ||
i3.applications.desktop | ||
i3.config | ||
i3.config.keycodes | ||
i3.xsession.desktop | ||
LICENSE | ||
logo.svg | ||
Makefile | ||
PACKAGE-MAINTAINER | ||
pseudo-doc.doxygen | ||
RELEASE-NOTES-4.2 | ||
RELEASE-NOTES-4.3 | ||
RELEASE-NOTES-4.4 | ||
RELEASE-NOTES-4.5 | ||
RELEASE-NOTES-4.5.1 |