148 lines
4.4 KiB
Plaintext
148 lines
4.4 KiB
Plaintext
|
/**
|
||
|
* Copyright (C) 2020-2023 Aditya Shakya <adi1090x@gmail.com>
|
||
|
**/
|
||
|
|
||
|
/*****----- Configuration -----*****/
|
||
|
configuration {
|
||
|
show-icons: false;
|
||
|
}
|
||
|
|
||
|
/*****----- Global Properties -----*****/
|
||
|
@import "shared/colors.rasi"
|
||
|
@import "shared/fonts.rasi"
|
||
|
|
||
|
/*
|
||
|
USE_ICON=NO
|
||
|
*/
|
||
|
|
||
|
/*****----- Main Window -----*****/
|
||
|
window {
|
||
|
transparency: "real";
|
||
|
location: southeast;
|
||
|
anchor: southeast;
|
||
|
fullscreen: false;
|
||
|
width: 300px;
|
||
|
x-offset: -15%;
|
||
|
y-offset: -68px;
|
||
|
margin: 0px;
|
||
|
padding: 0px;
|
||
|
border: 0px solid;
|
||
|
border-radius: 4px;
|
||
|
border-color: @selected;
|
||
|
cursor: "default";
|
||
|
background-color: @background;
|
||
|
}
|
||
|
|
||
|
/*****----- Main Box -----*****/
|
||
|
mainbox {
|
||
|
enabled: true;
|
||
|
spacing: 10px;
|
||
|
margin: 0px;
|
||
|
padding: 20px;
|
||
|
background-color: transparent;
|
||
|
children: [ "inputbar", "message", "listview" ];
|
||
|
}
|
||
|
|
||
|
/*****----- Inputbar -----*****/
|
||
|
inputbar {
|
||
|
enabled: true;
|
||
|
spacing: 0px;
|
||
|
padding: 0px;
|
||
|
border: 0px;
|
||
|
border-radius: 0px;
|
||
|
border-color: @selected;
|
||
|
background-color: transparent;
|
||
|
text-color: @foreground;
|
||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||
|
}
|
||
|
|
||
|
textbox-prompt-colon {
|
||
|
enabled: true;
|
||
|
expand: false;
|
||
|
str: "";
|
||
|
padding: 10px 14px;
|
||
|
border-radius: 6px;
|
||
|
background-color: @selected;
|
||
|
text-color: @background;
|
||
|
}
|
||
|
prompt {
|
||
|
enabled: true;
|
||
|
padding: 10px;
|
||
|
border-radius: 0px;
|
||
|
background-color: @background;
|
||
|
text-color: @foreground;
|
||
|
}
|
||
|
|
||
|
/*****----- Message -----*****/
|
||
|
message {
|
||
|
enabled: true;
|
||
|
margin: 0px;
|
||
|
padding: 10px;
|
||
|
border: 0px solid;
|
||
|
border-radius: 6px;
|
||
|
border-color: @selected;
|
||
|
background-color: @background-alt;
|
||
|
text-color: @foreground;
|
||
|
}
|
||
|
textbox {
|
||
|
background-color: inherit;
|
||
|
text-color: inherit;
|
||
|
vertical-align: 0.5;
|
||
|
horizontal-align: 0.0;
|
||
|
}
|
||
|
|
||
|
/*****----- Listview -----*****/
|
||
|
listview {
|
||
|
enabled: true;
|
||
|
columns: 6;
|
||
|
lines: 1;
|
||
|
cycle: true;
|
||
|
scrollbar: false;
|
||
|
layout: vertical;
|
||
|
|
||
|
spacing: 10px;
|
||
|
background-color: transparent;
|
||
|
cursor: "default";
|
||
|
}
|
||
|
|
||
|
/*****----- Elements -----*****/
|
||
|
element {
|
||
|
enabled: true;
|
||
|
padding: 10px;
|
||
|
border: 0px solid;
|
||
|
border-radius: 6px;
|
||
|
border-color: @selected;
|
||
|
background-color: transparent;
|
||
|
text-color: @foreground;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
element-text {
|
||
|
background-color: transparent;
|
||
|
text-color: inherit;
|
||
|
cursor: inherit;
|
||
|
vertical-align: 0.5;
|
||
|
horizontal-align: 0.5;
|
||
|
}
|
||
|
|
||
|
element normal.normal,
|
||
|
element alternate.normal {
|
||
|
background-color: var(background-alt);
|
||
|
text-color: var(foreground);
|
||
|
}
|
||
|
element normal.urgent,
|
||
|
element alternate.urgent,
|
||
|
element selected.active {
|
||
|
background-color: var(urgent);
|
||
|
text-color: var(background);
|
||
|
}
|
||
|
element normal.active,
|
||
|
element alternate.active,
|
||
|
element selected.urgent {
|
||
|
background-color: var(active);
|
||
|
text-color: var(background);
|
||
|
}
|
||
|
element selected.normal {
|
||
|
background-color: var(selected);
|
||
|
text-color: var(background);
|
||
|
}
|