diff options
Diffstat (limited to 'scripts/keyboard-light-x220.sh')
-rwxr-xr-x | scripts/keyboard-light-x220.sh | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/keyboard-light-x220.sh b/scripts/keyboard-light-x220.sh deleted file mode 100755 index 6aa509b..0000000 --- a/scripts/keyboard-light-x220.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -STATUS=$(brightnessctl --device "tpacpi::thinklight" | grep "Current brightness") - -if [[ "$STATUS" == *"(0%)" ]]; then - brightnessctl --device "tpacpi::thinklight" set 1 -else - brightnessctl --device "tpacpi::thinklight" set 0 -fi |