Closed dhamidi closed 7 years ago
I can't reproduce. Both mode line formats work. Even tested the case where the program exits with a failure code.
Thanks for double-checking! Must be an issue with my setup then — I'll try again with a fresh install of StumpWM, maybe this time from a release, not from a version I compiled myself.
Given the following in ~/.stumpwmrc:
Everything works as expected:
[%w]
is respected and the shell command is run.However, the following does not work:
Only the result of
run-shell-command
is visible in the modeline.I'm running stumpwm at commit 37a0ae9 (tagged
v1.0.0
).Reading the documentation for `screen-mode-line-format gives the impression that the latter is supposed to render the output of the given shell command followed by whatever %w expands to.