dotfiles

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

commit b8d15d527838aeae50850458e151ac3a517f389a
parent 3dc859933b88974ad5bea9417eafa86fc52caa68
Author: Petar Tomić <tomicp@gmail.com>
Date:   Tue,  8 Sep 2020 15:23:10 +0200

mount exfat for rw (#812)


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

diff --git 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."