diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-07-09 00:59:44 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2024-07-09 00:59:44 +0300 |
commit | dc3c38a2d3eba90470eef10c4274ed4798a57715 (patch) | |
tree | 1e44129a1c15f5f14aca5ee905349fde16f0c93c /lock | |
parent | bee6599cc8d0c66bb4e6ed0670d30edc5066805e (diff) |
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
Diffstat (limited to 'lock')
-rwxr-xr-x | lock | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |