diff --git a/modules/home/programs/fuzzel/default.nix b/modules/home/programs/fuzzel/default.nix new file mode 100644 index 0000000..5ccb6df --- /dev/null +++ b/modules/home/programs/fuzzel/default.nix @@ -0,0 +1,22 @@ +{ + config, + lib, + pkgs, + namespace, + ... +}: let + cfg = config.${namespace}.programs.fuzzel; +in { + options.${namespace}.programs.fuzzel = { + enable = lib.mkEnableOption "fuzzel"; + }; + + config = lib.mkIf cfg.enable { + home.packages = [pkgs.bemoji]; + + programs.fuzzel = { + enable = true; + catppuccin.enable = true; + }; + }; +} diff --git a/modules/home/windowManagers/sway/default.nix b/modules/home/windowManagers/sway/default.nix index ca0a935..0d2e51d 100644 --- a/modules/home/windowManagers/sway/default.nix +++ b/modules/home/windowManagers/sway/default.nix @@ -15,10 +15,10 @@ down = "j"; modifier = "Mod4"; - # TODO: This assumes I'll be using rofi and kitty. Should make more generic. - menu = "rofi -show run"; - emoji_picker = "rofi -show emoji"; - terminal = "kitty"; + # TODO: This assumes I'll be using fuzzel and kitty. Should make more generic. + menu = "${pkgs.fuzzel}/bin/fuzzel"; + emoji_picker = "${pkgs.bemoji}/bin/bemoji -t"; + terminal = "${pkgs.kitty}/bin/kitty"; generate_grimshot_command = target: '' exec mkdir -p ~/screenshots \ @@ -43,7 +43,7 @@ in { fonts.enable = true; programs = { kitty.enable = true; - rofi.enable = true; + fuzzel.enable = true; swaylock.enable = true; waybar.enable = true; }; @@ -62,6 +62,7 @@ in { sway-contrib.grimshot wev wl-clipboard + wtype xdg-utils ];