Commit | Line | Data |
---|---|---|
62cf8a0e SK |
1 | #! /bin/sh |
2 | ||
3 | path="$( | |
4 | lsblk -rpo 'name,type,size,mountpoint' \ | |
5 | | awk '!$4 && $2 == "part"' \ | |
6 | | khomenu -l 60 \ | |
7 | | awk '{print $1}' | |
8 | )" | |
9 | ||
10 | notify-send 'semi-auto-mount' "$(udisksctl mount --block-device "$path" --no-user-interaction 2>&1)" |