Follow

neat desktop macro I just added. when a background terminal task has finished running (via jml/undistract-me[1]) it saves the window id to ~/var/cmd_last_window

I can then jump to that window via:

wmctrl -i -a $(cat ~/var/cmd_last_window)

which I bind to `M-u wfl` with cmdtree[2] . mnemonic is "window focus last"

[1] github.com/jml/undistract-me
[2] git.jb55.com/cmdtree

Sign in to participate in the conversation
Bitcoin Mastodon

Bitcoin Maston Instance