-
-
Notifications
You must be signed in to change notification settings - Fork 156
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Dynamically update config via cli #355
Comments
Currently, It's not possible, but I agree that a use case like yours is not well covered. One big thing that holds us back is the feature interaction with Shall the Nevertheless, you have a workaround to patch the config with |
Hey @nikitabobko First of all thanks for this awesome creation, been stuck with yabai for some time and def have gone through too many burdens to get an acceptable exp, and aerospace already feels better after only 2 days - huge thx for that Regrading config setting, I see what you mean, I would think of the That's how it works for most other tools that come into my mind, sketchybar to name one And yep, have automated it with a bash function that does mutate the config file and performs a reload for now |
But then users won't be able to casually call Users would need not forget to call Alternative. allow to change only environment variables via separate [gaps]
outer.bottom = 'test $BIG_BOTTOM_GAP == 1 && echo 100 || echo 0' the gap is toggleable with: |
I personally do think it's perfectly fine and expected to lose patches after performing a config reload. But I do like the idea of utilizing commands and env vars here since this would allow us not only author static configurations but dynamic ones and provides a lot of flexibility. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Was wondering if it's possible to patch a given config option via the cli
Was looking for something like
aerospace config --set
, but it appears there are only getters?My use-case is that I would like to change the gaps dynamically (when i take my laptop + split keyboard with me and place the tilted split keyboard on the laptop keyboard it does cover some part of the bottom screen, which i would like to account for in the layout gaps)
The text was updated successfully, but these errors were encountered: