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";
combi-hide-mode-prefix = true;
};
theme = {
let
theme = let
inherit (config.lib.formats.rasi) mkLiteral;
in {
"*" = {
@ -24,7 +23,7 @@
foreground = mkLiteral "#f1f1f1";
selected = mkLiteral "#0033a1";
selected-text = mkLiteral "#ffffff";
}
};
"window" = {
transparency = "real";
@ -32,13 +31,13 @@
text-color = mkLiteral "@foreground";
width = mkLiteral "800px";
border-radius = mkLiteral "5px";
}
};
"textbox-prompt-colon" = {
expand = mkLiteral "false";
background-color = mkLiteral "@background";
padding = mkLiteral "4px 0px 0px 6px";
}
};
"inputbar" = {
children = mkLiteral "[ textbox-prompt-colon, entry ]";
@ -51,7 +50,7 @@
margin = mkLiteral "0px 0px 0px 0px";
padding = mkLiteral "0px 0px 4px 0px";
position = mkLiteral "center";
}
};
"entry" = {
background-color = mkLiteral "@background";
@ -62,13 +61,13 @@
blink = mkLiteral "true";
padding = mkLiteral "4px 0px 0px 4px";
font = "SF Pro Rounded 25";
}
};
"case-indicator" = {
background-color = mkLiteral "@background";
text-color = mkLiteral "@foreground";
spacing = mkLiteral "0";
}
};
"listview" = {
background-color = mkLiteral "@background";
@ -79,25 +78,25 @@
layout = mkLiteral "vertical";
fixed-height = "true";
lines = mkLiteral "5";
}
};
"mainbox" = {
background-color = mkLiteral "@background";
children = mkLiteral "[ inputbar, message, listview ]";
spacing = mkLiteral "20px";
padding = mkLiteral "20px 15px 15px 15px";
}
};
"message" = {
children = mkLiteral "[ textbox ]";
border-radius = mkLiteral "5px";
}
};
"textbox" = {
background-color = mkLiteral "@selected";
text-color = mkLiteral "@foreground";
padding = mkLiteral "20px 6px 20px 80px";
}
};
"element" = {
background-color = mkLiteral "@background";
@ -105,21 +104,21 @@
orientation = mkLiteral "horizontal";
border-radius = mkLiteral "4px";
padding = mkLiteral "2px 2px 2px 2px";
}
};
"element-text, element-icon" = {
background-color = mkLiteral "inherit";
text-color = mkLiteral "inherit";
}
};
"element-icon" = {
size = mkLiteral "40px";
border = mkLiteral "10px";
}
};
"element-text" = {
padding = mkLiteral "20px 0px 0px 10px";
}
};
"element selected" = {
background-color = mkLiteral "@selected";
@ -127,8 +126,7 @@
border = mkLiteral "0px";
border-radius = mkLiteral "3px";
border-color = mkLiteral "@selected";
}
}
};
};
};
}