From f082d6eb65decb2ea95f4283f45a51bd5502ff68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Sun, 17 Dec 2023 00:07:57 +0100 Subject: [PATCH] feat: improve anyrun styling --- desktops/hyprland/hyprland.nix | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/desktops/hyprland/hyprland.nix b/desktops/hyprland/hyprland.nix index 8c4d470..13cddcd 100644 --- a/desktops/hyprland/hyprland.nix +++ b/desktops/hyprland/hyprland.nix @@ -126,6 +126,7 @@ ]; animation = [ "specialWorkspace,1,4,default,fade" + "fade,1,1,default" ]; decoration = { rounding = 20; @@ -161,7 +162,6 @@ shell ]; y.fraction = 0.2; - showResultsImmediately = true; closeOnClick = true; }; extraCss = @@ -170,22 +170,29 @@ */ '' * { - font-family: "Noto Sans NF"; + font-family: "NotoSans NF"; } window#window { background: transparent; } - entry#entry, - list#main { + box#main { background: rgba(48, 52, 70, 0.4); box-shadow: 0 0 15px rgba(0, 0, 0, 0.29); + border-radius: 24px; + } + + entry#entry { + border: none; + box-shadow: none; + padding: 8px 24px; } entry#entry, list#main { border-radius: 24px; + background: transparent; } row#match { @@ -198,15 +205,6 @@ padding: 16px; } - entry#entry { - padding: 8px 24px; - margin-bottom: 16px; - } - - list#main { - padding: 8px; - } - list#plugin { background: transparent; }