diff options
-rwxr-xr-x | closeMusicMode.sh | 7 |
1 files 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." |