diff --git a/home/default/.local/bin/dmenumount b/home/default/.local/bin/dmenumount index abeb0ce..91988c2 100755 --- a/home/default/.local/bin/dmenumount +++ b/home/default/.local/bin/dmenumount @@ -26,6 +26,7 @@ mountusb() { \ 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)";; + "hfsplus"|"hfs") sudo -A mount -t hfsplus -o force,rw "$chosen" "$mp"; user="$(whoami)"; ug="$(groups | awk '{print $1}')"; sudo -A chown "$user":"$ug" "$mp";; *) 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."