aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Scarpino <scarpino@kde.org>2018-03-02 00:31:53 +0100
committerJordi Pakey-Rodriguez <0xdec@users.noreply.github.com>2018-03-01 17:31:53 -0600
commited1925e198eef0c6630f457c5843f112526b86ae (patch)
treef3438908a0883dda5c2c38ab0938ae2b541100d4
parent76381c4d1e59beb269a396260d5143c48e492a0b (diff)
Support Rofi 1.5 (#7)
Closes #6
-rw-r--r--templates/default.mustache55
1 files changed, 31 insertions, 24 deletions
diff --git a/templates/default.mustache b/templates/default.mustache
index ba5c721..897434d 100644
--- a/templates/default.mustache
+++ b/templates/default.mustache
@@ -33,24 +33,24 @@
active-background: @background;
selected-active-background: @blue;
}
-#window {
+window {
background-color: @background;
border: 1;
padding: 5;
}
-#mainbox {
+mainbox {
border: 0;
padding: 0;
}
-#message {
+message {
border: 1px dash 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
-#textbox {
+textbox {
text-color: @foreground;
}
-#listview {
+listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
@@ -58,79 +58,86 @@
scrollbar: true;
padding: 2px 0px 0px ;
}
-#element {
+element {
border: 0;
padding: 1px ;
}
-#element.normal.normal {
+element normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
-#element.normal.urgent {
+element normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
-#element.normal.active {
+element normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
-#element.selected.normal {
+element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
-#element.selected.urgent {
+element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
-#element.selected.active {
+element selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
-#element.alternate.normal {
+element alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
-#element.alternate.urgent {
+element alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
-#element.alternate.active {
+element alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
-#scrollbar {
+scrollbar {
width: 4px ;
border: 0;
handle-color: @normal-foreground;
handle-width: 8px ;
padding: 0;
}
-#sidebar {
+sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
-#button {
+button {
spacing: 0;
text-color: @normal-foreground;
}
-#button.selected {
+button selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
-#inputbar {
- spacing: 0;
+inputbar {
+ spacing: 0px;
text-color: @normal-foreground;
padding: 1px ;
+ children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
-#case-indicator {
+case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
-#entry {
+entry {
spacing: 0;
text-color: @normal-foreground;
}
-#prompt {
+prompt {
spacing: 0;
text-color: @normal-foreground;
}
+textbox-prompt-colon {
+ expand: false;
+ str: ":";
+ margin: 0px 0.3000em 0.0000em 0.0000em ;
+ text-color: inherit;
+}