From 1d2a657c300fdddfe47dda9eea4b896cbf44872b Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 26 Mar 2025 00:36:52 +0900 Subject: modified zsh/scripts.zsh, modified bin/ecrypt, modified statusbar/sb-ecrypt, created statusbar/sb-ticker --- ar/.local/bin/statusbar/sb-ecrypt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'ar/.local/bin/statusbar/sb-ecrypt') diff --git a/ar/.local/bin/statusbar/sb-ecrypt b/ar/.local/bin/statusbar/sb-ecrypt index 24c4cb3..f07b994 100755 --- a/ar/.local/bin/statusbar/sb-ecrypt +++ b/ar/.local/bin/statusbar/sb-ecrypt @@ -1,7 +1,5 @@ #!/bin/sh -is_mounted() { mount | grep -q "$HOME/Private"; } - case $BLOCK_BUTTON in 1) "${XDG_SCRIPTS_HOME:-${HOME}/.local/bin}/ecrypt" ;; 3) notify-send "🔒 Encrypted Media Folder " "\- Shows mount status of Media @@ -9,4 +7,4 @@ case $BLOCK_BUTTON in 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; esac -is_mounted "$MOUNT_POINT" && echo "🔑" || echo "🔒" +mount | grep -q "$HOME/Private" && echo "🔑" || echo "🔒" -- cgit v1.2.3