From 007b17d7c865012d9d026ffd58c11864a18f57d5 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Sat, 14 Mar 2026 00:31:10 +0900 Subject: modified bin/ecrypt, modified bin/mpvplay --- ar/.local/bin/ecrypt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ar/.local/bin/ecrypt') diff --git a/ar/.local/bin/ecrypt b/ar/.local/bin/ecrypt index d16d746..0e189af 100755 --- a/ar/.local/bin/ecrypt +++ b/ar/.local/bin/ecrypt @@ -9,6 +9,7 @@ attempt_mount() { if mount | grep -q " $2 "; then if sudo umount "$2"; then notify-send "🔒 Locked: $3" + pkill -RTMIN+1 dwmblocks else notify-send "❗ Unable to lock" "Mounted: $3" fi @@ -20,7 +21,7 @@ attempt_mount() { notify-send "❌ Failed to retrieve passphrase." exit 1 } - mount_encrypted "$1" "$2" && notify-send "🔑 Unlocked: $3" + mount_encrypted "$1" "$2" && notify-send "🔑 Unlocked: $3" && pkill -RTMIN+1 dwmblocks fi } -- cgit v1.2.3