gemini generated lua config

This commit is contained in:
venus
2026-05-22 05:51:26 -05:00
parent 492f4723bf
commit 9231418ac1
12 changed files with 546 additions and 0 deletions

72
modules/windows.lua Normal file
View File

@@ -0,0 +1,72 @@
hl.window_rule({
match = { class = "scrcpy" },
border_size = 5,
float = true,
dim_around = true,
move = { 5, 40 }
})
hl.window_rule({
name = "compiler-window",
match = { tag = "compiler" },
["col.active_border"] = "rgba(ccaaffee)",
border_size = 2,
float = false
})
hl.window_rule({
match = { class = "steam" },
workspace = "special:gaming"
})
hl.window_rule({
match = { class = ".*" },
suppress_event = "maximize"
})
hl.window_rule({
match = {
class = "^$",
title = "^$",
xwayland = true,
float = true,
fullscreen = false,
pin = false
},
no_focus = true
})
hl.config({
xwayland = {
force_zero_scaling = true
}
})
hl.window_rule({
match = { class = "hyprland-run" },
move = "20 monitor_h-120", -- Lua string interpolation could be used if monitor_h was known
float = true
})
hl.window_rule({
match = { class = "calc-term" },
pseudo = true,
float = true,
center = true,
opacity = 1,
size = "monitor_w*.4 monitor_h*.4"
})
hl.window_rule({
match = { class = "btop" },
float = true,
size = "monitor_w*.9 monitor_h*.8",
dim_around = true
})
hl.window_rule({
match = { class = "popup-term" },
float = true,
size = "monitor_w*.9 monitor_h*.8",
dim_around = true
})