dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 030654c202423bfb646019464642a273da135e6b
parent 3ed1dcc4f205a8ca8cd5605500aeb7147f00d832
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 24 Dec 2018 09:29:08 +0100

Add vfat support from upstream lukesmithxyz/voidrice

Diffstat:
Mlinks/bin/dmenumount | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/links/bin/dmenumount b/links/bin/dmenumount @@ -19,7 +19,12 @@ mountusb() { \ chosen="$(echo "$usbdrives" | dmenu -i -p "Mount which drive?" | awk '{print $1}')" sudo -A mount "$chosen" && notify-send "$chosen mounted." && exit 0 getmount "/mnt /media /mount /home -maxdepth 5 -type d" - sudo -A mount "$chosen" "$mp" && notify-send "$chosen mounted to $mp." + partitiontype="$(lsblk -no "fstype" "$chosen")" + case "$partitiontype" in + "vfat") sudo -A mount -t vfat "$chosen" "$mp" -o rw,umask=0000;; + *) sudo -A mount "$chosen" "$mp";; + esac + notify-send "$chosen mounted to $mp." } mountandroid() { \