Add o.rebind for replacing Hyprland keybindings
This commit is contained in:
6 files changed
+40
-16
No files matched your search
@@ -105,6 +105,11 @@ function o.bind(keys, description, dispatcher, options)
|
||||
hl.bind(keys, dispatcher, opts)
|
||||
end
|
||||
|
||||
function o.rebind(keys, description, dispatcher, options)
|
||||
hl.unbind(keys)
|
||||
o.bind(keys, description, dispatcher, options)
|
||||
end
|
||||
|
||||
function o.launch(command)
|
||||
return "uwsm-app -- " .. command
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user