aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/BrightnessKbd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/BrightnessKbd.sh')
-rwxr-xr-xconfig/hypr/scripts/BrightnessKbd.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/BrightnessKbd.sh b/config/hypr/scripts/BrightnessKbd.sh
index c6d6afd3..3bdcebcb 100755
--- a/config/hypr/scripts/BrightnessKbd.sh
+++ b/config/hypr/scripts/BrightnessKbd.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-iDIR="$HOME/.config/dunst/icons"
+iDIR="$HOME/.config/swaync/icons"
# Get keyboard brightness
get_kbd_backlight() {
@@ -24,7 +24,7 @@ get_icon() {
}
# Notify
notify_user() {
- dunstify -h string:x-dunst-stack-tag:brightness_notif -h int:value:$current -u low -i "$icon" "Keyboard Brightness : $current%"
+ notify-send -e -h string:x-canonical-private-synchronous:brightness_notif -h int:value:$current -u low -i "$icon" "Keyboard Brightness : $current%"
}
# Change brightness
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage