aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-06-23 08:58:50 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-06-23 08:58:50 +0300
commitaa83e1e05381dde8400d3748f5b6dd0dca5f09a8 (patch)
treec6bab8a906f3d1baeb6200048e8aee9fbc4524d6 /dotfiles/.local/bin
parent13347d79fd48d2f30b819ce1631bbd35658f3331 (diff)
downloadswayrice-aa83e1e05381dde8400d3748f5b6dd0dca5f09a8.tar.gz
swayrice-aa83e1e05381dde8400d3748f5b6dd0dca5f09a8.zip
menublk: Fix unmount notification
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-xdotfiles/.local/bin/menublk2
1 files changed, 1 insertions, 1 deletions
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