Some Hyprland config changes

This commit is contained in:
2026-05-30 21:58:38 -07:00
parent dd0ad8816b
commit 7dcd8f4b2b
4 changed files with 16 additions and 11 deletions

View File

@@ -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",

View File

@@ -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"}))

View File

@@ -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,

View File

@@ -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)