chore(hotfix): fix what AI could not

This commit is contained in:
2026-07-15 07:27:48 +02:00
parent 0053de6c2b
commit f8786cc8a5
5 changed files with 166 additions and 151 deletions
+3 -4
View File
@@ -6,7 +6,7 @@ hl.bind("SUPER + Q", hl.dsp.window.close())
hl.bind("SUPER + M", hl.dsp.exit()) hl.bind("SUPER + M", hl.dsp.exit())
hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty")) hl.bind("SUPER + RETURN", hl.dsp.exec_cmd("ghostty"))
hl.bind("SUPER + E", hl.dsp.exec_cmd("dolphin")) hl.bind("SUPER + E", hl.dsp.exec_cmd("dolphin"))
hl.bind("SUPER + B", hl.dsp.exec_cmd("firefox")) hl.bind("SUPER + B", hl.dsp.exec_cmd("chromium"))
hl.bind("SUPER + H", hl.dsp.focus({ direction = "l" })) hl.bind("SUPER + H", hl.dsp.focus({ direction = "l" }))
hl.bind("SUPER + L", hl.dsp.focus({ direction = "r" })) hl.bind("SUPER + L", hl.dsp.focus({ direction = "r" }))
@@ -51,9 +51,6 @@ hl.bind(
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true }) hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true }) hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true }) hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brighnessctl set +5%"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brighnessctl set -5%"), { locked = true, repeating = true })
hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze")) hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher")) hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
@@ -61,3 +58,5 @@ hl.bind("SUPER + A", hl.dsp.global("zshell:toggle-nc"))
hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing")) hl.bind("SUPER + V", hl.dsp.global("zshell:toggle-drawing"))
hl.bind("SUPER + F1", hl.dsp.global("zshell:lock")) hl.bind("SUPER + F1", hl.dsp.global("zshell:lock"))
hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings")) hl.bind("SUPER + F2", hl.dsp.global("zshell:toggle-settings"))
hl.bind("XF86MonBrightnessUp", hl.dsp.global("zshell:brightnessUp"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.global("zshell:brightnessDown"), { locked = true, repeating = true })
+1 -1
View File
@@ -1,5 +1,5 @@
hl.env("ZSH", "/usr/share/oh-my-zsh/") hl.env("ZSH", "/usr/share/oh-my-zsh/")
hl.env("BROWSER", "firefox") hl.env("BROWSER", "chromium")
hl.env("TERM", "tmux-256color") hl.env("TERM", "tmux-256color")
hl.env("VISUAL", "nvim") hl.env("VISUAL", "nvim")
hl.env("EDITOR", "nvim") hl.env("EDITOR", "nvim")
-1
View File
@@ -7,5 +7,4 @@ hl.on("hyprland.start", function()
hl.exec_cmd("wl-paste --type image --watch cliphist store") hl.exec_cmd("wl-paste --type image --watch cliphist store")
hl.exec_cmd("hyprsunset -i") hl.exec_cmd("hyprsunset -i")
hl.exec_cmd("nextcloud --background") hl.exec_cmd("nextcloud --background")
hl.exec_cmd("brightnessctl set 100%")
end) end)
+1 -1
View File
@@ -2,7 +2,7 @@ hl.monitor({
output = "eDP-1", output = "eDP-1",
mode = "2880x1800@120", mode = "2880x1800@120",
position = "0x0", position = "0x0",
scale = 1.25, scale = 1.125,
bitdepth = 10, bitdepth = 10,
cm = "srgb", cm = "srgb",
}) })
+58 -41
View File
@@ -4,14 +4,14 @@ hl.layer_rule({
name = "blur_popups_bar", name = "blur_popups_bar",
blur = true, blur = true,
match = { namespace = "ZShell-Bar" }, match = { namespace = "ZShell-Bar" },
ignore_alpha = 0.5 ignore_alpha = 0.5,
}) })
hl.layer_rule({ hl.layer_rule({
name = "blur_popups_auth", name = "blur_popups_auth",
blur = true, blur = true,
match = { namespace = "ZShell-Auth" }, match = { namespace = "ZShell-Auth" },
ignore_alpha = 0.5 ignore_alpha = 0.5,
}) })
hl.gesture = { fingers = 3, direction = "horizontal", action = "workspace" } hl.gesture = { fingers = 3, direction = "horizontal", action = "workspace" }
@@ -27,8 +27,8 @@ hl.config({
touchpad = { touchpad = {
natural_scroll = true, natural_scroll = true,
scroll_factor = 0.4, scroll_factor = 0.4,
middle_button_emulation = true middle_button_emulation = true,
} },
}, },
gestures = { workspace_swipe_touch = true }, gestures = { workspace_swipe_touch = true },
general = { general = {
@@ -38,13 +38,15 @@ hl.config({
col = { col = {
active_border = { active_border = {
colors = { colors = {
C.colors.mauveAlpha, C.colors.greenAlpha, C.colors.mauveAlpha,
C.colors.sapphireAlpha, C.colors.lavenderAlpha C.colors.greenAlpha,
C.colors.sapphireAlpha,
C.colors.lavenderAlpha,
}, },
angle = 90 angle = 90,
},
inactive_border = { colors = { C.colors.surface1Alpha }, angle = 90 },
}, },
inactive_border = {colors = {C.colors.surface1Alpha}, angle = 90}
}
}, },
decoration = { decoration = {
rounding = 1, rounding = 1,
@@ -53,7 +55,7 @@ hl.config({
range = 6, range = 6,
render_power = 6, render_power = 6,
color = C.colors.baseAlpha, color = C.colors.baseAlpha,
color_inactive = C.colors.mantleAlpha color_inactive = C.colors.mantleAlpha,
}, },
blur = { blur = {
enabled = true, enabled = true,
@@ -68,82 +70,93 @@ hl.config({
xray = false, xray = false,
noise = 0.05, noise = 0.05,
popups = true, popups = true,
input_methods = true input_methods = true,
} },
}, },
ecosystem = { no_donation_nag = true, no_update_news = true }, ecosystem = { no_donation_nag = true, no_update_news = true },
misc = { disable_hyprland_logo = true }, misc = { disable_hyprland_logo = true },
debug = { full_cm_proto = true }, debug = { full_cm_proto = true },
dwindle = {preserve_split = true} dwindle = { preserve_split = true },
}) })
local animations = { local animations = {
{leaf = "border", enabled = true, speed = 4, bezier = "linear"}, { { leaf = "border", enabled = true, speed = 4, bezier = "linear" },
{
leaf = "borderangle", leaf = "borderangle",
enabled = false, enabled = false,
speed = 3, speed = 3,
bezier = "linear", bezier = "linear",
style = "loop" style = "loop",
}, {leaf = "fadeOut", enabled = true, speed = 3, bezier = "default"}, },
{ leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" },
{ leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" }, { leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" },
{ leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" }, { leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" },
{ leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" }, { leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" },
{leaf = "global", enabled = true, speed = 6, bezier = "default"}, { { leaf = "global", enabled = true, speed = 6, bezier = "default" },
{
leaf = "layers", leaf = "layers",
enabled = true, enabled = true,
speed = 5, speed = 5,
bezier = "cubic-bezier", bezier = "cubic-bezier",
style = "fade" style = "fade",
}, },
{ {
leaf = "windows", leaf = "windows",
enabled = true, enabled = true,
speed = 3, speed = 3,
bezier = "wind", bezier = "wind",
style = "popin" style = "popin",
}, { },
{
leaf = "windowsIn", leaf = "windowsIn",
enabled = true, enabled = true,
speed = 3, speed = 3,
bezier = "winIn", bezier = "winIn",
style = "popin 90%" style = "popin 90%",
}, { },
{
leaf = "windowsOut", leaf = "windowsOut",
enabled = true, enabled = true,
speed = 3, speed = 3,
bezier = "winOut", bezier = "winOut",
style = "popin 90%" style = "popin 90%",
}, { },
{
leaf = "windowsMove", leaf = "windowsMove",
enabled = true, enabled = true,
speed = 1, speed = 1,
bezier = "wind", bezier = "wind",
style = "slide" style = "slide",
}, {leaf = "workspaces", enabled = true, speed = 4, bezier = "default"} },
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
} }
local curves = { local curves = {
{ {
name = "wind", name = "wind",
config = {type = "bezier", points = {{0.05, 0.9}, {0.1, 1}}} config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } },
}, },
{ {
name = "winIn", name = "winIn",
config = {type = "bezier", points = {{0.1, 1.0}, {0.1, 1}}} config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } },
}, },
{ name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } }, { name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } },
{name = "linear", config = {type = "bezier", points = {{1, 1}, {1, 1}}}}, { { name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } },
{
name = "cubic-bezier", name = "cubic-bezier",
config = {type = "bezier", points = {{0.215, 0.61}, {0.355, 1}}} config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 1 } } },
}, { },
{
name = "easeOutQuint", name = "easeOutQuint",
config = {type = "bezier", points = {{0.23, 1}, {0.32, 1}}} config = { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } },
}, { },
{
name = "easeInOutCubic", name = "easeInOutCubic",
config = {type = "bezier", points = {{0.65, 0.05}, {0.36, 1}}} config = { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } },
}, { },
{
name = "almostLinear", name = "almostLinear",
config = {type = "bezier", points = {{0.5, 0.5}, {0.75, 1}}} config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } },
}, },
{ name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } }, { name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } },
{ {
@@ -152,11 +165,15 @@ local curves = {
type = "spring", type = "spring",
mass = 1, mass = 1,
stiffness = 71.2633, stiffness = 71.2633,
dampening = 15.8273644 dampening = 15.8273644,
} },
} },
} }
for _, curve in ipairs(curves) do hl.curve(curve.name, curve.config) end for _, curve in ipairs(curves) do
hl.curve(curve.name, curve.config)
end
for _, animation in ipairs(animations) do hl.animation(animation) end for _, animation in ipairs(animations) do
hl.animation(animation)
end