refactor: removed debug prints from autofreezer
This commit is contained in:
@@ -29,10 +29,7 @@ function handle {
|
|||||||
found && /pid:/ {print $2; found=0; exit}
|
found && /pid:/ {print $2; found=0; exit}
|
||||||
')
|
')
|
||||||
|
|
||||||
echo tags are $tags and pid is $pid
|
|
||||||
|
|
||||||
# Process if window has zawarudo tag
|
# Process if window has zawarudo tag
|
||||||
echo "qualify 4 freeze: $tags and $pid"
|
|
||||||
if [[ -n "$tags" && -n "$pid" ]]; then
|
if [[ -n "$tags" && -n "$pid" ]]; then
|
||||||
if [[ "$tags" == *"zawarudo"* ]]; then
|
if [[ "$tags" == *"zawarudo"* ]]; then
|
||||||
echo freeze $current_pid
|
echo freeze $current_pid
|
||||||
@@ -56,7 +53,6 @@ function handle {
|
|||||||
')
|
')
|
||||||
|
|
||||||
# Process if window has zawarudo tag
|
# Process if window has zawarudo tag
|
||||||
echo "qualify 2 unfreeze: $current_tags and $current_pid"
|
|
||||||
if [[ -n "$current_tags" && -n "$current_pid" ]]; then
|
if [[ -n "$current_tags" && -n "$current_pid" ]]; then
|
||||||
if [[ "$current_tags" == *"zawarudo"* ]]; then
|
if [[ "$current_tags" == *"zawarudo"* ]]; then
|
||||||
echo unfreeze $current_pid
|
echo unfreeze $current_pid
|
||||||
|
|||||||
Reference in New Issue
Block a user