Skip to content
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

Add support for free-text sections #31

Open
ammen99 opened this issue Aug 27, 2020 · 0 comments
Open

Add support for free-text sections #31

ammen99 opened this issue Aug 27, 2020 · 0 comments

Comments

@ammen99
Copy link
Member

ammen99 commented Aug 27, 2020

On IRC there was the suggestion to use alternative config format for Wayfire, more similar to Sway.

No matter what we think is better, even now we could use free-text sections, i.e sections which don't have the option = value format. This could be useful for ex. in autostart, potentially command (I don't really like how the pairs look like when editing the config file), etc.

Once activators are programatically callable (WayfireWM/wayfire#655) it would even be possible to write a plugin which receives a section of the config which looks like Sway's config. For example:

[my-super-cool-config-plugin]
bind "<super>KEY_T" plugin1/do_stuff; plugin/2_do_stuff
bind-signal "plugin1_signal" plugin2/do_stuff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant