Open maxigaz opened 10 months ago
If I remove "signal": 2
from the module's configuration, it works.
"custom/example": {
"format": "{}",
"exec": "lua ~/.config/waybar/scripts/test.lua",
"tooltip": false,
- "on-click": "pkill -SIGRTMIN+2 waybar",
- "signal": 2
+ "on-click": "pkill -SIGRTMIN+2 waybar"
},
I have a lua script loaded by a custom module in Waybar, which updates itself periodically through its own structure of while loops. Here is how it is configured in
~/.config/waybar/config
:If the main logic of the script is wrapped in an infinite while loop, its output is not displayed on Waybar. Here is a minimal example of such a script:
If I remove the loop, it works:
I have this behaviour on Waybar 0.9.24 running on Arch Linux. If I downgrade to Waybar 0.9.22, the issue goes away.