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
+4 -4
View File
@@ -52,27 +52,27 @@ hl.animation({
hl.animation({
leaf = "layersIn",
enabled = true,
speed = 5,
speed = 2,
bezier = "linear",
style = "fade"
})
hl.animation({
leaf = "layersOut",
enabled = true,
speed = 5,
speed = 2,
bezier = "linear",
style = "fade"
})
hl.animation({
leaf = "fadeLayersIn",
enabled = true,
speed = 5,
speed = 2,
bezier = "linear"
})
hl.animation({
leaf = "fadeLayersOut",
enabled = true,
speed = 5,
speed = 2,
bezier = "linear"
})
hl.animation({
+4
View File
@@ -201,6 +201,10 @@ bind("SUPER + SUPER_R", hl.dsp.workspace.toggle_special(), {device = {inclusive
bind('ALT + SLASH', hl.dsp.send_shortcut({mods = 'ALT', key = 'LEFT'}))
bind('ALT + EQUAL', hl.dsp.send_shortcut({mods = 'ALT', key = 'RIGHT'}))
-- Discord mute/deafen
bind('KP_UP', hl.dsp.send_shortcut({mods = 'CTRL SHIFT', key = 'M', window = 'class:vesktop'}))
bind('KP_PRIOR', hl.dsp.send_shortcut({mods = 'CTRL SHIFT', key = 'D', window = 'class:vesktop'}))
-- Switch keyboard layouts
bind('SUPER + RETURN', function()
if hl.get_config('input.kb_variant') == 'dvorak' then
+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"))