fix: fixed conflicts + moving to yadm
This commit is contained in:
8
.config/hypr/scripts/dunst/brightness.sh
Executable file
8
.config/hypr/scripts/dunst/brightness.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
msgId="3378455"
|
||||
|
||||
brightpercent=$(brightnessctl -m --class='backlight' | awk -F, '{print substr($4, 0, length($4)-1)}')
|
||||
|
||||
notify-send -i $HOME/.config/hypr/scripts/dunst/icons/brightness.svg -a "changeBrightness" -u low -r "$msgId" \
|
||||
-h int:value:"$brightpercent" "Яркость экрана: $brightpercent%"
|
||||
Reference in New Issue
Block a user