Closed crispy-strawberry closed 1 week ago
Also add it to the example config file & documentation page?
Thanks for the PR @crispy-strawberry !! I think there's just one thing, not only Shell
should be under platform but also Window
(https://raphamorim.io/rio/docs/config/window) and Navigation
(https://raphamorim.io/rio/docs/config/navigation).
So probably the function you did get_shell
might not be the best approach.
I would actually add a function on config called overwrite_based_on_platform
here: https://github.com/raphamorim/rio/blob/main/frontends/rioterm/src/main.rs#L149-L181
This function would check if shell, window and navigation aren't none, if they are not then override each one.
What do you think?
Added your changes and implemented the suggestion on cfbb148e 🙏
@raphamorim Sorry I'm a little busy with life atm and couldn't update it 😢
No worrieeeeees at all!!! @crispy-strawberry <3
I love the fact you started it, thank you for the contribution!
Closes #755