regolith-linux/regolith-wm-config

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

Opened this issue · 0 comments

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