new setup structure multiple fonts and various other small bug fixes

This commit is contained in:
ITmail-dk
2022-01-07 09:59:50 +01:00
parent fb1b21ff03
commit 7ca12b2e45
31 changed files with 77 additions and 77 deletions

View File

@@ -0,0 +1,17 @@
#!/bin/bash
function send_notification() {
brightness=$(printf "%.0f\n" $(brillo -G))
dunstify -a "changebrightness" -u low -r 9991 -h int:value:"$brightness" -i "brightness-$1" "Brightness: $brightness%" -t 2000
}
case $1 in
up)
brillo -A 5 -q
send_notification $1
;;
down)
brillo -U 5 -q
send_notification $1
;;
esac