summaryrefslogtreecommitdiff
path: root/scripts/keyboard-light-x220.sh
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-05-05 16:48:38 +0300
committerThanos Apollo <[email protected]>2023-05-05 16:48:38 +0300
commitead314085dd03214aecc5e1c2e0b1d61256b6a30 (patch)
tree7929b11ccc6fdeeabfe426e483aef1afb499ab62 /scripts/keyboard-light-x220.sh
parent912b711a1208bc11784de94b9ea01e3099b65af2 (diff)
remove pictures and scripts
Removing pictures and scripts from this repo, seperating into different ones
Diffstat (limited to 'scripts/keyboard-light-x220.sh')
-rwxr-xr-xscripts/keyboard-light-x220.sh9
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