Use the helpers where applicable

This commit is contained in:
David Heinemeier Hansson
2026-05-19 22:18:13 +02:00
parent 42f03655df
commit 97d4e908af
7 changed files with 89 additions and 100 deletions
-4
View File
@@ -76,10 +76,6 @@ function o.launch_sole(match, command)
return "omarchy-launch-or-focus " .. shell_quote(match) .. " " .. shell_quote(o.launch(command))
end
function o.bind_menu(keys, description, menu, options)
o.bind(keys, description, menu and ("omarchy-menu " .. menu) or "omarchy-menu", options)
end
function o.bind_toggle(keys, description, toggle, options)
o.bind(keys, description, "omarchy-toggle-" .. toggle, options)
end