Use Rofi 1.5.0 style code

This commit is contained in:
Diki Ananta 2018-02-14 15:09:55 +07:00
parent 1f71f399ce
commit 66e17846bf
No known key found for this signature in database
GPG key ID: 833E0D264B13927C
4 changed files with 91 additions and 93 deletions

View file

@ -5,8 +5,8 @@
******************************************************************************/
* {
/**** Solarized colors ****
* NOTE: I am including all of them even though I am using a sub-set. I keep
/**** Solarized colors ****
* NOTE: I am including all of them even though I am using a sub-set. I keep
* tweaking my theme and having access to all of the colors here is handy. */
base03: #002b36;
@ -44,7 +44,7 @@
selected-active-background: @base02;
selected-urgent-foreground: @red;
selected-urgent-background: @base02;
alternate-normal-foreground: @foreground;
alternate-normal-background: @transparent-background;
alternate-active-foreground: @active-foreground;
@ -59,24 +59,24 @@
spacing: 2;
background-color: @transparent-background;
}
#window {
window {
background-color: @background;
border: 1;
padding: 20;
}
#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: 1px dash 0px 0px ;
border-color: @separatorcolor;
@ -84,74 +84,74 @@
scrollbar: false;
padding: 8px 0px 0px 0px;
}
#element {
element {
border: 0;
padding: 1px 0px 1px 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-width: 8px ;
padding: 0;
}
#sidebar {
sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
#button.selected {
button selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
#inputbar {
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
#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;
}