# gets executed by dunst on notification
curl "https://raw.githubusercontent.com/paperbenni/suckless/master/programs/dunsttrigger" >~/paperbenni/notifications/dunsttrigger
chmod +x ~/paperbenni/notifications/dunsttrigger
+wget -O notification.ogg "https://notificationsounds.com/notification-sounds/me-too-603/download/ogg"
# automatic wallpaper changer
# uses reddit r/wallpaper scraper
#!/bin/dash
-mpv ~/paperbenni/notification.ogg
+# gets executed each time dunst receives a notification
+
+# spotify doesnt need a sound
+# discord already has one
+if ! grep -Eq '(discord|spotify)' <<<"$1"; then
+ mpv ~/paperbenni/notification.ogg
+fi
+
echo "($(date +%H:%M)) [$1] <b>$2</b> | <i>$3</i>" >>/tmp/notifications/notif.txt