Support previewing favorites
[khome.git] / home / bin / semi-auto-mount
CommitLineData
62cf8a0e
SK
1#! /bin/sh
2
3path="$(
4 lsblk -rpo 'name,type,size,mountpoint' \
5 | awk '!$4 && $2 == "part"' \
6 | khomenu -l 60 \
7 | awk '{print $1}'
8)"
9
10notify-send 'semi-auto-mount' "$(udisksctl mount --block-device "$path" --no-user-interaction 2>&1)"
This page took 0.098659 seconds and 4 git commands to generate.