🚚 [shared] Added shared config that shared desktop config inherits from

This commit is contained in:
2025-05-20 21:52:00 +02:00
parent adb02fbcc2
commit 9a8cc63674
92 changed files with 41 additions and 25 deletions

View File

@ -0,0 +1,112 @@
* {
bg-col: #1e1e2e;
bg-col-light: #1e1e2e;
border-col: #1e1e2e;
selected-col: #1e1e2e;
blue: #89b4fa;
fg-col: #cdd6f4;
fg-col2: #f38ba8;
grey: #6c7086;
width: 750;
font: "JetBrainsMono Nerd Font 12";
}
element-text, element-icon, mode-switcher {
background-color: inherit;
text-color: inherit;
}
window {
height: 360px;
border: 3px;
border-radius: 5px;
border-color: @border-col;
background-color: @bg-col;
}
mainbox {
background-color: @bg-col;
}
inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}
prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}
textbox-prompt-colon {
expand: false;
str: ":";
}
entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}
listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}
element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col;
}
element-icon {
size: 25px;
}
element selected {
background-color: @selected-col;
text-color: @fg-col2;
}
mode-switcher {
spacing: 0;
}
button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}
button selected {
background-color: @bg-col;
text-color: @blue;
}
message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}
textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}

View File

@ -0,0 +1,21 @@
configuration {
disable-history: false;
display-Network: " 󰤨 Network";
display-drun: "  Apps ";
display-run: "  Run ";
display-window: " 󰕰 Window";
display-ssh: "  SSH";
display-rofimoji: " 😎 Emojis";
drun-display-format: "{icon} {name}";
font: "JetBrains Mono 12";
hide-scrollbar: true;
icon-theme: "Oranchelo";
location: 0;
modi: [run,drun,window,ssh,rofimoji];
show-icons: true;
sidebar-mode: true;
terminal: "kitty";
xoffset: 0;
yoffset: 0;
}
@theme "catppuccin-mocha"

View File

@ -0,0 +1,37 @@
# App runner
{ pkgs, ... }:
{
home.packages = with pkgs; [
rofi-wayland
rofimoji
wl-clipboard
];
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;
# };
# };
}

View File

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