dotfiles

Luke's GNU/Linux dotfiles for i3, vim, ranger, bash, mpd, etc.
git clone git@git.lukesmith.xyz:dotfiles
Log | Files | Refs | README | LICENSE

commit e6f6a83082551692770f6c83c2112fb2a2f961ea
parent a9b704812763fdc536de9a3fcc624c6fa893d9a5
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sun, 30 Dec 2018 18:40:57 -0500

own mounted drives

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

diff --git a/.scripts/i3cmds/dmenumount b/.scripts/i3cmds/dmenumount @@ -22,7 +22,7 @@ mountusb() { \ 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";; + *) sudo -A mount "$chosen" "$mp"; user="$(whoami)"; ug="$(groups | awk '{print $1}')"; sudo -A chown "$user":"$ug" 741 "$mp";; esac notify-send "$chosen mounted to $mp." }