diff --git a/modules/user.nix b/modules/user.nix index 9da542f..c481113 100644 --- a/modules/user.nix +++ b/modules/user.nix @@ -2,6 +2,7 @@ imports = [ ./user/ags.nix ./user/btop.nix + ./user/fuzzel.nix ./user/ghostty.nix ./user/helix.nix ./user/hyprland.nix @@ -10,7 +11,6 @@ ./user/neofetch.nix ./user/qt.nix ./user/sops.nix - ./user/wofi.nix ./user/yazi.nix ./user/zsh.nix diff --git a/modules/user/fuzzel.nix b/modules/user/fuzzel.nix new file mode 100644 index 0000000..2498563 --- /dev/null +++ b/modules/user/fuzzel.nix @@ -0,0 +1,24 @@ +{ + programs.fuzzel = { + enable = true; + settings = { + main = { + width = 40; + line-height = 25; + fields = "name,generic,comment,categories,filename,keywords"; + prompt = ''"❯ "''; + show-actions = "no"; + filter-desktop = "yes"; + match-counter = "yes"; + }; + + border = { + radius = "20"; + }; + + dmenu = { + exit-immediately-if-empty = "yes"; + }; + }; + }; +} \ No newline at end of file diff --git a/modules/user/hyprland.nix b/modules/user/hyprland.nix index 5b85845..17963b2 100644 --- a/modules/user/hyprland.nix +++ b/modules/user/hyprland.nix @@ -9,7 +9,6 @@ in { home.packages = with pkgs; [ ghostty pamixer - wofi clipse wl-clipboard wl-clip-persist @@ -111,7 +110,7 @@ in { "$mainMod, M, exit," "$mainMod, E, exec, ghostty -e sh -c yazi" "$mainMod, F, togglefloating," - "$mainMod, D, exec, wofi --show drun" + "$mainMod, D, exec, fuzzel" "$mainMod, P, pseudo, # dwindle" "$mainMod, J, togglesplit, # dwindle" diff --git a/modules/user/wofi.nix b/modules/user/wofi.nix deleted file mode 100644 index 7428f87..0000000 --- a/modules/user/wofi.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ pkgs, ... }: { - xdg.configFile."wofi/style.css".source = pkgs.fetchurl { - name = "style.css"; - url = "https://github.com/joao-vitor-sr/wofi-themes-collection/raw/main/themes/nord.css"; - sha256 = "sha256-rMDtE7Q0hmqd9LD+Ur/QR6cMan9ev6e9IyzpwY367c0="; - }; -}