dotfiles/rofi/styles/style_6.rasi

137 lines
3.9 KiB
Plaintext
Raw Normal View History

2024-01-25 00:08:38 -06:00
// Config //
configuration {
modi: "drun,filebrowser,window,run";
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: 500px;
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: horizontal;
children: [ "inputbar" , "mode-switcher" , "listbox" ];
background-color: @main-bg;
}
// Inputs //
inputbar {
width: 0px;
enabled: true;
children: [ "entry" ];
}
entry {
enabled: false;
}
// Modes //
mode-switcher {
width: 150px;
orientation: vertical;
enabled: true;
padding: 80px 40px 80px 40px;
spacing: 20px;
background-color: @main-bg;
}
button {
cursor: pointer;
border-radius: 50px;
background-color: @main-bg;
text-color: @main-fg;
}
button selected {
padding: 5px;
border-radius: 50px;
background-color: @main-fg;
text-color: @main-bg;
}
// Lists //
listbox {
padding: 0px;
spacing: 0px;
orientation: horizontal;
children: [ "listview" ];
background-color: transparent;
}
listview {
padding: 30px;
spacing: 0px;
enabled: true;
columns: 1;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
text-color: @main-fg;
}
// Elements //
element {
orientation: horizontal;
enabled: true;
spacing: 20px;
padding: 10px;
border-radius: 20px;
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: 50px;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}