diff --git a/dot_config/hypr/autostart.conf b/dot_config/hypr/autostart.conf deleted file mode 100644 index c0f3045..0000000 --- a/dot_config/hypr/autostart.conf +++ /dev/null @@ -1,8 +0,0 @@ -# Extra autostart processes - -# assign workspaces to preferred monitors -exec = ~/.local/bin/assign-workspace-monitors - -# autostart various apps in their own special workspaces -exec-once = [workspace special:slack silent] slack -exec-once = [workspace special:1password silent] 1password diff --git a/dot_config/hypr/autostart.lua b/dot_config/hypr/autostart.lua new file mode 100644 index 0000000..830970d --- /dev/null +++ b/dot_config/hypr/autostart.lua @@ -0,0 +1,8 @@ +-- Extra autostart processes. +-- o.launch_on_start("my-service") + +hl.on("hyprland.start", function() + hl.exec_cmd(o.launch_webapp("https://app.slack.com/client"), { workspace = "special:slack silent" }) +end) +o.launch_on_start("1password") +