Skip to content

Commit 2ac4386

Browse files
committed
Removed logging.
1 parent 4bd432c commit 2ac4386

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

fix-wm-class.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
#!/bin/sh
2-
LOG_FILE="/tmp/wmfix.log"
32
LAST=${@:$#}
43
WM_CLASS="$LAST"
5-
echo "Starting process: $@" > $LOG_FILE
6-
echo "Window Class: $WM_CLASS" >> $LOG_FILE
74
"$@" &
85
PID=$!
96
echo "Process ID: $PID" >> $LOG_FILE
107
while kill -0 $PID 2> /dev/null; do
11-
echo "Process still running: $(date)" >> $LOG_FILE
128
xdotool search --sync --name "$LAST" set_window --classname "$WM_CLASS" --class "$WM_CLASS" %@
139
sleep 1
14-
done
15-
echo "Process ended: $(date)" >> $LOG_FILE
10+
done

0 commit comments

Comments
 (0)