dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6147810f18333b19492cb9eadbcb2b5d33f0e39c
parent 1bffcd12c363064829682e16690430a118d962a4
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat,  2 Feb 2019 13:10:52 -0500

Merge pull request #183 from TomJansen/dmenuumount

Android unmount fix
Diffstat:
M.scripts/i3cmds/dmenuumount | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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 -i "$PIX/android.svg" "$chosen unmounted." + sudo -A umount -l "$chosen" && pgrep -x dunst && notify-send -i "$PIX/android.svg" "$chosen unmounted." } asktype() { \