mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
swaybar: add documentation for hide/hidden_state subcommands
This commit is contained in:
parent
4dba7c084a
commit
85dd36e92b
|
@ -65,6 +65,22 @@ Sway allows configuring swaybar in the sway configuration file.
|
||||||
is given, when mouse button _n_ has been released). To disable the default
|
is given, when mouse button _n_ has been released). To disable the default
|
||||||
behavior for a button, use the command _nop_.
|
behavior for a button, use the command _nop_.
|
||||||
|
|
||||||
|
*mode* dock|hide|invisible
|
||||||
|
Specifies the visibility of the bar. In _dock_ mode, it is permanently
|
||||||
|
visible at one edge of the screen. In _hide_ mode, it is hidden unless the
|
||||||
|
modifier key is pressed, though this behaviour depends on the hidden state.
|
||||||
|
In _invisible_ mode, it is permanently hidden. Default is _dock_.
|
||||||
|
|
||||||
|
*hidden\_state* hide|show
|
||||||
|
Specifies the behaviour of the bar when it is in _hide_ mode. When the
|
||||||
|
hidden state is _hide_, then it is normally hidden, and only unhidden by
|
||||||
|
pressing the modifier key or in case of urgency hints. When the hidden
|
||||||
|
state is _show_, then it is permanently visible, drawn on top of the
|
||||||
|
currently visible workspace. Default is _hide_.
|
||||||
|
|
||||||
|
*modifier* <Modifier>|none
|
||||||
|
Specifies the modifier key that shows a hidden bar. Default is _Mod4_.
|
||||||
|
|
||||||
## TRAY
|
## TRAY
|
||||||
|
|
||||||
Swaybar provides a system tray where third-party applications may place icons.
|
Swaybar provides a system tray where third-party applications may place icons.
|
||||||
|
|
|
@ -614,6 +614,18 @@ match any output by using the output name "\*".
|
||||||
*workspace\_layout* default|stacking|tabbed
|
*workspace\_layout* default|stacking|tabbed
|
||||||
Specifies the initial layout for new workspaces.
|
Specifies the initial layout for new workspaces.
|
||||||
|
|
||||||
|
# BAR CONTROL
|
||||||
|
|
||||||
|
*bar hidden\_state* hide|show|toggle [<bar\_id>]
|
||||||
|
Sets the hidden state of the bar (see *sway-bar*(5)), either individually,
|
||||||
|
by specifying a bar id, or if none is given, for all bar instances.
|
||||||
|
_toggle_ switches between _hide_ and _show_.
|
||||||
|
|
||||||
|
*bar mode* dock|hide|invisible|toggle [<bar\_id>]
|
||||||
|
Sets the mode of the bar (see *sway-bar*(5)), either individually,
|
||||||
|
by specifying a bar id, or if none is given, for all bar instances.
|
||||||
|
_toggle_ switches between _dock_ and _hide_.
|
||||||
|
|
||||||
# CRITERIA
|
# CRITERIA
|
||||||
|
|
||||||
A criteria is a string in the form of, for example:
|
A criteria is a string in the form of, for example:
|
||||||
|
|
Loading…
Reference in a new issue