aboutsummaryrefslogtreecommitdiffstats
path: root/sway/sway.5.scd
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-12-28 21:15:54 -0500
committerLibravatar Simon Ser <contact@emersion.fr>2019-12-29 10:40:06 +0100
commitde43f7c1db9bb47ef042bc310fdcf2cd2b346c98 (patch)
tree5db71352762a7d2089bf060dbd12618516381b4d /sway/sway.5.scd
parentFix typo in swaybar-protocol.7.scd (diff)
downloadsway-de43f7c1db9bb47ef042bc310fdcf2cd2b346c98.tar.gz
sway-de43f7c1db9bb47ef042bc310fdcf2cd2b346c98.tar.zst
sway-de43f7c1db9bb47ef042bc310fdcf2cd2b346c98.zip
cmd_client_*: support optional args for i3 compat
For i3 compatibility, allow the indicator and child_border colors values to be optional. The indicator will fallback to sane defaults and child_border will fallback to the background color for the class.
Diffstat (limited to 'sway/sway.5.scd')
-rw-r--r--sway/sway.5.scd15
1 files changed, 8 insertions, 7 deletions
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 52ee9d28..29e9809b 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -442,15 +442,16 @@ runtime.
442 bindswitch lid:toggle exec echo "Lid moved" 442 bindswitch lid:toggle exec echo "Lid moved"
443``` 443```
444 444
445*client.<class>* <border> <background> <text> <indicator> <child_border> 445*client.background* <color>
446 Configures the color of window borders and title bars. All 5 colors are 446 This command is ignored and is only present for i3 compatibility.
447 required, with the exception of *client.background*, which requires exactly
448 one. Colors may be specified in hex, either as _#RRGGBB_ or _#RRGGBBAA_.
449 447
450 The available classes are: 448*client.<class>* <border> <background> <text> [<indicator> [<child_border>]]
449 Configures the color of window borders and title bars. The first three
450 colors are required. When omitted _indicator_ will use a sane default and
451 _child_border_ will use the color set for _background_. Colors may be
452 specified in hex, either as _#RRGGBB_ or _#RRGGBBAA_.
451 453
452 *client.background* 454 The available classes are:
453 Ignored (present for i3 compatibility).
454 455
455 *client.focused* 456 *client.focused*
456 The window that has focus. 457 The window that has focus.