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 df40ae9..8d0928a 100755
--- a/.scripts/dmenuumount
+++ b/.scripts/dmenuumount
@@ -9,4 +9,4 @@ drives=$(lsblk -rpo "$COLS" | awk '$2=="part"&&$4!~/boot|home|SWAP/&&length($4)>
[ -z "$drives" ] && exit
chosen=$(echo "$drives" | dmenu -i -p "Unmount which drive?" | awk '{print $1}')
[ -z "$chosen" ] && exit
-sudo umount "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted."
+sudo -A umount "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted."