summaryrefslogtreecommitdiffstats
path: root/.scripts/dmenuumount
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/dmenuumount')
-rwxr-xr-x.scripts/dmenuumount2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/dmenuumount b/.scripts/dmenuumount
index 5a26677..d333e2a 100755
--- a/.scripts/dmenuumount
+++ b/.scripts/dmenuumount
@@ -11,4 +11,4 @@ drives=$(lsblk -lp | grep "t /" | grep -v "$exclusionregex" | awk '{print $1, "(
[[ "$drives" = "" ]] && exit
chosen=$(echo "$drives" | dmenu -i -p "Unmount which drive?" | awk '{print $1}')
[[ "$chosen" = "" ]] && exit
-sudo umount $chosen
+sudo umount $chosen && pgrep -x dunst && notify-send "$chosen unmounted."