Load the whole config again under Hyprland 0.57

Hyprland 0.57 refuses a bind on a bare modifier and an empty input:scroll_method. The switcher's Super-release commit now binds Super_L and Super_R, which also brings back every bind below it in keybinds.lua. An empty scroll method is left unwritten, so libinput still picks per device.
This commit is contained in:
Gabriel Brown committed 2026-10-29 13:56:53 -04:00
1 parent 48e5ea9a39
commit 0add5af1b9
3 files changed
+26 -19

No files matched your search

+5 -5
View File
@@ -487,11 +487,11 @@ Singleton {
if ((bind.modmask & modifier.bit) !== 0)
parts.push(modifier.name.toUpperCase());
}
// A modifier-only bind has no key at all -- the window switcher commits
// on Super RELEASE. Appending an empty string left a dangling "SUPER + "
// that matched neither the chord hypr/keybinds.lua binds nor the one an
// override would be keyed by, so that bind could never be rebound and
// never found its category.
// Guard against a bind with no key. Hyprland 0.57 refuses to create
// one (the switcher's Super-release commit now names Super_L/Super_R),
// but appending an empty string would leave a dangling "SUPER + " that
// matches neither the chord hypr/keybinds.lua binds nor the one an
// override would be keyed by.
const key = String(bind.key ?? "");
if (key !== "")
parts.push(key);