rofi: add support for lists in rasi (#1768)
This is now supported without the need of using to represent them:
9a843caa86/Official%20Themes/solarized.rasi (L134)
This commit is contained in:
parent
9dad146639
commit
3f2f7f8efa
3 changed files with 20 additions and 4 deletions
|
|
@ -7,7 +7,8 @@ with lib;
|
|||
programs.rofi = {
|
||||
enable = true;
|
||||
|
||||
theme = with config.lib.formats.rasi; {
|
||||
theme = let inherit (config.lib.formats.rasi) mkLiteral;
|
||||
in {
|
||||
"*" = {
|
||||
background-color = mkLiteral "#000000";
|
||||
foreground-color = mkLiteral "rgba ( 250, 251, 252, 100 % )";
|
||||
|
|
@ -15,6 +16,8 @@ with lib;
|
|||
width = 512;
|
||||
};
|
||||
|
||||
"#inputbar" = { children = map mkLiteral [ "prompt" "entry" ]; };
|
||||
|
||||
"#textbox-prompt-colon" = {
|
||||
expand = false;
|
||||
str = ":";
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
#inputbar {
|
||||
children: [ prompt,entry ];
|
||||
}
|
||||
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
margin: 0px 0.3em 0em 0em;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue