From dc3c38a2d3eba90470eef10c4274ed4798a57715 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Tue, 9 Jul 2024 00:59:44 +0300 Subject: Fix to the lock script for ST windows + routine changes. Changes to be committed: modified: Vencord/settings/settings.json modified: btop/btop.conf modified: htop/htoprc modified: lock modified: tmux/tmux.conf modified: zsh/aliases --- lock | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lock') diff --git a/lock b/lock index 367a916..3318999 100755 --- a/lock +++ b/lock @@ -44,6 +44,7 @@ declare -a LIST_OF_WINDOW_TITLES_THAT_PREVENT_LOCKING=( "Google Meet" "Microsoft Teams" "Discord" + "Dino" "Slack" "Plex" "Kodi" @@ -87,6 +88,11 @@ should_lock() { title=$(get_window_title $id) echo "Active window:$title" + if [[ $title =~ "st" ]]; then + echo "ST windows are not considered as a fullscreen window and will not prevent locking the screen" + return 0 + fi + if is_fullscreen $id; then echo "Fullscreen window detected:$title" return 1 -- cgit v1.2.3