From a42d6f0e5905c0226ef246380ab04ff2c5d4b64a Mon Sep 17 00:00:00 2001 From: liv Date: Tue, 13 Aug 2024 17:13:57 +0200 Subject: [PATCH] more styling for wofi --- home/common/desktop/wofi.nix | 11 +++++++++-- home/desktop/hyprland/default.nix | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/home/common/desktop/wofi.nix b/home/common/desktop/wofi.nix index f58cdf4..2dc0c4f 100644 --- a/home/common/desktop/wofi.nix +++ b/home/common/desktop/wofi.nix @@ -2,8 +2,8 @@ programs.wofi = { enable = true; settings = { - allow_images = true; insensitive = true; + allow_markup = true; run-always_parse_args = true; run-cache_file = "/dev/null"; run-exec_search = true; @@ -11,7 +11,14 @@ }; style = '' #window { - box-shadow: 5px 5px 5px black; + border: 1px solid ${config.lib.stylix.colors.withHashtag.base05}; + font-family: ${config.fontProfiles.bitmap.family}; + } + + #input { + border-radius: 0; + border: 1px solid ${config.lib.stylix.colors.withHashtag.base05}; + border-bottom: 0; } ''; }; diff --git a/home/desktop/hyprland/default.nix b/home/desktop/hyprland/default.nix index 5955c68..61ddb3a 100644 --- a/home/desktop/hyprland/default.nix +++ b/home/desktop/hyprland/default.nix @@ -168,8 +168,8 @@ wofi = lib.getExe pkgs.wofi; in lib.optionals config.programs.wofi.enable [ - "SUPER,Space,exec,${wofi} -S drun -W 25% -H 50%" - "SHIFTSUPER,Space,exec,${wofi} -S run" + "SUPER,Space,exec,${wofi} -S drun -W 20% -H 15%" + "SHIFTSUPER,Space,exec,${wofi} -S run -W 20% -H 15%" ] );