widgets: execute shell commands from more keywords#649
widgets: execute shell commands from more keywords#649Acumane wants to merge 1 commit intohyprwm:mainfrom
Conversation
|
Maybe all concerned types should take strings (internally) so that we needn't duplicate the work of I haven't taken a peek at the recent changes to the animation system, but it'd also be neat if these state changes could have transitions. |
|
I personally really don't like this. While I understand the desire to have certain options be dynamic, I think launching shell commands is not a good way to achieve that. In hyprland you have I also don't like that we would potentially have to wait for n shell commands before actually drawing the widget at the correct position/size etc. The label text is special, because it is just text, takes rather long to render anyways and does not result in a huge amount of underlying complexity. |
While I agree on an ipc being a bit overkill, I would like to remind you that this is exactly how dynamic changes are handled in hyprpaper, via Having something like This hyprctl implementation could also handle something like lock/unlock I guess, acting as a wrapper for, respectively, |
Draft PR for extending shell command execution to other keywords (
position,color,dots_text_format, etc.)This scuffed but functional first commit only works for a label's position.