summaryrefslogtreecommitdiff
path: root/dmenuumount
diff options
context:
space:
mode:
Diffstat (limited to 'dmenuumount')
-rwxr-xr-xdmenuumount4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmenuumount b/dmenuumount
index 4af0394..6dc25e2 100755
--- a/dmenuumount
+++ b/dmenuumount
@@ -29,13 +29,13 @@ unmountusb() {
chosen="$(echo "$drives" | $DMENU $DEFARGS "Unmount which drive?" $ARGS)" || exit 1
chosen="$(echo "$chosen" | awk '{print $1}')"
[ -z "$chosen" ] && exit
- doas umount "$chosen" && notify-send "💻 USB unmounting" "$chosen unmounted."
+ sudo umount "$chosen" && notify-send "💻 USB unmounting" "$chosen unmounted."
}
unmountandroid() { \
chosen="$(awk '/simple-mtpfs/ {print $2}' /etc/mtab | $DMENU $DEFARGS "Unmount which device?" $ARGS )" || exit 1
[ -z "$chosen" ] && exit
- doas umount -l "$chosen" && notify-send "🤖 Android unmounting" "$chosen unmounted."
+ sudo umount -l "$chosen" && notify-send "🤖 Android unmounting" "$chosen unmounted."
}
asktype() { \