aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-03-20 16:25:12 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-03-20 16:25:12 +0100
commit1bfac842cc193517c215a0fb5f9f129519d95a8a (patch)
tree0d268b0b444713ac0ba16729597c6f11c05bafab
parentb56400cb2572649a758714f0bd0d7b027b6a6fdd (diff)
downloadscripts-1bfac842cc193517c215a0fb5f9f129519d95a8a.tar.gz
scripts-1bfac842cc193517c215a0fb5f9f129519d95a8a.zip
Dunstified and other minor changes.
-rwxr-xr-xcloseMusicMode.sh7
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."