diff options
Diffstat (limited to 'ar/.local/bin/statusbar/sb-ecrypt')
| -rwxr-xr-x | ar/.local/bin/statusbar/sb-ecrypt | 4 |
1 files changed, 1 insertions, 3 deletions
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 "🔒" |
