aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway-bar.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-05-30 02:58:46 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-05-30 10:54:23 -0400
commitc3532bc8a18e28474350e5b471f00cf33ba5a290 (patch)
tree1fa8b62a288826a3f046d7da41f07e4c8da60d17 /sway/sway-bar.5.scd
parentbindings: allow unlocked and locked bindings (diff)
downloadsway-c3532bc8a18e28474350e5b471f00cf33ba5a290.tar.gz
sway-c3532bc8a18e28474350e5b471f00cf33ba5a290.tar.zst
sway-c3532bc8a18e28474350e5b471f00cf33ba5a290.zip
Add swaybar protocol documentation
This adds swaybar-protocol.7.scd documenting the swaybar status line protocol including some differences from the i3bar counterpart.
Diffstat (limited to 'sway/sway-bar.5.scd')
-rw-r--r--sway/sway-bar.5.scd8
1 files changed, 3 insertions, 5 deletions
diff --git a/sway/sway-bar.5.scd b/sway/sway-bar.5.scd
index a3df1160..d53574aa 100644
--- a/sway/sway-bar.5.scd
+++ b/sway/sway-bar.5.scd
@@ -13,9 +13,8 @@ Sway allows configuring swaybar in the sway configuration file.
13*status_command* <status command> 13*status_command* <status command>
14 Executes the bar _status command_ with _sh -c_. Each line of text printed 14 Executes the bar _status command_ with _sh -c_. Each line of text printed
15 to stdout from this command will be displayed in the status area of the 15 to stdout from this command will be displayed in the status area of the
16 bar. You may also use the i3bar JSON protocol: 16 bar. You may also use swaybar's JSON status line protocol. See
17 17 *swaybar-protocol*(7) for more information on the protocol
18 https://i3wm.org/docs/i3bar-protocol.html
19 18
20 If running this command via IPC, you can disable a running status command by 19 If running this command via IPC, you can disable a running status command by
21 setting the command to a single dash: _swaybar bar bar-0 status\_command -_ 20 setting the command to a single dash: _swaybar bar bar-0 status\_command -_
@@ -202,5 +201,4 @@ must be defined in hex: _#RRGGBB_ or _#RRGGBBAA_.
202 201
203# SEE ALSO 202# SEE ALSO
204 203
205*sway*(5) 204*sway*(5) *swaybar-protocol*(7)
206