6 ms·
https://end.re/9793ad90063fb74423e4b2ff4d5b198ab576110c9bfefb0e85f48863278732cd.txt https://end.re/9793ad90063fb74423e4b2ff4d5b198ab576110c9bfef... and then tr
by endre 3y ago
https://end.re/9793ad90063fb74423e4b2ff4d5b198ab576110c9bfefb0e85f48863278732cd.txt https://end.re/9793ad90063fb74423e4b2ff4d5b198ab576110c9bfef...
and then trigger it with eg.:
```
bindsym $mod+x exec --no-startup-id "xargs -n1 kill -USR2 < /tmp/focus_last.pid"
```
- vladvasiliu 3y agoWell, I've covered myself with a few lines of Rust that do exactly that. By the way, there are a few subtleties which your script doesn't handle which bit me ;) Off the top of my head, some full-screen windows (mpv IIRC) behave a bit differently and would be missed.