From f5c2807b5fae99afeabefb92810c162969a8d9b2 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 18 Jun 2023 04:11:14 -0400 Subject: [PATCH] Tweak fuzzel config a little --- home-manager/linux/programs/hyprland.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/home-manager/linux/programs/hyprland.nix b/home-manager/linux/programs/hyprland.nix index cf08e7a..6b0bdfc 100644 --- a/home-manager/linux/programs/hyprland.nix +++ b/home-manager/linux/programs/hyprland.nix @@ -7,7 +7,7 @@ in with lib; { swaylock-command = '' ${swaylock-package}/bin/swaylock --screenshots --grace 30 --indicator --clock --timestr "%-I:%M:%S %p" --datestr "%A %Y-%M-%d" --effect-blur 20x3''; fuzzel-command = '' - fuzzel -f "Iosevka Sans Quasi" -b "181818dd" -S "b9b9b9ff" -s "252525dd" -t "777777ff" -B 5 -r 5 -C "70b433dd"''; + fuzzel -f "Iosevka Sans Quasi:size=16" -b "181818cc" -S "b9b9b9ff" -s "252525cc" -t "777777ff" -B 5 -r 5 -C "70b433cc" --width=80 --lines=25''; notif-package = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaynotificationcenter; shortcuts = inputs.self.packages.${pkgs.system}.shortcuts; @@ -142,7 +142,7 @@ in with lib; { # bind = $mainMod, M, exit, bind = $mainMod, E, exec, dolphin bind = $mainMod, V, togglefloating, - bind = $mainMod, R, exec, ${fuzzel-command} + bind = $mainMod, R, exec, ${fuzzel-command} --prompt='❯ ' bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, B, togglesplit, # dwindle bind = $mainMod, Z, exec, ${swaylock-command} @@ -258,7 +258,7 @@ in with lib; { # Clipboard history management exec-once=wl-paste --watch cliphist store - bind = $mainMod, X, exec, cliphist list | ${fuzzel-command} --dmenu | cliphist decode | wl-copy + bind = $mainMod, X, exec, cliphist list | ${fuzzel-command} --prompt=' ❯ ' --dmenu | cliphist decode | wl-copy ''; }; @@ -308,7 +308,8 @@ in with lib; { text = '' directories = ["~/.config/shortcuts/shortcuts", "${shortcuts}/shortcuts"] picker_command = "${ - builtins.replaceStrings [ ''"'' ] [ ''\"'' ] fuzzel-command + builtins.replaceStrings [ ''"'' ] [ ''\"'' ] + (fuzzel-command + " --prompt=' ❯ ' ") } --dmenu" ''; onChange = '' @@ -448,7 +449,7 @@ in with lib; { ]; "custom/launcher" = { format = ""; - on-click = fuzzel-command; + on-click = fuzzel-command + " --prompt='❯ ' "; on-click-right = "killall fuzzel"; }; "idle_inhibitor" = {