i3blocks scripts added
This commit is contained in:
@@ -11,4 +11,4 @@ drives=$(lsblk -lp | grep "t /" | grep -v "$exclusionregex" | awk '{print $1, "(
|
||||
[[ "$drives" = "" ]] && exit
|
||||
chosen=$(echo "$drives" | dmenu -i -p "Unmount which drive?" | awk '{print $1}')
|
||||
[[ "$chosen" = "" ]] && exit
|
||||
sudo umount $chosen
|
||||
sudo umount $chosen && pgrep -x dunst && notify-send "$chosen unmounted."
|
||||
|
||||
Reference in New Issue
Block a user