summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/i3cmds/dmenuumount2
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/i3cmds/dmenuumount b/.scripts/i3cmds/dmenuumount
index a267010..260c1c8 100755
--- a/.scripts/i3cmds/dmenuumount
+++ b/.scripts/i3cmds/dmenuumount
@@ -13,7 +13,7 @@ unmountusb() {
unmountandroid() { \
chosen=$(awk '/simple-mtpfs/ {print $2}' /etc/mtab | dmenu -i -p "Unmount which device?")
[ -z "$chosen" ] && exit
- fusermount -u "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted."
+ sudo -A umount -l "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted."
}
asktype() { \