update: reconfigured hyprland nvim and other things
This commit is contained in:
10
dot_config/dunst/scripts/literal_executable_brightness.sh
Normal file
10
dot_config/dunst/scripts/literal_executable_brightness.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
msgId="3378455"
|
||||
|
||||
brightnessctl "$@" >/dev/null
|
||||
|
||||
brightpercent=$(ddcutil -d 1 getvcp 10 | sed 's/^.*current value = //' | sed 's/, max.*//')
|
||||
|
||||
notify-send -i $HOME/.config/dunst/scripts/icons/brightness.svg -a "changeBrightness" -u low -r "$msgId" \
|
||||
-h int:value:"$brightpercent" "Яркость экрана: $brightpercent%"
|
||||
Reference in New Issue
Block a user