Inital commit for theming

This commit is contained in:
2025-11-20 18:48:39 +01:00
parent 52a9112c48
commit 1544cc30ad
11 changed files with 436 additions and 129 deletions

91
home/rofi.nix Normal file
View File

@@ -0,0 +1,91 @@
{ config, pkgs, ... }:
{
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = let
inherit (config.lib.formats.rasi) mkLiteral;
in {
"*" = {
bg = mkLiteral "#2e3440";
bg-alt = mkLiteral "#3b4252";
fg = mkLiteral "#eceff4";
fg-alt = mkLiteral "#d8dee9";
accent = mkLiteral "#88c0d0";
urgent = mkLiteral "#bf616a";
background-color = mkLiteral "transparent";
text-color = mkLiteral "@fg";
margin = 0;
padding = 0;
spacing = 0;
};
"window" = {
location = mkLiteral "center";
width = 600;
background-color = mkLiteral "@bg";
border = mkLiteral "2px";
border-color = mkLiteral "@accent";
border-radius = mkLiteral "12px";
};
"inputbar" = {
padding = mkLiteral "12px";
spacing = mkLiteral "12px";
children = mkLiteral "[prompt, entry]";
background-color = mkLiteral "@bg-alt";
};
"prompt, entry, element-text, element-icon" = {
vertical-align = mkLiteral "0.5";
};
"prompt" = {
text-color = mkLiteral "@accent";
};
"listview" = {
lines = 8;
columns = 1;
padding = mkLiteral "8px 0";
background-color = mkLiteral "@bg";
};
"element" = {
padding = mkLiteral "8px 12px";
spacing = mkLiteral "8px";
background-color = mkLiteral "transparent";
};
"element normal.normal" = {
text-color = mkLiteral "@fg";
};
"element selected.normal" = {
background-color = mkLiteral "@bg-alt";
text-color = mkLiteral "@accent";
};
"element-icon" = {
size = mkLiteral "1em";
};
"element-text" = {
text-color = mkLiteral "inherit";
};
};
extraConfig = {
modi = "drun,run";
show-icons = true;
drun-display-format = "{name}";
disable-history = false;
sidebar-mode = false;
};
};
}