From 1bfac842cc193517c215a0fb5f9f129519d95a8a Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 20 Mar 2019 16:25:12 +0100 Subject: Dunstified and other minor changes. --- closeMusicMode.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/closeMusicMode.sh b/closeMusicMode.sh index a07cf00..8c0caec 100755 --- a/closeMusicMode.sh +++ b/closeMusicMode.sh @@ -1,5 +1,6 @@ #!/bin/sh -kill $(pgrep -x musicMode.sh) # End the music mode process +kill "$(pgrep -x "musicMode.sh")" # End the music mode process i3-msg "bar mode dock" # Restore the i3bar -exec feh --bg-max ~/images/wallpapers/bg* # Restore default wallpaper -notify-send -h string:x-canonical-private-synchronous:musicMode -t 1000 "Closed music mode." +feh --bg-max ~/images/wallpapers/bg_* # Restore default wallpaper +killall vis +dunstify -r "$(dunstifyIDs.sh "musicMode")" -t 1000 "Closed music mode." -- cgit v1.2.1