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

@ -15,8 +15,7 @@
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 {
"*" = { "*" = {
@ -24,7 +23,7 @@
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";
@ -32,13 +31,13 @@
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 ]";
@ -51,7 +50,7 @@
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";
@ -62,13 +61,13 @@
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";
@ -79,25 +78,25 @@
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";
@ -105,21 +104,21 @@
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";
@ -127,8 +126,7 @@
border = mkLiteral "0px"; border = mkLiteral "0px";
border-radius = mkLiteral "3px"; border-radius = mkLiteral "3px";
border-color = mkLiteral "@selected"; border-color = mkLiteral "@selected";
} };
}
}; };
}; };
} }