Widget for waybar
timsofteng opened this issue · comments
Hello. I have idea about wf-recorder widget in waybar.
Is it possible to implement stopwatch with rec icon for waybar when wf-recorder start to work? And disable it when it finish.
That would be something to implement in waybar , not wf-recorder, open an issue there. Should be easily doable, on click waybar starts wf-recorder, on stop it sends SIGINT to wf-recorder.
I have this. Plus some CSS to make it look nice.
"custom/recording": { "format": "[{}]", "exec": "pidof wf-recorder > /dev/null && echo 'REC'", "interval": 10, },
I have this. Plus some CSS to make it look nice.
"custom/recording": { "format": "[{}]", "exec": "pidof wf-recorder > /dev/null && echo 'REC'", "interval": 10, },
Thanks. It works but I don't really like the idea to update it every some amount of time.
Is it only one way to do it to trigger pidof every time?