summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/no-rgb8
-rwxr-xr-x.local/bin/screenshot4
2 files changed, 12 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
diff --git a/.local/bin/screenshot b/.local/bin/screenshot
new file mode 100755
index 0000000..3eb9ec1
--- /dev/null
+++ b/.local/bin/screenshot
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+sleep 0.2
+scrot --line mode=edge -s -e 'xclip -selection c -t image/png < $f; mv $f ~/Pictures/screenshots/'