inclement / vivarium

A dynamic tiling Wayland compositor using wlroots
GNU General Public License v3.0
374 stars 13 forks source link

request #132

Open ghost opened 1 year ago

ghost commented 1 year ago

Please add command option in config file for background programs just like bar(panel) So other programs like wbg and other live wallpaper programs can be used thanks ,

inclement commented 1 year ago

Hi @deepaknegilachu, do you know if any other compositors support a command option like this? I'm not sure what would be the best design choice so examples would be good to compare.

Clearly vivarium should have some way of running arbitrary scripts once it's initialised, I hadn't though about that before as I don't have any to run. I'll consider it, but I can't promise to add the feature myself any time soon. A pull request would be welcome though, although if anyone is considering it I'd recommend posting the general idea here first before committing to it to check the design.

ghost commented 1 year ago

Hi. No, all the compositor i tried doesn't provide any wallpaper specific command instead they have their own autostart function example:- river has:- riverctl spawn "wbg ~/.local/share/bg.png" riverctl spawn "wlsunset -l 30 -L 67 -t 2400" riverctl spawn "foot --server" sway:- exec wbg ~/.local/share/bg.png hyprland:- exec mpvpaper '*' /path/to/video

which gives freedom to use any program, but in vivarium swaybg is hardcoded .