hyprcrux/.config/rofi/themes/wallpaper-select.rasi
2024-02-25 10:58:33 -05:00

145 lines
No EOL
4.1 KiB
Text

/* config - Wallpaper select */
/* ---- Configuration ---- */
configuration {
modi: "drun";
show-icons: true;
drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font 10";
drun-display-format: "{name}";
hover-select: true;
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
window-format: "{w} · {c} · {t}";
dpi: 1;
font: "JetBrains Mono Nerd Font 10";
}
/* ---- Load pywal colors ---- */
@theme "~/.cache/wal/colors-rofi-dark.rasi"
/* ---- Global Properties ---- */
* {
background-alt: @selected-active-background; // Buttons background
selected: @selected-normal-background; // Button selected
active: @selected-urgent-background; // Window activated
urgent: @selected-normal-background; // When hovering the activated window (maybe more?)
text-selected: @background;
text-color: @foreground;
border-color: @selected;
}
/* ---- Window ---- */
window {
// Default
enabled: true;
fullscreen: false;
transparency: "real";
cursor: "default";
spacing: 0px;
border: 2px;
border-radius: 30px;
location: center;
anchor: center;
// Style Values
width: 75%;
background-color: #00000088;
}
/* ---- Mainbox ---- */
mainbox {
enabled: true;
children: [ "listview" ];
background-color: transparent;
}
/* ---- List ---- */
listview {
enabled: true;
columns: 4;
lines: 2;
padding: 26px 36px;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
background-color: transparent;
spacing: 20px;
// Adapt rofi theme
border: 0px;
}
/* ---- Elements ---- */
element {
enabled: true;
orientation: vertical;
expand: false;
spacing: 0px;
padding: 5px 10px;
border-radius: 26px;
cursor: pointer;
background-color: transparent;
}
element normal.normal {
background-color: inherit;
text-color: inherit;
}
element normal.urgent {
background-color: @urgent;
text-color: @foreground;
}
element normal.active {
background-color: @active;
text-color: @foreground;
}
element selected.normal {
background-color: @selected;
text-color: @text-selected;
}
// Adapt rofi theme
element alternate.normal {
background-color: transparent;
text-color: inherit;
}
element alternate.urgent {
background-color: transparent;
text-color: inherit;
}
element alternate.active {
background-color: transparent;
text-color: inherit;
}
/* ---- Image Box ---- */
element-icon {
size: 30%;
cursor: inherit;
expand: false;
padding: 0px;
background-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
cursor: inherit;
background-color: transparent;
}
// Adapt rofi theme
element.alternate.normal {
background-color: inherit;
text-color: inherit;
}