Use the helpers where applicable

This commit is contained in:
David Heinemeier Hansson committed 2026-05-19 22:18:13 +02:00
1 parent 42f03655df
commit 97d4e908af
7 files changed
+89 -100

No files matched your search

-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