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

50_resize-mode configs break due to Unknown key $wmbinding.left #23

Open
IanEdington opened this issue Apr 18, 2024 · 0 comments
Open

Comments

@IanEdington
Copy link

the 50_resize-mode config uses $wm.binding.left, right, up, down but doesn't define them. Instead it relies on other configs to have already defined them.

I ran into the issue where using sway, I uninstalled 30_navigation in order to write my own and my configs broke because no where before 50_resize-mode had defined them.

I did double define them in my personal configs so I believe it would be possible to simply redefine them in 50_resize-mode but I wanted to confirm this is the best way before submitting a PR. It seems like this common definition could also be pulled up to a common place, higher in the config order.

bindsym $wm.binding.left resize shrink width $wm.resize.small px or $wm.resize.small ppt
bindsym $wm.binding.up resize grow height $wm.resize.small px or $wm.resize.small ppt
bindsym $wm.binding.down resize shrink height $wm.resize.small px or $wm.resize.small ppt
bindsym $wm.binding.right resize grow width $wm.resize.small px or $wm.resize.small ppt

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