From bbf641e8f98e46f6787d0f2272cb3b93250b8b4c Mon Sep 17 00:00:00 2001 From: Stefen Ramirez Date: Mon, 21 Jan 2019 14:15:57 -0600 Subject: [PATCH] Show label or device if mounted by fstab --- .scripts/i3cmds/dmenumount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/i3cmds/dmenumount b/.scripts/i3cmds/dmenumount index 6fd466e1..28a6e49c 100755 --- a/.scripts/i3cmds/dmenumount +++ b/.scripts/i3cmds/dmenumount @@ -23,7 +23,7 @@ mountusb() { \ eval declare -A devices=($hmap) chosen=${devices["$device"]} - sudo -A mount "$chosen" && notify-send -i "$PIX/usb.svg" "$chosen mounted." && exit 0 + sudo -A mount "$chosen" && notify-send -i "$PIX/usb.svg" "$device mounted." && exit 0 getmount "/mnt /media /mount /home -maxdepth 5 -type d" partitiontype="$(lsblk -no "fstype" "$chosen")" case "$partitiontype" in