aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-07-26 20:36:46 +0200
committerIsaac Freund <ifreund@ifreund.xyz>2021-07-26 20:36:46 +0200
commit8a1e96cddcd1a4f2b753ee972a4a994cf68c78b7 (patch)
tree2f4947aef58cd2096512c161e087401e411dd322 /example
parentae871c2fee400eb38ae23d1d0b1f708fe5a31bda (diff)
downloadriver-8a1e96cddcd1a4f2b753ee972a4a994cf68c78b7.tar.gz
river-8a1e96cddcd1a4f2b753ee972a4a994cf68c78b7.tar.xz
config: change color format to 0xRRGGBBAA
The current format of #RRGGBBAA is problematic as # starts a comment in POSIX compliant shells, requiring escaping/quoting and increasing complexity. This is a breaking change.
Diffstat (limited to 'example')
-rwxr-xr-xexample/init5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/init b/example/init
index a00a5b1..5c7fa16 100755
--- a/example/init
+++ b/example/init
@@ -140,6 +140,11 @@ do
riverctl map $mode None XF86MonBrightnessDown spawn 'light -U 5'
done
+# Set background and border color
+riverctl background-color 0x002b36
+riverctl border-color-focused 0x93a1a1
+riverctl border-color-unfocused 0x586e75
+
# Set repeat rate
riverctl set-repeat 50 300