diff options
| author | Tyler Hoang <tyler@tylerhoang.xyz> | 2021-11-06 21:13:20 -0700 |
|---|---|---|
| committer | Tyler Hoang <tyler@tylerhoang.xyz> | 2021-11-06 21:13:20 -0700 |
| commit | 317a4493333ceea90283af0f45f3d389094650fd (patch) | |
| tree | e3fce485d10aad5d4df441648bea16fd502b98a1 | |
| parent | 3e5458c95c50c06523de4c3cd8dc425f67d4dea5 (diff) | |
use light instead of buggy xbacklight
| -rwxr-xr-x | statusbar/sb-battery | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/statusbar/sb-battery b/statusbar/sb-battery index 93cbe08..a9d85a0 100755 --- a/statusbar/sb-battery +++ b/statusbar/sb-battery @@ -11,8 +11,8 @@ case $BLOCK_BUTTON in ⚡: charged ❗: battery very low! - Scroll to change adjust xbacklight." ;; - 4) xbacklight -inc 10 ;; - 5) xbacklight -dec 10 ;; + 4) light -A 10 ;; + 5) light -U 10 ;; 6) "$TERMINAL" -e "$EDITOR" "$0" ;; esac |
