From 456b97960893697206209dcfa50ac5fc43851b10 Mon Sep 17 00:00:00 2001 From: chlorospingus Date: Wed, 14 Oct 2026 16:42:01 -0700 Subject: [PATCH] Gaming shit --- hypr/hyprland/animations.lua | 8 ++++---- hypr/hyprland/binds.lua | 4 ++++ hypr/hyprland/rules.lua | 17 +++++++++++++---- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/hypr/hyprland/animations.lua b/hypr/hyprland/animations.lua index d3e5813..c517480 100644 --- a/hypr/hyprland/animations.lua +++ b/hypr/hyprland/animations.lua @@ -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({ diff --git a/hypr/hyprland/binds.lua b/hypr/hyprland/binds.lua index f14c1ac..691ad58 100644 --- a/hypr/hyprland/binds.lua +++ b/hypr/hyprland/binds.lua @@ -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 diff --git a/hypr/hyprland/rules.lua b/hypr/hyprland/rules.lua index 0129f3f..a7d9c07 100644 --- a/hypr/hyprland/rules.lua +++ b/hypr/hyprland/rules.lua @@ -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"))