-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any alternative to exec_always from sway? #1201
Comments
What does |
FWIW, the kanshi problem will also be solved, but in a different way. I'm envisioning an option which tells Wayfire: 'as soon as an external entity has configured the outputs, do not ever read their configuration from the config file'. This is not implemented yet, however. |
@ammen99 the command executes a command on config reload while the normal |
@ErikReider Can you elaborate on what you mean by config reload? This may have different meanings depending on the compositor. |
@soreau I'm not sure about what sway exactly does but you're able to reload the conf file while waybar does this automatically on save |
This is the general bug where Wayfire resets the output config set by an external application (kanshi, wdisplays, etc.) when the config file is changed and Wayfire re-parses the config file. |
@ammen99 what's weird is that I've removed all of the output lines in the config. It's probably using a default value. Weird that both sway and wayfire have this issue |
Can you say what stops working when the problem happens? What happens with kanshi that makes you think there is a problem? |
Ah, this bug^^ |
For this to work we should get rid of output config in wayfire.ini altogether and use default output configuration when wayfire starts without configuration, and kanshi instead when it's available. |
Getting rid of wayfire.ini configurarion is nowhere near good enough. Kanshi does not support mirrored outputs, custom modelines and potentially more things we'll add in the future. #1201 (comment) provides a much better fix, because it still allows for these use-cases where kanshi is not enough. |
Sounds like opportunities for improvement in wlr-output-management-unstable protocol. |
gde-gnome-bridge depends on setting display options through wf-config currently too! Would rather not have to rewrite all that code just yet :) But I agree wlr-output-management should be extended. Also, I'm pretty sure it already supports mirroring: just set both outputs to the same x,y position |
@ErikReider try the option described in #1202 |
Not really. swaywm/wlr-protocols#101 We could special-case this by saying "equal x/y == mirrored", but this is not described in the protocol, and also a bit counter-intuitive IMO. |
Putting low-priority as the kanshi problem was fixed in a different way, and we don't really have a use-case for |
I added Kanshi to autostart
kanshi = kanshi
and it works fine until I change a setting in the Wayfire config. I also experienced this issue in sway emersion/kanshi#43. To fix this, I ran this script in exec_always:This isn't possible here because of the lack of
exec_always
. Is there any other alternative to exec_always or any other way?Wayfire version
0.8.0-e510e70f (May 26 2021, branch 'master')
The text was updated successfully, but these errors were encountered: