Some Hyprland config changes
This commit is contained in:
@@ -52,28 +52,28 @@ hl.animation({
|
|||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "layersIn",
|
leaf = "layersIn",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
speed = 3,
|
speed = 5,
|
||||||
bezier = "linear",
|
bezier = "linear",
|
||||||
style = "fade"
|
style = "fade"
|
||||||
})
|
})
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "layersOut",
|
leaf = "layersOut",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
speed = 2,
|
speed = 5,
|
||||||
bezier = "linear",
|
bezier = "linear",
|
||||||
style = "fade"
|
style = "fade"
|
||||||
})
|
})
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "fadeLayersIn",
|
leaf = "fadeLayersIn",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
speed = 3,
|
speed = 5,
|
||||||
bezier = "easeOut"
|
bezier = "linear"
|
||||||
})
|
})
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "fadeLayersOut",
|
leaf = "fadeLayersOut",
|
||||||
enabled = true,
|
enabled = true,
|
||||||
speed = 2,
|
speed = 5,
|
||||||
bezier = "easeIn"
|
bezier = "linear"
|
||||||
})
|
})
|
||||||
hl.animation({
|
hl.animation({
|
||||||
leaf = "workspaces",
|
leaf = "workspaces",
|
||||||
|
|||||||
@@ -200,9 +200,14 @@ bind("SUPER + C", hl.dsp.exec_cmd("vesktop"))
|
|||||||
bind("SUPER + R", hl.dsp.exec_cmd("keepassxc"))
|
bind("SUPER + R", hl.dsp.exec_cmd("keepassxc"))
|
||||||
bind("SUPER + L", hl.dsp.exec_cmd("kitty"))
|
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"}))
|
||||||
bind("KP_HOME", hl.dsp.pass({window = "class:vesktop"}), {release = true})
|
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"}))
|
||||||
bind("KP_UP", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "M", window = "class:vesktop"}), {release = true})
|
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"}))
|
||||||
bind("KP_PRIOR", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "D", window = "class:vesktop"}), {release = true})
|
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"}))
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ hl.config({
|
|||||||
brightness = 0.2,
|
brightness = 0.2,
|
||||||
},
|
},
|
||||||
shadow = {
|
shadow = {
|
||||||
range = 20,
|
range = 12,
|
||||||
render_power = 4,
|
render_power = 3,
|
||||||
color = "#00000088",
|
color = "#00000088",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@@ -48,7 +48,7 @@ hl.config({
|
|||||||
},
|
},
|
||||||
misc = {
|
misc = {
|
||||||
disable_hyprland_logo = true,
|
disable_hyprland_logo = true,
|
||||||
disable_splash_rendering = false,
|
disable_splash_rendering = true,
|
||||||
on_focus_under_fullscreen = 2,
|
on_focus_under_fullscreen = 2,
|
||||||
key_press_enables_dpms = true,
|
key_press_enables_dpms = true,
|
||||||
mouse_move_enables_dpms = true,
|
mouse_move_enables_dpms = true,
|
||||||
@@ -58,7 +58,6 @@ hl.config({
|
|||||||
enable_anr_dialog = false,
|
enable_anr_dialog = false,
|
||||||
background_color = "#141414",
|
background_color = "#141414",
|
||||||
enable_swallow = false,
|
enable_swallow = false,
|
||||||
swallow_regex = "kitty"
|
|
||||||
},
|
},
|
||||||
cursor = {
|
cursor = {
|
||||||
-- invisible = true,
|
-- invisible = true,
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
-- Smart gaps
|
-- Smart gaps
|
||||||
hl.workspace_rule({ workspace = "w[tv1]s[false]", gaps_out = 0, gaps_in = 0 })
|
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.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
|
-- Special workspace
|
||||||
hl.workspace_rule({ workspace = "s[true]", gaps_out = 64, gaps_in = 12})
|
hl.workspace_rule({ workspace = "s[true]", gaps_out = 64, gaps_in = 12})
|
||||||
@@ -72,7 +74,6 @@ end)
|
|||||||
|
|
||||||
hl.define_submap("zen", function()
|
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_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 + N", hl.dsp.send_shortcut({mods = "CTRL", key = "TAB"}))
|
||||||
hl.bind("ALT + T", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "TAB"}))
|
hl.bind("ALT + T", hl.dsp.send_shortcut({mods = "CTRL + SHIFT", key = "TAB"}))
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user