diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-14 00:31:10 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-03-14 00:31:10 +0900 |
| commit | 007b17d7c865012d9d026ffd58c11864a18f57d5 (patch) | |
| tree | 4ae2fdca08c811d07fd5e7a7080fdaacceb846cd /ar/.local/bin/ecrypt | |
| parent | 5e954f3dfb4304341c1a50a1f9310f58dcf39682 (diff) | |
modified bin/ecrypt, modified bin/mpvplay
Diffstat (limited to 'ar/.local/bin/ecrypt')
| -rwxr-xr-x | ar/.local/bin/ecrypt | 3 |
1 files changed, 2 insertions, 1 deletions
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 } |
