i3blocks scripts added
This commit is contained in:
1 parent
84557167e6
commit
cec92894fc
8 files changed
+51
-4
No files matched your search
@@ -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