Extract launch_on_start helper

This commit is contained in:
David Heinemeier Hansson
2026-05-14 11:34:26 +02:00
parent 83c2e2f84c
commit b72eb206cb
3 changed files with 21 additions and 19 deletions
+6
View File
@@ -24,6 +24,12 @@ function o.launch(command)
return "uwsm-app -- " .. command
end
function o.launch_on_start(command)
hl.on("hyprland.start", function()
hl.exec_cmd(command)
end)
end
function o.launch_webapp(url)
return "omarchy-launch-webapp " .. shell_quote(url)
end