hypr-dotfiles/hypr/autostart.lua
Jeena b4fa650685 feat: convert hypr config to Lua and add Chester host
- Add Lua equivalents for hyprland, autostart, keybindings, programs, windowrule
- Add per-host Lua configs (Chester, Rutherford, example) with hostname detection
- Rename old host 'William' to 'Chester'; fix 2x scaling on the 2880x1800 panel
- Update .gitignore to track *.lua host files instead of example-host.conf
2026-08-24 10:11:22 +09:00

16 lines
594 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:magic silent] " .. P.terminal)
hl.exec_cmd("keepassxc")
hl.exec_cmd('chromium --profile-directory="Default"')
end)