dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit cbcd5e0c622a87647c7899178d4249b1680c08eb
parent 21b4f8c613c45a2694129f5bba37b2ebc934633b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat, 24 Nov 2018 09:05:57 -0500

umount android fix

Diffstat:
M.scripts/i3cmds/dmenuumount | 11++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.scripts/i3cmds/dmenuumount b/.scripts/i3cmds/dmenuumount @@ -30,7 +30,12 @@ if ! grep simple-mtpfs /etc/mtab; then echo "Unmountable USB drive detected." unmountusb else - [ -z "$drives" ] && echo "Unmountable Android device detected." && unmountandroid - echo "Unmountable USB drive(s) and Android device(s) detected." - asktype + if [ -z "$drives" ] + then + echo "Unmountable Android device detected." + unmountandroid + else + echo "Unmountable USB drive(s) and Android device(s) detected." + asktype + fi fi