From aa83e1e05381dde8400d3748f5b6dd0dca5f09a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 23 Jun 2021 08:58:50 +0300 Subject: menublk: Fix unmount notification --- dotfiles/.local/bin/menublk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.local/bin/menublk b/dotfiles/.local/bin/menublk index 3b16f40..7af7a7f 100755 --- a/dotfiles/.local/bin/menublk +++ b/dotfiles/.local/bin/menublk @@ -90,7 +90,7 @@ unmount_dev() { fi else if udisksctl unmount -b "/dev/$1" 2> $HOME/.cache/udiskerr; then - notify_and_end "Device $0 has been unmounted" 0 + notify_and_end "Device $1 has been unmounted" 0 else notify_and_end "Error unmounting: $(cat $HOME/.cache/udiskerr)" 1 fi -- cgit v1.2.3