aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Baterisna <alden.baterisna@yahoo.com>2025-02-07 00:18:50 +0800
committerSimon Ser <contact@emersion.fr>2025-02-06 18:02:35 +0100
commit851b8c6fb624a8056df16fa9db2b3dc05021e519 (patch)
tree510b1d323d41c748cbda323b2446f5af05f7a2f1
parentd093c2e3583e785cb308bec74c08a61e8808faf6 (diff)
man: Document bar mode toggle command
Functionality for switching swaybar's current mode between hidden and docked currently exists, but is absent from the relevant manpage.
-rw-r--r--sway/sway-bar.5.scd6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd
index 42e59d57..a1733aa2 100644
--- a/sway/sway-bar.5.scd
+++ b/sway/sway-bar.5.scd
@@ -143,6 +143,12 @@ runtime.
This setting also applies to the current binding mode indicator.
+The following commands may only be used at runtime.
+
+*mode* toggle [<bar_id>]
+ Toggles the current mode between _hide_ and _dock_. Any other mode
+ is treated as _hide_.
+
## TRAY
Swaybar provides a system tray where third-party applications may place icons.