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

34
hypr/windowrule.lua Normal file
View file

@ -0,0 +1,34 @@
-- Window rules (converted from windowrule.conf)
local P = require("programs")
-- LibreWolf Picture-in-Picture
hl.window_rule({
name = "librewolf-pip",
match = {
class = "(" .. P.browser .. ")",
title = "(Picture-in-Picture)",
},
float = true,
pin = true,
opacity = "1.0 override 1.0 override",
})
-- Cheatsheet
hl.window_rule({
name = "cheatsheet-window",
match = { class = "net.jeena.Cheatsheet" },
float = true,
center = true,
})
hl.window_rule({
name = "chromium-ws3",
match = { class = "chromium" },
workspace = "3 silent",
})
hl.window_rule({
name = "keepassxc-special",
match = { class = "org.keepassxc.KeePassXC" },
workspace = "special silent",
})