Root commit.

This commit is contained in:
CronyAkatsuki 2023-08-23 19:45:38 +02:00
commit 7183fd6b99
21 changed files with 974 additions and 0 deletions

17
sb-backlight-update Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
function send_notification() {
brightness=$(printf "%.0f\n" $(brightnessctl i | grep -i current | awk '{print $4}' | sed 's/(//' | sed 's/)//'))
dunstify -a "changebrightness" -u low -r "9992" -h int:value:"$brightness" "brightness: ${brightness}%" -t 2000
}
case $1 in
up)
brightnessctl s +25 -q
send_notification $1
;;
down)
brightnessctl s 25- -q
send_notification $1
;;
esac