-- See https://wiki.hypr.land/Configuring/Basics/Autostart/ -- Autostart necessary processes (like notifications daemons, status bars, etc.) -- Or execute your favorite apps at launch like this: -- -- Most applications are started by systemd. Others are wrapped by uwsm app -- (by create_launcher() function) function delay(f, millis) hl.timer(f, { timeout = millis, type = "oneshot" }) end hl.on("hyprland.start", function() hl.exec_cmd(create_launcher("thunderbird"), { workspace = 10 }) delay(function() hl.exec_cmd(create_launcher("signal-desktop"), { workspace = 10 }) end, 4000) delay(function() hl.exec_cmd(create_launcher("Telegram"), { workspace = 10 }) end, 5000) {{ if eq .work_env true -}} -- Outlook hl.exec_cmd(create_launcher("/home/frank/.local/share/applications/librewolf.webapp-e7db0a1c-02e9-42cc-a5da-8fdc222e89dc.desktop"), { workspace = "9" }) -- Teams delay(function() hl.exec_cmd(create_launcher("/home/frank/.local/share/applications/librewolf.webapp-daf88433-cdaa-4a10-9bfb-af0a20fb7b71.desktop"), { workspace = "9" }) end, 3000) {{ end -}} end)