summaryrefslogtreecommitdiff
path: root/.config/i3/extra/no-rgb
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-12-05 03:20:56 +0100
committerAdam <56338480+adastx@users.noreply.github.com>2021-12-05 03:20:56 +0100
commitcdd2cc8ed577ba6702752de0fb5a5eafa9f800f0 (patch)
tree9c6ad71890269f8018c6f54ca1c285403f1c48ab /.config/i3/extra/no-rgb
parent9a44dc8c4d3d1916c3a65e16355535464b91c95f (diff)
RGB settings now persist after suspend
Diffstat (limited to '.config/i3/extra/no-rgb')
-rwxr-xr-x.config/i3/extra/no-rgb8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/i3/extra/no-rgb b/.config/i3/extra/no-rgb
new file mode 100755
index 0000000..a843b12
--- /dev/null
+++ b/.config/i3/extra/no-rgb
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$USER" == "adam" ]; then
+ openrgb -p no-rgb
+else
+ USER=adam
+ su $USER -c "openrgb -p no-rgb"
+fi