diff options
| author | TomJansen <2716208+TomJansen@users.noreply.github.com> | 2019-01-15 00:25:46 +0100 |
|---|---|---|
| committer | TomJansen <2716208+TomJansen@users.noreply.github.com> | 2019-01-15 00:25:46 +0100 |
| commit | 18378660cae369465f520fb656c64b59dc0c5411 (patch) | |
| tree | 3230bee2b9e33ad67d6b15ea4a00809772aefe1e /.scripts/i3cmds | |
| parent | 83f154ad17d80354b484aeb0fed8ec8163d02910 (diff) | |
| download | eibhear-18378660cae369465f520fb656c64b59dc0c5411.tar.gz eibhear-18378660cae369465f520fb656c64b59dc0c5411.tar.zst eibhear-18378660cae369465f520fb656c64b59dc0c5411.zip | |
Android unmount fix
Diffstat (limited to '.scripts/i3cmds')
| -rwxr-xr-x | .scripts/i3cmds/dmenuumount | 2 |
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() { \ |
