summaryrefslogtreecommitdiff
path: root/lock
diff options
context:
space:
mode:
Diffstat (limited to 'lock')
-rwxr-xr-xlock6
1 files changed, 6 insertions, 0 deletions
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