scripts/bin/dmumount
Alexander Gehrke cefd40b6dc Initial commit
2019-09-30 14:49:14 +02:00

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