diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-05 03:20:56 +0100 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2021-12-05 03:20:56 +0100 |
commit | cdd2cc8ed577ba6702752de0fb5a5eafa9f800f0 (patch) | |
tree | 9c6ad71890269f8018c6f54ca1c285403f1c48ab /.config | |
parent | 9a44dc8c4d3d1916c3a65e16355535464b91c95f (diff) |
RGB settings now persist after suspend
Diffstat (limited to '.config')
-rwxr-xr-x | .config/i3/extra/no-rgb | 8 |
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 |