So I made a tool in Tk that lets you pick two colors from your wallpaper and then sets your active and inactive colors to them. It works when I invoke it from the command line, and after I hit Apply it says something like “Function PlainDecor #b4cabe#49505b”, which works when typed on the FvwmConsole and I’ve been using it forever. But I’m missing a piece. I thought PipeRead would wait for the script to emit its string and exit, but although it spawns wish, the UI isn’t drawn. Instead I get a round pointer in FVWM, and I have to shell in from another machine and kill wish. What am I missing?
Welcome on board.
Fvwm commands have their own order in how things are processed or executed. Try using the Read command instead of PipeRead. Doesn’t work, make a function where you list each command. Here, read about Function Synchronisation.