hypr-dotfiles/hypr/autostart.lua
Jeena f9553329ef fix(hypr): unify special workspace, drop 'magic' name
The Lua conversion had introduced a named 'magic' special workspace on the
SUPER+S keybinding while KeePassXC and the terminal still targeted the default
'special' workspace, splitting them into two separate scratchpads and making
KeePassXC unreachable. Route everything through the single default special
workspace to match the original .conf behavior.
2026-08-27 19:43:36 +09:00

16 lines
588 B
Lua

-- Autostart (converted from autostart.conf)
local P = require("programs")
-- Qt apps don't work with workspace on exec-once
-- Added windowrule for them
hl.on("hyprland.start", function()
hl.exec_cmd("fcitx5")
hl.exec_cmd("~/.config/hypr/scripts/wob-daemon.sh")
hl.exec_cmd("[workspace 1 silent] " .. P.browser)
hl.exec_cmd("[workspace 2 silent] thunderbird")
hl.exec_cmd("[workspace 2 silent] element-desktop")
hl.exec_cmd("[workspace special silent] " .. P.terminal)
hl.exec_cmd("keepassxc")
hl.exec_cmd('chromium --profile-directory="Default"')
end)