diff --git a/etc/xlshrc b/etc/xlshrc index ca9fbba..e1df4f4 100644 --- a/etc/xlshrc +++ b/etc/xlshrc @@ -19,7 +19,7 @@ fi xrdb -merge "$XRESFILE" xsetroot -solid "$BGCOLOR" if which xdotool; then - ( xwindow=$(xdotool search --sync --class $TERMINAL) - xdotool windowfocus "$xwindow" )& + ( xwindow=$(sleep 1 && xdotool search --class $TERMINAL) + xdotool windowfocus --sync "$xwindow" )& fi exec $TERMINAL -g 80x15+$px+$py -e $(which xlsh)