This commit is contained in:
Never Gude 2026-03-16 17:59:06 +01:00
parent 78dce1ecfa
commit c5167b9f54
5 changed files with 122 additions and 9 deletions

View file

@ -5,4 +5,4 @@ set max_brightness (brightnessctl --class=backlight max)
set brightness (math --scale 0 --scale-mode round "($brightness / $max_brightness) * 100")
notify-send -c 'status' -h int:value:$brightness "Brightness: $brightness%"
notify-send -c 'status' -h int:value:$brightness "Brightness" "$brightness%"

View file

@ -4,4 +4,4 @@ set volume (string match -r '[0-9]+.[0-9]+' (wpctl get-volume @DEFAULT_AUDIO_SIN
set volume (math --scale 0 --scale-mode round "$volume * 100")
notify-send -c 'status' -h int:value:$volume "Volume: $volume%"
notify-send -c 'status' -h int:value:$volume "Volume" "$volume%"