Add o.rebind for replacing Hyprland keybindings

This commit is contained in:
Ryan Hughes committed 2026-09-06 16:01:50 -04:00
1 parent a9eaf7978e
commit 1d466c4003
6 files changed
+40 -16

No files matched your search

+5 -6
View File
@@ -1,5 +1,5 @@
-- Keep only your personal keybinding overrides here. Add new bindings or
-- unbind defaults before replacing them.
-- Keep only your personal keybinding overrides here. Add new bindings with
-- o.bind or replace defaults with o.rebind.
-- See current bindings and descriptions:
-- omarchy menu keybindings --print
@@ -15,10 +15,9 @@
-- Add a new binding.
-- o.bind("SUPER + SHIFT + R", "SSH", "alacritty -e ssh your-server")
-- Change an existing binding by unbinding it first, then binding the key again.
-- This example changes SUPER+SPACE from the launcher to the Omarchy root menu.
-- hl.unbind("SUPER + SPACE")
-- o.bind("SUPER + SPACE", "Omarchy menu", "omarchy-menu toggle root")
-- Change an existing binding. o.rebind takes the same arguments as o.bind.
-- This example replaces the default file manager with Flea.
-- o.rebind("SUPER + SHIFT + F", "File manager", { launch = "flea" })
-- Disable a default binding without replacing it.
-- hl.unbind("SUPER + SHIFT + B")