Repository navigation
How can I disable or rebind the top-bar toggle shortcut? #15736
|
I keep accidentally hiding the Omarchy top bar by pressing SUPER + SHIFT + SPACE. I would like to either disable this shortcut completely or change it to something harder to press accidentally. What is the recommended update-safe way to override this default binding? I assume it should go in ~/.config/hypr/ I would prefer not to modify anything under /usr/share/omarchy/, since package updates would overwrite it. |
Replies: 1 comment
|
Yes, To disable the shortcut completely, add: hl.unbind("SUPER + SHIFT + SPACE")To move it to another key instead, unbind the default first and then add the replacement: hl.unbind("SUPER + SHIFT + SPACE")
o.bind_toggle("SUPER + ALT + B", "Toggle top bar", "bar")
Hyprland normally reloads automatically when the Lua config changes, but it is worth validating it manually: hyprctl reload
hyprctl configerrorsIf |
Yes,
~/.config/hypr/bindings.luais the update-safe place for this. User bindings load after the Omarchy defaults.To disable the shortcut completely, add:
To move it to another key instead, unbind the default first and then add the replacement:
SUPER + SHIFT + SPACEwas previously bound to Toggle top bar, so the explicithl.unbind(...)is needed to override it.Hyprland normally reloads automatically when the Lua config changes, but it is worth validating it manually:
If
configerrorsprints nothing, the override loaded correct…