6 lines
140 B
Bash
Executable file
6 lines
140 B
Bash
Executable file
#!/bin/zsh
|
|
device=$(udiskie-info -a -o '{mount_path}' | grep -ve '^$' | dmenu -l 20)
|
|
if [[ -n "$device" ]]; then
|
|
udiskie-umount $device
|
|
fi
|