summaryrefslogtreecommitdiff
path: root/.config/i3/extra/no-rgb
diff options
context:
space:
mode:
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