154 lines
4.6 KiB
Plaintext
154 lines
4.6 KiB
Plaintext
// Config //
|
|
configuration {
|
|
modi: "drun,filebrowser,window";
|
|
show-icons: true;
|
|
display-drun: "";
|
|
display-run: "";
|
|
display-filebrowser: "";
|
|
display-window: "";
|
|
drun-display-format: "{name}";
|
|
window-format: "{w}{t}";
|
|
font: "JetBrainsMono Nerd Font 10";
|
|
icon-theme: "Tela-circle-dracula";
|
|
}
|
|
|
|
@theme "~/.config/rofi/themes/theme.rasi"
|
|
|
|
|
|
// Main //
|
|
window {
|
|
height: 200px;
|
|
width: 600px;
|
|
transparency: "real";
|
|
fullscreen: false;
|
|
enabled: true;
|
|
cursor: "default";
|
|
spacing: 0px;
|
|
padding: 0px;
|
|
border: 2px;
|
|
border-radius: 40px;
|
|
border-color: @main-br;
|
|
background-color: transparent;
|
|
}
|
|
mainbox {
|
|
enabled: true;
|
|
spacing: 0px;
|
|
padding: 0px;
|
|
orientation: vertical;
|
|
children: [ "listbox" , "inputmode" ];
|
|
background-color: transparent;
|
|
background-image: url("~/.config/swww/wall.blur", width);
|
|
}
|
|
|
|
|
|
// Lists //
|
|
listbox {
|
|
padding: 0px;
|
|
spacing: 0px;
|
|
orientation: horizontal;
|
|
children: [ "listview" ];
|
|
background-color: transparent;
|
|
}
|
|
listview {
|
|
padding: 10px;
|
|
spacing: 0px;
|
|
enabled: true;
|
|
columns: 5;
|
|
cycle: true;
|
|
dynamic: true;
|
|
scrollbar: false;
|
|
layout: vertical;
|
|
reverse: false;
|
|
fixed-height: true;
|
|
fixed-columns: true;
|
|
cursor: "default";
|
|
background-color: @main-bg;
|
|
text-color: @main-fg;
|
|
}
|
|
|
|
|
|
// Inputs //
|
|
inputmode {
|
|
padding: 0px;
|
|
spacing: 0px;
|
|
orientation: horizontal;
|
|
children: [ "inputbar" , "mode-switcher" ];
|
|
background-color: transparent;
|
|
}
|
|
inputbar {
|
|
enabled: true;
|
|
width: 400px;
|
|
height: 0px;
|
|
spacing: 0px;
|
|
padding: 30px 10px 30px 65px;
|
|
children: [ "entry" ];
|
|
background-color: transparent;
|
|
}
|
|
entry {
|
|
vertical-align: 0.5;
|
|
border-radius: 50px;
|
|
enabled: true;
|
|
spacing: 0px;
|
|
padding: 10px;
|
|
text-color: @main-fg;
|
|
background-color: @main-bg;
|
|
}
|
|
|
|
|
|
// Modes //
|
|
mode-switcher {
|
|
width: 200px;
|
|
orientation: horizontal;
|
|
enabled: true;
|
|
padding: 30px 65px 30px 0px;
|
|
spacing: 10px;
|
|
background-color: transparent;
|
|
}
|
|
button {
|
|
cursor: pointer;
|
|
padding: 0px;
|
|
border-radius: 50px;
|
|
background-color: @main-bg;
|
|
text-color: @main-fg;
|
|
}
|
|
button selected {
|
|
background-color: @main-fg;
|
|
text-color: @main-bg;
|
|
}
|
|
|
|
|
|
// Elements //
|
|
element {
|
|
orientation: vertical;
|
|
enabled: true;
|
|
spacing: 0px;
|
|
padding: 10px;
|
|
border-radius: 25px;
|
|
cursor: pointer;
|
|
background-color: transparent;
|
|
text-color: @main-fg;
|
|
}
|
|
@media(max-aspect-ratio: 1.8) {
|
|
element {
|
|
orientation: vertical;
|
|
}
|
|
}
|
|
element selected.normal {
|
|
background-color: @select-bg;
|
|
text-color: @select-fg;
|
|
}
|
|
element-icon {
|
|
size: 38px;
|
|
cursor: inherit;
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
element-text {
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.5;
|
|
cursor: inherit;
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
|