polybar: backlight

This commit is contained in:
Michael Grote 2021-06-29 16:43:12 +02:00
parent 6a171dd1c2
commit a9c5fd1c6d

View file

@ -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