summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbl3
1 files changed, 3 insertions, 0 deletions
diff --git a/bl b/bl
index 376543f..455064d 100755
--- a/bl
+++ b/bl
@@ -57,12 +57,15 @@ case "$CMD" in
case "$ARG" in
"inc")
brightnessctl set -s "+$AMT%"
+ brightnessctl -s
;;
"dec")
brightnessctl set -s "$AMT%-"
+ brightnessctl -s
;;
"set")
brightnessctl set -s "$AMT%"
+ brightnessctl -s
;;
"get")
brightnessctl | cut -d' ' -f3 | paste -s -d' ' | awk '{printf "%5.2f\n", 100 * $2 / $3}'