-
Hi, I just have one thing I couldn't figure out yet: I am using
Or with polybar it launches the command from within <script-var name="leftwm-state" interval="55ms">leftwm-state -w 0 -t ~/.config/leftwm/themes/current/template.liquid</script-var> But the variable empty. Exemplary the ouput of leftwm-stat looks like this:
Bonus will be to parse this, so the workspaces will get assigned to buttons, but at first I would be happy to get leftwm-state at least read.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
I'm assuming that that command continuously prints output, whenever the state changes, right? In that case, you don't want to set an interval, as that reruns the command every 55ms. The likelyhood of anything happening within those 55ms is rather low, thus probably you're just never getting any output for long enough to register. Try just removing |
Beta Was this translation helpful? Give feedback.
-
This compiles the key insights of the thread in the other suggestion in order to have a solution in a glance:
|
Beta Was this translation helpful? Give feedback.
This compiles the key insights of the thread in the other suggestion in order to have a solution in a glance:
<literal>
tagcontent
parameter like this<literal content={{variable-Name}}/>
<box>