
I found the problem. It was actually really simple. urxvt takes a -title argument. termite takes a --title argument. My find function was (title =? "term"). That would fail so that the window was not recognized as a scratchpad. Adding the '-' and putting --title on the -e variants fixed all of my named scratchpads. Eric e.a.gebhart@gmail.com writes:
It doesn't seem to make any difference which call I use. It doesn't work either way. It works both ways with urxvt.
All the other calls are actually using named scratchpad, and those calls are the same as all the examples I've been able to find.
Here's one example. https://pbrisbin.com/posts/scratchpad_everything/
Eric
Brandon Allbery
writes: On Wed, Oct 11, 2017 at 1:23 AM,
wrote: It's part of XMonad.Util.Scratchpad
Now I have to wonder if my browser is broken; I even did a search on the page to make sure....
In any case, the description confirms my suspicion: you do not want to use that here. The purpose of that action is to allow you to more easily run as a scratchpad something that requires a terminal --- not to use the terminal itself as a scratchpad. Use the normal scratchpadSpawnAction for that. In fact, you might want to use scratchpadSpawnActionTerminal for the other actions instead of this one.