hypr-dotfiles/hypr/windowrule.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

34 lines
745 B
Lua

-- 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",
})