From 851b8c6fb624a8056df16fa9db2b3dc05021e519 Mon Sep 17 00:00:00 2001 From: Dan Baterisna Date: Fri, 7 Feb 2025 00:18:50 +0800 Subject: [PATCH] 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. --- sway/sway-bar.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) 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 [] + 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.