refactor: removed debug prints from autofreezer

This commit is contained in:
2025-07-12 02:57:23 +03:00
parent a7fb2adee8
commit 119ab8fa2b

View File

@@ -29,10 +29,7 @@ function handle {
found && /pid:/ {print $2; found=0; exit}
')
echo tags are $tags and pid is $pid
# Process if window has zawarudo tag
echo "qualify 4 freeze: $tags and $pid"
if [[ -n "$tags" && -n "$pid" ]]; then
if [[ "$tags" == *"zawarudo"* ]]; then
echo freeze $current_pid
@@ -56,7 +53,6 @@ function handle {
')
# Process if window has zawarudo tag
echo "qualify 2 unfreeze: $current_tags and $current_pid"
if [[ -n "$current_tags" && -n "$current_pid" ]]; then
if [[ "$current_tags" == *"zawarudo"* ]]; then
echo unfreeze $current_pid