Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions default/hypr/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,14 @@ function o.preinstalled_bindings_enabled()
return not file_exists((os.getenv("HOME") or "") .. "/.local/state/omarchy/preinstalls-removed")
end

local bound_keys = {}

function o.bind(keys, description, dispatcher, options)
if bound_keys[keys] then
hl.unbind(keys)
end
Comment thread
felixzsh marked this conversation as resolved.
bound_keys[keys] = true
Comment thread
felixzsh marked this conversation as resolved.
Outdated

local opts = options or {}

if description then
Expand Down