/flw

focus last window

Primary LanguageLuaMIT LicenseMIT

flw

focus last window

windowchef has been updated and now changes focus to the last closed window. I'm not entirely sure what happens when you mix flw and wchf's version, and I'm not entirely willing to try it out.

This script came from the fact that windowchef doesn't focus the last window when the current window is closed. Hacked together with microlight, wtf, and wew.

flw requires wtf and wew to be installed and in $PATH to work. Also assumes that os.execute works on your system.

Execute flw with the following:

wew -m 2097152 | /path/to/flw &

You should put this line in your .xsession/.xinitrc to start flw when your WM starts. Optionally add -l to add logging of flw for debugging.

flw no longer requires microlight to be installed