Files
archcraft-berry/files/rofi/themes/launcher.rasi
T
2022-04-01 18:51:16 +05:30

209 lines
4.9 KiB
Plaintext

/* Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com> */
/* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */
configuration {
location: 8;
fixed-num-lines: true;
show-icons: true;
sidebar-mode: true;
scroll-method: 1;
window-format: "[{w}] | {c} | {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "colors.rasi"
* {
font: "JetBrains Mono Medium 10";
background-color: @background;
}
window {
border: 1px;
border-color: @selected;
border-radius: 14px;
width: 420px;
height: 90%;
x-offset: 20;
y-offset: 28;
}
prompt {
spacing: 0;
border: 0;
border-radius: 100%;
background-color: @background-alt;
text-color: @foreground;
padding: 6px 14px 6px 10px;
}
textbox-prompt-colon {
background-color: @selected;
expand: false;
str: "";
padding: 6px 4px 6px 4px;
text-color: inherit;
}
entry {
spacing: 0;
expand: true;
horizontal-align: 0;
background-color: @selected;
text-color: @background;
placeholder-color: @background;
placeholder: "Search...";
padding: 6px 2px 6px 2px;
border: 0px 0px 0px 0px;
border-color: @selected;
border-radius: 0px;
}
case-indicator {
spacing: 0;
text-color: @foreground;
}
inputbar {
background-color: @selected;
spacing: 0px;
padding: 2px;
text-color: @background;
border: 1px;
border-color: @selected;
border-radius: 100%;
children: [ prompt,textbox-prompt-colon,entry ];
}
mainbox {
border: 0px;
border-color: @selected;
spacing: 10px;
padding: 25px;
}
listview {
lines: 7;
columns: 1;
fixed-height: 0;
border: 0px;
border-color: @foreground;
spacing: 5px;
scrollbar: false;
padding: 5px 0px 0px;
}
element-icon {
background-color: inherit;
text-color: inherit;
horizontal-align: 0.5;
vertical-align: 0.5;
size: 24px;
border: 0px;
}
element-text {
background-color: inherit;
text-color: inherit;
expand: true;
horizontal-align: 0;
vertical-align: 0.5;
margin: 2px 0px 2px 10px;
}
element {
border: 0px;
padding: 6px;
}
element normal.normal {
background-color: @background;
text-color: @foreground;
}
element normal.urgent {
background-color: @background;
text-color: @off;
}
element normal.active {
background-color: @background;
text-color: @on;
}
element selected.normal {
background-color: @on;
text-color: @foreground;
border: 0px;
border-radius: 100%;
border-color: @selected;
}
element selected.urgent {
background-color: @background;
text-color: @off;
}
element selected.active {
background-color: @background;
text-color: @selected;
}
element alternate.normal {
background-color: @background;
text-color: @foreground;
}
element alternate.urgent {
background-color: @background;
text-color: @foreground;
}
element alternate.active {
background-color: @background;
text-color: @foreground;
}
sidebar {
border: 0px;
border-color: @selected;
border-radius: 0px;
}
button {
margin: 5px 10px 0px 10px;
horizontal-align: 0.5;
vertical-align: 0.5;
padding: 10px;
background-color: @background-alt;
text-color: @foreground;
border: 0px;
border-radius: 100%;
border-color: @selected;
}
button selected {
background-color: @selected;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @selected;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @foreground;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @selected;
padding: 1px;
}
textbox {
text-color: @foreground;
}