summaryrefslogtreecommitdiff
path: root/ar/.local/bin/ecrypt
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-03-14 00:31:10 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-03-14 00:31:10 +0900
commit007b17d7c865012d9d026ffd58c11864a18f57d5 (patch)
tree4ae2fdca08c811d07fd5e7a7080fdaacceb846cd /ar/.local/bin/ecrypt
parent5e954f3dfb4304341c1a50a1f9310f58dcf39682 (diff)
modified bin/ecrypt, modified bin/mpvplay
Diffstat (limited to 'ar/.local/bin/ecrypt')
-rwxr-xr-xar/.local/bin/ecrypt3
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
}