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
This commit is contained in:
Jeena 2026-08-24 09:38:23 +09:00
parent 00d0cac9e8
commit b4fa650685
9 changed files with 416 additions and 1 deletions

16
hypr/autostart.lua Normal file
View file

@ -0,0 +1,16 @@
-- 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)