diff --git a/hypr/hyprland/animations.lua b/hypr/hyprland/animations.lua index 18c928b..73cec88 100644 --- a/hypr/hyprland/animations.lua +++ b/hypr/hyprland/animations.lua @@ -52,28 +52,28 @@ hl.animation({ hl.animation({ leaf = "layersIn", enabled = true, - speed = 3, + speed = 5, bezier = "linear", style = "fade" }) hl.animation({ leaf = "layersOut", enabled = true, - speed = 2, + speed = 5, bezier = "linear", style = "fade" }) hl.animation({ leaf = "fadeLayersIn", enabled = true, - speed = 3, - bezier = "easeOut" + speed = 5, + bezier = "linear" }) hl.animation({ leaf = "fadeLayersOut", enabled = true, - speed = 2, - bezier = "easeIn" + speed = 5, + bezier = "linear" }) hl.animation({ leaf = "workspaces", diff --git a/hypr/hyprland/binds.lua b/hypr/hyprland/binds.lua index d633743..6760a40 100644 --- a/hypr/hyprland/binds.lua +++ b/hypr/hyprland/binds.lua @@ -200,9 +200,14 @@ bind("SUPER + C", hl.dsp.exec_cmd("vesktop")) bind("SUPER + R", hl.dsp.exec_cmd("keepassxc")) bind("SUPER + L", hl.dsp.exec_cmd("kitty")) +-- Pass keybinds to ninjabrainbot bind("KP_HOME", hl.dsp.pass({window = "class:vesktop"})) bind("KP_HOME", hl.dsp.pass({window = "class:vesktop"}), {release = true}) bind("KP_UP", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "M", window = "class:vesktop"})) bind("KP_UP", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "M", window = "class:vesktop"}), {release = true}) bind("KP_PRIOR", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "D", window = "class:vesktop"})) bind("KP_PRIOR", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "D", window = "class:vesktop"}), {release = true}) + +-- Remappings for prev and next +bind("ALT + SLASH", hl.dsp.send_shortcut({mods = "ALT", key = "LEFT"})) +bind("ALT + EQUAL", hl.dsp.send_shortcut({mods = "ALT", key = "RIGHT"})) diff --git a/hypr/hyprland/config.lua b/hypr/hyprland/config.lua index 9531bb1..b11f4a8 100644 --- a/hypr/hyprland/config.lua +++ b/hypr/hyprland/config.lua @@ -32,8 +32,8 @@ hl.config({ brightness = 0.2, }, shadow = { - range = 20, - render_power = 4, + range = 12, + render_power = 3, color = "#00000088", }, }, @@ -48,7 +48,7 @@ hl.config({ }, misc = { disable_hyprland_logo = true, - disable_splash_rendering = false, + disable_splash_rendering = true, on_focus_under_fullscreen = 2, key_press_enables_dpms = true, mouse_move_enables_dpms = true, @@ -58,7 +58,6 @@ hl.config({ enable_anr_dialog = false, background_color = "#141414", enable_swallow = false, - swallow_regex = "kitty" }, cursor = { -- invisible = true, diff --git a/hypr/hyprland/rules.lua b/hypr/hyprland/rules.lua index 19d5824..22d1141 100644 --- a/hypr/hyprland/rules.lua +++ b/hypr/hyprland/rules.lua @@ -1,6 +1,8 @@ -- Smart gaps hl.workspace_rule({ workspace = "w[tv1]s[false]", gaps_out = 0, gaps_in = 0 }) hl.workspace_rule({ workspace = "f[1]s[false]", gaps_out = 0, gaps_in = 0 }) +hl.window_rule({ match = { float = false, workspace = "w[tv1]s[false]" }, border_size = 0 }) +hl.window_rule({ match = { float = false, workspace = "f[1]s[false]" }, border_size = 0 }) -- Special workspace hl.workspace_rule({ workspace = "s[true]", gaps_out = 64, gaps_in = 12}) @@ -72,7 +74,6 @@ end) hl.define_submap("zen", function() hl.bind("ALT + ALT_L", hl.dsp.send_key_state({mods = "ALT", key = "F12", state = "down"}), {release = true}) - -- hl.bind("ALT + ALT_L", hl.dsp.send_shortcut({mods = "ALT", key = "SPACE", state = "down"}), {release = true}) hl.bind("ALT + N", hl.dsp.send_shortcut({mods = "CTRL", key = "TAB"})) hl.bind("ALT + T", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "TAB"})) end)