I'm facing segfaults with waybar and have come up with a ridiculous solution, is there a better way of doing this?
I'm facing segfaults with waybar and have come up with a ridiculous solution, is there a better way of doing this?
in my config file exists...
exec-once = zsh -c 'sleep 1' && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar && waybar
Why? Because waybar crashes sometimes when I turn my monitor off/on, I documented this here: https://github.com/Alexays/Waybar/issues/3047
...this opens waybar if it crashes... and if that crashes, it opens another waybar, and you'll notice, if that one crashes, it opens another one... now you may have seen the pattern here but in case you didn't, that one will then lead to another waybar...
Is there a less ridiculous way of making waybar open every time when waybar crashes, giving me better fault tolerance?
You're viewing a single thread.
I thought && only proceeded to the next statement if the first did not crash
20 0 ReplyI guess waybar still returns 0 on segfault. Seems weird.
6 0 ReplyNah I just noticed it crashed anyway and didn't assume it was a flaw in my methodology but rather that i ran out of waybars queue'd
7 0 ReplyYeah you would need to use a ; instead of &&
5 0 Reply