diff --git a/polybar/backlight.sh b/polybar/backlight.sh index 69b53a6..004fbc5 100755 --- a/polybar/backlight.sh +++ b/polybar/backlight.sh @@ -48,7 +48,7 @@ case "$1" in exit ;; *) - inotifywait -q -m -e close_write /sys/class/backlight/intel_backlight/brightness | + brightnessctl g | echo "$(getIcon) $brightness_percent%" ;; esac