Solved issue with swapping mod keys#39
Solved issue with swapping mod keys#39manucalop wants to merge 1 commit intoregolith-linux:masterfrom
Conversation
|
Thanks for your contribution @manucalop ! I'm testing your change in Regolith 2.0, as that's just easier for me at the moment. Will report back w/ results. |
|
Great @kgilmer! Could you give me some guidance for me to perform the testing too? I'm experienced with i3 but I'm quite new contributing to open source... Thanks! |
|
Hi @manucalop , sure. I would take your edited version and run Regolith using it and ensure that the configuration works in both "super" and "alt" modes. You can find details on overriding the i3 config file here. You'll need to log out and back in for the new i3 config file to be loaded and you can verify with |
|
Coming back to this after a bit, so I don't this change as-is will work. I believe that i3 will not expand variables on the right hand side of an expression. Rather, it's treated as a literal and so when i3 evaluates the keybinding expression it fails with the literal Works Broken: Two solutions:
We could also file a bug against i3 to allow variable expansion on the rhs but it's hard to say how well that would be received. |
…on constraints. Related to regolith-linux/regolith-i3-gaps-config#39
|
See the above commit. Trying out option 2 for regolith 2 |
Hi! Essentially there were hardcoded Mod1's in the code. That was generating the conflict when swapping mod keys. Hope it helps!
PS: This PR is associated to this bug regolith-linux/regolith-desktop#504 #504