From ad067e8e61f305f21135b0bf1c491a2cda595ad7 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Sun, 24 Apr 2022 14:56:19 +0200 Subject: Moved scripts to .local/bin and small i3 change --- .local/bin/no-rgb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 .local/bin/no-rgb (limited to '.local/bin/no-rgb') 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 -- cgit v1.2.3-70-g09d2