From ad539234f1a29d5634559c191d1d5ed9765b444d Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Thu, 13 Aug 2026 23:07:04 +0100 Subject: [PATCH] feat(styling): update hyprland gtw icons & themes --- .config/hypr/applications.lua | 8 ++++++++ .config/hypr/decoration.lua | 9 +++++++++ .config/hypr/hyprland.lua | 3 +++ 3 files changed, 20 insertions(+) diff --git a/.config/hypr/applications.lua b/.config/hypr/applications.lua index f802d17..5458f51 100644 --- a/.config/hypr/applications.lua +++ b/.config/hypr/applications.lua @@ -21,3 +21,11 @@ hl.window_rule({ class = ".*[Ss]team*." } }) + +hl.window_rule({ + name = "shrink-file-picker", + match = { class = "^(xdg-desktop-portal-gtk)$" }, + float = true, + size = {900, 900}, + move = {"(monitor_w - window_w) / 2", "(monitor_h - window_h) / 2"}, +}) diff --git a/.config/hypr/decoration.lua b/.config/hypr/decoration.lua index 3fbc28b..aaa3c1a 100644 --- a/.config/hypr/decoration.lua +++ b/.config/hypr/decoration.lua @@ -51,3 +51,12 @@ hl.config({ enabled = true, }, }) + +hl.curve("myBezier", { type = "bezier", points = { {0.05, 0.9}, {0.1, 1.05} } }) + +hl.animation({ leaf = "windows", enabled = true, speed = 2, bezier = "myBezier" }) +hl.animation({ leaf = "windowsOut", enabled = true, speed = 2, bezier = "myBezier", style = "popin 80%" }) +hl.animation({ leaf = "border", enabled = true, speed = 3, bezier = "myBezier" }) +hl.animation({ leaf = "fade", enabled = true, speed = 2, bezier = "myBezier" }) +hl.animation({ leaf = "workspaces", enabled = true, speed = 2, bezier = "myBezier" }) + diff --git a/.config/hypr/hyprland.lua b/.config/hypr/hyprland.lua index ed90d2b..f1b8e90 100644 --- a/.config/hypr/hyprland.lua +++ b/.config/hypr/hyprland.lua @@ -16,7 +16,9 @@ hl.config({ -- Envs hl.env("XCURSOR_SIZE", 24) +hl.env("XCUROSR_THEME", "breeze-dark") hl.env("HYPRCURSOR_SIZE", 24) +hl.env("HYPRCURSOR_THEME", "breeze-dark") hl.env("LIBVA_DRIVER_NAME", "nvidia") hl.env("__GLX_VENDOR_LIBRARY_NAME", "nvidia") hl.env("NVD_BACKEND", "direct") @@ -36,6 +38,7 @@ hl.on("hyprland.start", function() hl.exec_cmd("nextcloud") hl.exec_cmd("waybar") hl.exec_cmd("hyprctl setcursor breeze 24") + hl.exec_cmd("xsettingsd") end) -- Exec (run every reload)