summaryrefslogtreecommitdiff
path: root/.local/bin/no-rgb
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/no-rgb')
-rwxr-xr-x.local/bin/no-rgb8
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/no-rgb b/.local/bin/no-rgb
new file mode 100755
index 0000000..a843b12
--- /dev/null
+++ b/.local/bin/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