From 0a64655a1e9042755f620f47fecc64ec8ff73640 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Fri, 2 Oct 2026 09:57:33 -0400 Subject: [PATCH] migrate autostart to new Lua format --- dot_config/hypr/autostart.conf | 8 -------- dot_config/hypr/autostart.lua | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 dot_config/hypr/autostart.conf create mode 100644 dot_config/hypr/autostart.lua 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") +