1
vote
0answers
181 views

run a script on window switch (on alt-tabbing into/outof a particular app) [closed]

I'd like to run a script whenever I switch into or out of a window. Specifically, I have a "toggle touchpad on/off" script, which i want to run whenever I switch into or out of gvim. so, is there ...