diff --git a/.local/bin/dmenumount b/.local/bin/dmenumount index 488522a..b98b6a3 100755 --- a/.local/bin/dmenumount +++ b/.local/bin/dmenumount @@ -25,6 +25,7 @@ mountusb() { \ partitiontype="$(lsblk -no "fstype" "$chosen")" case "$partitiontype" in "vfat") sudo -A mount -t vfat "$chosen" "$mp" -o rw,umask=0000;; + "exfat") sudo -A mount "$chosen" "$mp" -o uid="$(id -u)",gid="$(id -g)";; *) sudo -A mount "$chosen" "$mp"; user="$(whoami)"; ug="$(groups | awk '{print $1}')"; sudo -A chown "$user":"$ug" "$mp";; esac notify-send "💻 USB mounting" "$chosen mounted to $mp."