148 lines
4.0 KiB
Plaintext
148 lines
4.0 KiB
Plaintext
|
/* Copyright (C) 2020-2021 Aditya Shakya <adi1090x@gmail.com> */
|
||
|
/* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */
|
||
|
|
||
|
configuration {
|
||
|
show-icons: true;
|
||
|
display-drun: "Applications :";
|
||
|
drun-display-format: "{icon} {name}";
|
||
|
disable-history: false;
|
||
|
sidebar-mode: false;
|
||
|
}
|
||
|
|
||
|
@import "font.rasi"
|
||
|
@import "colors.rasi"
|
||
|
|
||
|
window {
|
||
|
transparency: "real";
|
||
|
background-color: @BG;
|
||
|
text-color: @FG;
|
||
|
border-radius: 0px;
|
||
|
width: 500px;
|
||
|
location: center;
|
||
|
anchor: center;
|
||
|
x-offset: 0;
|
||
|
y-offset: 0;
|
||
|
}
|
||
|
|
||
|
prompt {
|
||
|
enabled: true;
|
||
|
padding: 4px 4px 6px 6px;
|
||
|
background-color: @BG;
|
||
|
text-color: @FG;
|
||
|
}
|
||
|
|
||
|
textbox-prompt-colon {
|
||
|
expand: false;
|
||
|
str: "";
|
||
|
background-color: @BG;
|
||
|
text-color: @IMG;
|
||
|
padding: 4px 0px 0px 8px;
|
||
|
font: "feather 8";
|
||
|
}
|
||
|
|
||
|
inputbar {
|
||
|
children: [ textbox-prompt-colon, prompt, entry ];
|
||
|
background-color: @BG;
|
||
|
text-color: @FG;
|
||
|
expand: false;
|
||
|
border: 0px 0px 1px 0px;
|
||
|
border-radius: 0px;
|
||
|
border-color: @BDR;
|
||
|
margin: 0px 0px 0px 0px;
|
||
|
padding: 0px 0px 0px 0px;
|
||
|
position: center;
|
||
|
}
|
||
|
|
||
|
|
||
|
entry {
|
||
|
background-color: @BG;
|
||
|
text-color: @FG;
|
||
|
placeholder-color: @FG;
|
||
|
expand: true;
|
||
|
horizontal-align: 0;
|
||
|
placeholder: "";
|
||
|
blink: true;
|
||
|
padding: 4px 0px 0px 0px;
|
||
|
}
|
||
|
|
||
|
case-indicator {
|
||
|
background-color: @BG;
|
||
|
text-color: @FG;
|
||
|
spacing: 0;
|
||
|
}
|
||
|
|
||
|
|
||
|
listview {
|
||
|
background-color: @BG;
|
||
|
columns: 2;
|
||
|
lines: 10;
|
||
|
spacing: 4px;
|
||
|
cycle: false;
|
||
|
dynamic: true;
|
||
|
layout: vertical;
|
||
|
}
|
||
|
|
||
|
mainbox {
|
||
|
background-color: @BG;
|
||
|
children: [ inputbar, listview ];
|
||
|
spacing: 5px;
|
||
|
padding: 5px 5px 5px 5px;
|
||
|
}
|
||
|
|
||
|
element {
|
||
|
background-color: @BG;
|
||
|
text-color: @FG;
|
||
|
orientation: horizontal;
|
||
|
border-radius: 4px;
|
||
|
padding: 4px 4px 4px 4px;
|
||
|
}
|
||
|
|
||
|
element-icon {
|
||
|
background-color: inherit;
|
||
|
text-color: inherit;
|
||
|
horizontal-align: 0.5;
|
||
|
vertical-align: 0.5;
|
||
|
size: 16px;
|
||
|
border: 0px;
|
||
|
}
|
||
|
|
||
|
element-text {
|
||
|
background-color: inherit;
|
||
|
text-color: inherit;
|
||
|
expand: true;
|
||
|
horizontal-align: 0;
|
||
|
vertical-align: 0.5;
|
||
|
margin: 2px 0px 2px 4px;
|
||
|
}
|
||
|
|
||
|
element normal.urgent,
|
||
|
element alternate.urgent {
|
||
|
background-color: @UGT;
|
||
|
text-color: @FG;
|
||
|
border-radius: 9px;
|
||
|
}
|
||
|
|
||
|
element normal.active,
|
||
|
element alternate.active {
|
||
|
background-color: @BGA;
|
||
|
text-color: @FG;
|
||
|
}
|
||
|
|
||
|
element selected {
|
||
|
background-color: @BG;
|
||
|
text-color: @SEL;
|
||
|
border: 0px;
|
||
|
border-radius: 0px;
|
||
|
border-color: @BDR;
|
||
|
}
|
||
|
|
||
|
element selected.urgent {
|
||
|
background-color: @UGT;
|
||
|
text-color: @FG;
|
||
|
}
|
||
|
|
||
|
element selected.active {
|
||
|
background-color: @BGA;
|
||
|
color: @FG;
|
||
|
}
|