dotfiles

My dotfiles: zsh, lf, sxiv, i3, ranger, mpd and more
Log | Files | Refs | Submodules | README | LICENSE

commit 49b858c267f2a1528499d9e61794a2f825787f06
parent 2578719227ad51afcc2a0b69e56a0a0c4166e704
Author: Petar Tomić <tomicp@gmail.com>
Date:   Mon, 29 Jun 2020 16:02:18 +0200

fix dmenumount (#735)


Diffstat:
M.local/bin/dmenumount | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount @@ -49,7 +49,7 @@ asktype() { \ } anddrives=$(simple-mtpfs -l 2>/dev/null) -usbdrives="$(lsblk -rpo "name,type,size,mountpoint" | awk '$4==""{printf "%s (%s)\n",$1,$3}')" +usbdrives="$(lsblk -rpo "name,type,size,mountpoint" | grep 'part\|rom' | awk '$4==""{printf "%s (%s)\n",$1,$3}')" if [ -z "$usbdrives" ]; then [ -z "$anddrives" ] && echo "No USB drive or Android device detected" && exit