diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-01-18 13:21:25 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-01-18 13:21:25 -0500 |
| commit | 2eaabe4fbd6ba9d46e1e61af8c3504d611776fe8 (patch) | |
| tree | 2aeadd1983a06807a4a3c2a0c9b077962cc8363e /.scripts/i3cmds/dmenuumount | |
| parent | 7a0346d01ae533a2b1dc65df99803612f87c7c7b (diff) | |
| download | eibhear-2eaabe4fbd6ba9d46e1e61af8c3504d611776fe8.tar.gz eibhear-2eaabe4fbd6ba9d46e1e61af8c3504d611776fe8.tar.zst eibhear-2eaabe4fbd6ba9d46e1e61af8c3504d611776fe8.zip | |
svgs will be added later
Diffstat (limited to '.scripts/i3cmds/dmenuumount')
| -rwxr-xr-x | .scripts/i3cmds/dmenuumount | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.scripts/i3cmds/dmenuumount b/.scripts/i3cmds/dmenuumount index a267010..3191ec5 100755 --- a/.scripts/i3cmds/dmenuumount +++ b/.scripts/i3cmds/dmenuumount @@ -7,13 +7,13 @@ unmountusb() { [ -z "$drives" ] && exit chosen=$(echo "$drives" | dmenu -i -p "Unmount which drive?" | awk '{print $1}') [ -z "$chosen" ] && exit - sudo -A umount "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted." + sudo -A umount "$chosen" && pgrep -x dunst && notify-send -i "$PIX/usb.svg" "$chosen unmounted." } unmountandroid() { \ chosen=$(awk '/simple-mtpfs/ {print $2}' /etc/mtab | dmenu -i -p "Unmount which device?") [ -z "$chosen" ] && exit - fusermount -u "$chosen" && pgrep -x dunst && notify-send "$chosen unmounted." + fusermount -u "$chosen" && pgrep -x dunst && notify-send -i "$PIX/android.svg" "$chosen unmounted." } asktype() { \ |
