🖼 Emojis in Rofi, some styling changes

- Added rofimoji and wl-clipboard to Rofi
- Changed font to JetBrains Mono
- Added SSH window
- Changed width and round corners
This commit is contained in:
Martin Berg Alstad 2025-01-01 19:59:09 +01:00
parent 69fff69c65
commit 84d9817933
Signed by: martials
GPG Key ID: A3824877B269F2E2
4 changed files with 38 additions and 27 deletions

View File

@ -8,8 +8,8 @@
fg-col2: #f38ba8; fg-col2: #f38ba8;
grey: #6c7086; grey: #6c7086;
width: 600; width: 750;
font: "JetBrainsMono Nerd Font 14"; font: "JetBrainsMono Nerd Font 12";
} }
element-text, element-icon, mode-switcher { element-text, element-icon, mode-switcher {
@ -20,6 +20,7 @@ element-text, element-icon, mode-switcher {
window { window {
height: 360px; height: 360px;
border: 3px; border: 3px;
border-radius: 5px;
border-color: @border-col; border-color: @border-col;
background-color: @bg-col; background-color: @bg-col;
} }

View File

@ -4,12 +4,14 @@ configuration {
display-drun: "  Apps "; display-drun: "  Apps ";
display-run: "  Run "; display-run: "  Run ";
display-window: " 󰕰 Window"; display-window: " 󰕰 Window";
display-ssh: "  SSH";
display-rofimoji: " 😎 Emojis";
drun-display-format: "{icon} {name}"; drun-display-format: "{icon} {name}";
font: "DejaVu Sans Mono 10"; font: "JetBrains Mono 12";
hide-scrollbar: true; hide-scrollbar: true;
icon-theme: "Oranchelo"; icon-theme: "Oranchelo";
location: 0; location: 0;
modi: "run,drun,window"; modi: [run,drun,window,ssh,rofimoji];
show-icons: true; show-icons: true;
sidebar-mode: true; sidebar-mode: true;
terminal: "kitty"; terminal: "kitty";

View File

@ -2,13 +2,18 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
rofi-wayland rofi-wayland
rofimoji
wl-clipboard
]; ];
home.file.".config/rofi/config.rasi".source = ./config.rasi; home.file = {
home.file.".local/share/rofi/themes/catppuccin-mocha.rasi".source = ./catppuccin-mocha.rasi; ".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 # TODO Use programs.rofi. Theme is not applied correctly
# programs.rofi = { # programs.rofi = {

3
home/rofi/rofimoji.rc Normal file
View File

@ -0,0 +1,3 @@
action = copy
files = [emojis, math]
skin-tone = moderate