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
Defaults Collision with Custom Config #1419
Comments
In fact, all defaults are recreated on each relaunch if using custom configuration file
Expected behavior Versions:
final notes: this issue is not reproduced if there is no custom configuration file. shortcuts remains as unset after relaunch, despite has its default maybe related with #1329 |
Adding my 2 cents, I was struggling because I was trying to configure the select-3column-middle-layout:
mod: mod1
key: s But here, the issue is different. The root cause for this is that the layout is named '3Column Middle', but it has configured Based on this, configuring the following snippet worked well: # The default select-wide-layout keybinding is mod1+s, so I need to reassign
# it to another one, so I can later use the original.
select-wide-layout:
mod: mod2
key: x
# Assign the desired keybinding to the middle-layout.
# Make sure you have middle-wide in your layout list.
select-middle-wide-layout:
mod: mod1
key: s I'm happy to add more details about this in the README if needed because there's info saying that "3Column Middle" was previously named "Middle Wide", but didn't find something saying that we should configure it that way in our configuration file. |
Thanks @roeeyn your solution helped me find a work around for my original issue. By giving select-wide-layout:
mod: mod1
key: "0"
select-two-pane-layout:
mod: mod1
key: "s"
|
I am probably experiencing a similar bug but mine isn't the same of the defaults, specifically, this is my file, To ensure the problem isn't stateful, Namely, I mapped Even more strangely, at one point this (config file) actually works for Edit: probably unrelated to this issue. See #1419 (comment) for fixes in this particular case. |
FYI, you can unset default values like: focus-screen-1:
mod: ""
key: "" @Indyandie using the above can you try: select-wide-layout:
mod: ""
key: ""
select-two-pane-layout:
mod: mod1
key: s |
Perhaps that was replying to me? Thanks. That works. Perhaps it is unrelated to this issue. Sorry for the noise. |
it worked for me. Thanks for the hint @cowboy-bebug! |
If a command (
mod
+key
) is set in default.amethyst and the same command is reused in a custom configuration file neither will work.To Reproduce
~/.config/amethyst/amethyst.yml
mod1
+s
Expected behavior
The custom configuration command should override the default without issues.
Versions:
Additional context
Initial discussion #1384
The text was updated successfully, but these errors were encountered: