diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index a1c4178..1a3f537 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -495,4 +495,16 @@ urgency = normal script = ~/.config/dunst/play-pomodoro.sh +[low-battery] + appname = "poweralertd" + # summary = "Timer *" + category = "power.low" + script = ~/.config/dunst/play-low-battery-sound.sh + +[critical-battery] + appname = "poweralertd" + # summary = "Timer *" + category = "power.critical" + script = ~/.config/dunst/play-low-battery-sound.sh + # vim: ft=cfg diff --git a/.config/dunst/play-low-battery-sound.sh b/.config/dunst/play-low-battery-sound.sh new file mode 100755 index 0000000..ef094ea --- /dev/null +++ b/.config/dunst/play-low-battery-sound.sh @@ -0,0 +1 @@ +paplay ~/.config/dunst/sounds/low-battery.mp3 diff --git a/.config/dunst/sounds/low-battery.mp3 b/.config/dunst/sounds/low-battery.mp3 new file mode 100644 index 0000000..31b2412 Binary files /dev/null and b/.config/dunst/sounds/low-battery.mp3 differ