diff --git a/home/rofi/catppuccin-mocha.rasi b/home/rofi/catppuccin-mocha.rasi index 7212eca..409d31d 100644 --- a/home/rofi/catppuccin-mocha.rasi +++ b/home/rofi/catppuccin-mocha.rasi @@ -8,8 +8,8 @@ fg-col2: #f38ba8; grey: #6c7086; - width: 600; - font: "JetBrainsMono Nerd Font 14"; + width: 750; + font: "JetBrainsMono Nerd Font 12"; } element-text, element-icon, mode-switcher { @@ -20,6 +20,7 @@ element-text, element-icon, mode-switcher { window { height: 360px; border: 3px; + border-radius: 5px; border-color: @border-col; background-color: @bg-col; } diff --git a/home/rofi/config.rasi b/home/rofi/config.rasi index 1802cf5..be8673f 100644 --- a/home/rofi/config.rasi +++ b/home/rofi/config.rasi @@ -4,16 +4,18 @@ configuration { display-drun: "  Apps "; display-run: "  Run "; display-window: " 󰕰 Window"; + display-ssh: "  SSH"; + display-rofimoji: " 😎 Emojis"; drun-display-format: "{icon} {name}"; - font: "DejaVu Sans Mono 10"; + font: "JetBrains Mono 12"; hide-scrollbar: true; icon-theme: "Oranchelo"; location: 0; - modi: "run,drun,window"; + modi: [run,drun,window,ssh,rofimoji]; show-icons: true; sidebar-mode: true; terminal: "kitty"; xoffset: 0; yoffset: 0; } -@theme "catppuccin-mocha" \ No newline at end of file +@theme "catppuccin-mocha" diff --git a/home/rofi/default.nix b/home/rofi/default.nix index 9212666..3e64236 100644 --- a/home/rofi/default.nix +++ b/home/rofi/default.nix @@ -2,31 +2,36 @@ { pkgs, ... }: { - home.packages = with pkgs; [ rofi-wayland + rofimoji + wl-clipboard ]; - home.file.".config/rofi/config.rasi".source = ./config.rasi; - home.file.".local/share/rofi/themes/catppuccin-mocha.rasi".source = ./catppuccin-mocha.rasi; + home.file = { + ".config/rofi/config.rasi".source = ./config.rasi; + ".config/rofi/scripts/rofimoji".source = "${pkgs.rofimoji}/bin/rofimoji"; + ".local/share/rofi/themes/catppuccin-mocha.rasi".source = ./catppuccin-mocha.rasi; + ".config/rofimoji.rc".source = ./rofimoji.rc; + }; -# TODO Use programs.rofi. Theme is not applied correctly -# programs.rofi = { -# enable = true; -# theme = lib.mkDefault "catppuccin-mocha"; -# extraConfig = { -# modi = "run,drun,window"; -# icon-theme = "Oranchelo"; -# show-icons = true; -# terminal = "kitty"; -# drun-display-format = "{icon} {name}"; -# disable-history = false; -# hide-scrollbar = true; -# display-drun = "  Apps "; -# display-run = "  Run "; -# display-window = " 󰕰 Window"; -# display-Network = " 󰤨 Network"; -# sidebar-mode = true; -# }; -# }; + # TODO Use programs.rofi. Theme is not applied correctly + # programs.rofi = { + # enable = true; + # theme = lib.mkDefault "catppuccin-mocha"; + # extraConfig = { + # modi = "run,drun,window"; + # icon-theme = "Oranchelo"; + # show-icons = true; + # terminal = "kitty"; + # drun-display-format = "{icon} {name}"; + # disable-history = false; + # hide-scrollbar = true; + # display-drun = "  Apps "; + # display-run = "  Run "; + # display-window = " 󰕰 Window"; + # display-Network = " 󰤨 Network"; + # sidebar-mode = true; + # }; + # }; } diff --git a/home/rofi/rofimoji.rc b/home/rofi/rofimoji.rc new file mode 100644 index 0000000..9cff3b0 --- /dev/null +++ b/home/rofi/rofimoji.rc @@ -0,0 +1,3 @@ +action = copy +files = [emojis, math] +skin-tone = moderate \ No newline at end of file