Sat Jun 1 05:51:49 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-01 17:51:49 +02:00
parent 392bd9c0d6
commit 113a871320
1 changed files with 112 additions and 114 deletions

View File

@ -2,133 +2,131 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
papirus-icon-theme papirus-icon-theme
]; ];
programs.rofi = { programs.rofi = {
enable = true; enable = true;
font = "SF Pro Rounded 13"; font = "SF Pro Rounded 13";
extraConfig = { extraConfig = {
show-icons = true; show-icons = true;
icon-theme = "Papirus"; icon-theme = "Papirus";
kb-cancel = "Super_L+XF86Launch5,Escape"; kb-cancel = "Super_L+XF86Launch5,Escape";
combi-hide-mode-prefix = true; combi-hide-mode-prefix = true;
}; };
theme = { theme = let
let inherit (config.lib.formats.rasi) mkLiteral;
inherit (config.lib.formats.rasi) mkLiteral; in {
in { "*" = {
"*" = { background = mkLiteral "#0f111a";
background = mkLiteral "#0f111a"; foreground = mkLiteral "#f1f1f1";
foreground = mkLiteral "#f1f1f1"; selected = mkLiteral "#0033a1";
selected = mkLiteral "#0033a1"; selected-text = mkLiteral "#ffffff";
selected-text = mkLiteral "#ffffff"; };
}
"window" = { "window" = {
transparency = "real"; transparency = "real";
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
text-color = mkLiteral "@foreground"; text-color = mkLiteral "@foreground";
width = mkLiteral "800px"; width = mkLiteral "800px";
border-radius = mkLiteral "5px"; border-radius = mkLiteral "5px";
} };
"textbox-prompt-colon" = { "textbox-prompt-colon" = {
expand = mkLiteral "false"; expand = mkLiteral "false";
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
padding = mkLiteral "4px 0px 0px 6px"; padding = mkLiteral "4px 0px 0px 6px";
} };
"inputbar" = { "inputbar" = {
children = mkLiteral "[ textbox-prompt-colon, entry ]"; children = mkLiteral "[ textbox-prompt-colon, entry ]";
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
text-color = mkLiteral "@foreground"; text-color = mkLiteral "@foreground";
expand = mkLiteral "false"; expand = mkLiteral "false";
border = mkLiteral "0px 0px 0px 0px"; border = mkLiteral "0px 0px 0px 0px";
border-radius = mkLiteral "0px"; border-radius = mkLiteral "0px";
border-color = mkLiteral "@selected"; border-color = mkLiteral "@selected";
margin = mkLiteral "0px 0px 0px 0px"; margin = mkLiteral "0px 0px 0px 0px";
padding = mkLiteral "0px 0px 4px 0px"; padding = mkLiteral "0px 0px 4px 0px";
position = mkLiteral "center"; position = mkLiteral "center";
} };
"entry" = { "entry" = {
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
text-color = mkLiteral "@foreground"; text-color = mkLiteral "@foreground";
placeholder-color = mkLiteral "@foreground"; placeholder-color = mkLiteral "@foreground";
expand = mkLiteral "true"; expand = mkLiteral "true";
horizontal-align = mkLiteral "0"; horizontal-align = mkLiteral "0";
blink = mkLiteral "true"; blink = mkLiteral "true";
padding = mkLiteral "4px 0px 0px 4px"; padding = mkLiteral "4px 0px 0px 4px";
font = "SF Pro Rounded 25"; font = "SF Pro Rounded 25";
} };
"case-indicator" = { "case-indicator" = {
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
text-color = mkLiteral "@foreground"; text-color = mkLiteral "@foreground";
spacing = mkLiteral "0"; spacing = mkLiteral "0";
} };
"listview" = { "listview" = {
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
columns = mkLiteral "1"; columns = mkLiteral "1";
spacing = mkLiteral "5px"; spacing = mkLiteral "5px";
cycle = mkLiteral "true"; cycle = mkLiteral "true";
dynamic = mkLiteral "true"; dynamic = mkLiteral "true";
layout = mkLiteral "vertical"; layout = mkLiteral "vertical";
fixed-height = "true"; fixed-height = "true";
lines = mkLiteral "5"; lines = mkLiteral "5";
} };
"mainbox" = { "mainbox" = {
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
children = mkLiteral "[ inputbar, message, listview ]"; children = mkLiteral "[ inputbar, message, listview ]";
spacing = mkLiteral "20px"; spacing = mkLiteral "20px";
padding = mkLiteral "20px 15px 15px 15px"; padding = mkLiteral "20px 15px 15px 15px";
} };
"message" = { "message" = {
children = mkLiteral "[ textbox ]"; children = mkLiteral "[ textbox ]";
border-radius = mkLiteral "5px"; border-radius = mkLiteral "5px";
} };
"textbox" = { "textbox" = {
background-color = mkLiteral "@selected"; background-color = mkLiteral "@selected";
text-color = mkLiteral "@foreground"; text-color = mkLiteral "@foreground";
padding = mkLiteral "20px 6px 20px 80px"; padding = mkLiteral "20px 6px 20px 80px";
} };
"element" = { "element" = {
background-color = mkLiteral "@background"; background-color = mkLiteral "@background";
text-color = mkLiteral "@foreground"; text-color = mkLiteral "@foreground";
orientation = mkLiteral "horizontal"; orientation = mkLiteral "horizontal";
border-radius = mkLiteral "4px"; border-radius = mkLiteral "4px";
padding = mkLiteral "2px 2px 2px 2px"; padding = mkLiteral "2px 2px 2px 2px";
} };
"element-text, element-icon" = { "element-text, element-icon" = {
background-color = mkLiteral "inherit"; background-color = mkLiteral "inherit";
text-color = mkLiteral "inherit"; text-color = mkLiteral "inherit";
} };
"element-icon" = { "element-icon" = {
size = mkLiteral "40px"; size = mkLiteral "40px";
border = mkLiteral "10px"; border = mkLiteral "10px";
} };
"element-text" = { "element-text" = {
padding = mkLiteral "20px 0px 0px 10px"; padding = mkLiteral "20px 0px 0px 10px";
} };
"element selected" = { "element selected" = {
background-color = mkLiteral "@selected"; background-color = mkLiteral "@selected";
text-color = mkLiteral "@selected-text"; text-color = mkLiteral "@selected-text";
border = mkLiteral "0px"; border = mkLiteral "0px";
border-radius = mkLiteral "3px"; border-radius = mkLiteral "3px";
border-color = mkLiteral "@selected"; border-color = mkLiteral "@selected";
} };
} };
}; };
};
} }