Commits

Jason Ryan committed af9840a

Udisks & systemd {u}mounting

Comments (0)

Files changed (2)

 $HOME/Scripts/proc-check &
 
 # automounting
-udiskie &
+udiskie -s &
 
 # ---- window manager ----
 # launch dwm
 target=$(awk '/media\/[\^A-Z]/ {print $3}' <(mount))
 
 if [[ -n "$target" ]]; then
-    sudo umount "$target" &&
+    udiskie-umount "$target" &&
     printf "%s\n" "${target##*/} unmounted…"
 else
     printf "%s\n" "No drive mounted…"