Gaming shit

This commit is contained in:
2026-10-14 16:42:01 -07:00
parent 639444e28d
commit 456b979608
3 changed files with 21 additions and 8 deletions
+13 -4
View File
@@ -37,6 +37,10 @@ map_monitors()
hl.on('monitor.added', map_monitors)
hl.on('monitor.removed', map_monitors)
hl.monitor({
output = 'HDMI-A-1',
})
-- Special workspace
hl.workspace_rule({ workspace = "s[true]", gaps_out = 64, gaps_in = 12})
@@ -102,10 +106,15 @@ hl.window_rule({
})
hl.window_rule({
match = {
title = '.*\'s Stream'
title = 'Discord Popout',
},
pin = true,
float = true
float = true,
pin = true
})
hl.window_rule({
match = { title = '.*\'s Stream', float = true },
opacity = 0.9,
no_blur = true,
})
hl.layer_rule({
match = { namespace = "quickshell" },
@@ -125,7 +134,7 @@ hl.on("window.active", function(window, active)
end
if window.class:find("zen") == 1 then
hl.dispatch(hl.dsp.submap("zen"))
elseif window.class:find("Minecraft") == 1 then
elseif window.class:find("Minecraft") == 1 or window.class:find("com.mojang.minecraft") == 1 then
hl.dispatch(hl.dsp.submap("mcsr"))
else
hl.dispatch(hl.dsp.submap("reset"))