98 lines
2.9 KiB
Plaintext
98 lines
2.9 KiB
Plaintext
// Config //
|
|
configuration {
|
|
modi: "drun";
|
|
show-icons: true;
|
|
drun-display-format: "{name}";
|
|
font: "JetBrainsMono Nerd Font 8";
|
|
}
|
|
|
|
@theme "~/.config/rofi/themes/theme.rasi"
|
|
|
|
|
|
// Main //
|
|
window {
|
|
enabled: true;
|
|
fullscreen: false;
|
|
width: 2155px;
|
|
height: 850px;
|
|
transparency: "real";
|
|
cursor: "default";
|
|
spacing: 0px;
|
|
padding: 0px;
|
|
border: 0px;
|
|
border-radius: 0px;
|
|
border-color: transparent;
|
|
background-image: url("~/.config/rofi/assets/steamdeck_holographic.png", width);
|
|
background-color: transparent;
|
|
}
|
|
mainbox {
|
|
enabled: true;
|
|
children: [ "listview" ];
|
|
background-color: transparent;
|
|
orientation: horizontal;
|
|
spacing: 0px;
|
|
padding: 42px 442px 50px 450px;
|
|
}
|
|
|
|
|
|
// Lists //
|
|
listview {
|
|
enabled: true;
|
|
columns: 5;
|
|
rows: 2;
|
|
flow: horizontal;
|
|
spacing: 25px;
|
|
padding: 20px 50px 20px 50px;
|
|
cycle: true;
|
|
dynamic: true;
|
|
scrollbar: false;
|
|
reverse: true;
|
|
fixed-height: false;
|
|
fixed-columns: false;
|
|
cursor: "default";
|
|
background-color: @main-bg;
|
|
text-color: @main-fg;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
|
|
// Elements //
|
|
element {
|
|
enabled: true;
|
|
orientation: vertical;
|
|
spacing: 0px;
|
|
padding: 5px;
|
|
border-radius: 0px;
|
|
cursor: pointer;
|
|
background-color: transparent;
|
|
text-color: @main-fg;
|
|
}
|
|
@media(max-aspect-ratio: 1.8) {
|
|
element {
|
|
orientation: horizontal;
|
|
}
|
|
}
|
|
element selected.normal {
|
|
background-color: @select-bg;
|
|
text-color: @select-fg;
|
|
}
|
|
element-icon {
|
|
size: 300px;
|
|
spacing: 0px;
|
|
padding: 0px;
|
|
cursor: inherit;
|
|
border-radius: 0px;
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
element-text {
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.5;
|
|
spacing: 0px;
|
|
padding: 10px;
|
|
cursor: inherit;
|
|
background-color: transparent;
|
|
text-color: inherit;
|
|
}
|
|
|