Files
2026-01-14 00:01:51 +03:00

163 lines
5.0 KiB
Plaintext

/*****----- Global Properties -----*****/
@import "themes/colors.rasi"
@import "themes/fonts.rasi"
/*****----- Main Window -----*****/
window {
/* properties for window widget */
transparency: "real";
location: center;
anchor: center;
fullscreen: true;
width: 0px;
x-offset: 0px;
y-offset: 0px;
/* properties for all widgets */
enabled: true;
margin: 0px 0px;
padding: 0px;
border-color: transparent;
border-radius: 0px;
cursor: "default";
background-color: @blur;
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 1ch;
margin: 25ch 42ch;
padding: 3ch;
background-color: transparent;
children: [ "inputbar", "message", "listview"];
}
/*****----- Inputbar -----*****/
inputbar {
enabled: true;
spacing: 1ch;
margin: 0px;
padding: 1ch;
border-radius: 0px;
//background-color: @background-alt;
text-color: @foreground;
children: [ "textbox-prompt-colon", "entry" ];
}
prompt {
enabled: true;
background-color: inherit;
text-color: inherit;
}
textbox-prompt-colon {
enabled: true;
padding: 0px;
expand: false;
str: " ";
background-color: inherit;
text-color: inherit;
}
entry {
enabled: true;
padding: 0px;
background-color: inherit;
text-color: inherit;
cursor: text;
placeholder: "Search";
placeholder-color: inherit;
}
/*****----- Listview -----*****/
listview {
enabled: true;
padding: 2.5ch 0 0;
columns: 3;
lines: 7;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 1.2ch;
cursor: "default";
}
scrollbar {
handle-width: 0.5ch;
//handle-color: trasnparent;
border-radius: 1ch;
//background-color: transparent;
}
/*****----- Elements -----*****/
element {
enabled: true;
spacing: 1.9ch;
margin: 0px;
padding: 0.8ch 0.8ch 0.8ch 1.2ch;
border-radius: 1.3ch;
text-color: @foreground;
cursor: pointer;
}
element normal.normal,
element alternate.normal {
background-color: transparent;
}
element normal.urgent,
element alternate.urgent,
element selected.active,
element normal.urgent element-text,
element alternate.urgent element-text,
element selected element-text,
element selected.active element-text{
text-color: @purple;
}
element selected.normal {
background-color: @purple;
text-color: #fff;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 2.7ch;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
highlight: inherit;
cursor: inherit;
vertical-align: 0.5ch;
horizontal-align: 0.0ch;
}
/*****----- Message -----*****/
message {
enabled: true;
margin: 0px;
padding: 1ch;
border-radius: 0px;
background-color: @background-alt;
text-color: @foreground;
}
textbox {
background-color: transparent;
text-color: @foreground;
vertical-align: 0.5ch;
horizontal-align: 0.0ch;
highlight: none;
placeholder-color: @foreground;
blink: true;
markup: true;
}
error-message {
padding: 3ch;
background-color: @purple;
text-color: @foreground;
}
/*@theme "/usr/share/rofi/themes/DarkBlue.rasi"*/