This commit is contained in:
xSghetti 2025-03-24 12:32:06 -04:00
parent 97115ed0e5
commit 4ac5f5e5e5
31 changed files with 290 additions and 133 deletions

View file

@ -1,145 +1,100 @@
/* config - Wallpaper select */
/* ---- Configuration ---- */
/*****----- 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"
@theme "$HOME/.cache/wal/colors-rofi-dark.rasi"
/* ---- Global Properties ---- */
/*****----- 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;
font: "JetBrains Mono Nerd Font 10.1";
background: #11111b;
foreground: #eeeeee;
selected: #eba0ac;
active: #BD93F9;
urgent: #f38ba8;
}
/* ---- Window ---- */
/*****----- Main Window -----*****/
window {
// Default
enabled: true;
fullscreen: false;
width: 2000px;
transparency: "real";
cursor: "default";
spacing: 0px;
padding: 0px;
border-radius: 0px;
border: 2px;
border-radius: 30px;
location: center;
anchor: center;
// Style Values
width: 75%;
background-color: #00000088;
}
/* ---- Mainbox ---- */
mainbox {
enabled: true;
children: [ "listview" ];
border-color: @active;
background-color: transparent;
}
/* ---- List ---- */
/*****----- Main Box -----*****/
mainbox {
enabled: true;
children: [ "listview" ];
background-color: @background;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 4;
lines: 2;
padding: 26px 36px;
columns: 6;
lines: 1;
spacing: 50px;
padding: 20px 150px;
cycle: true;
dynamic: true;
dynamic: false;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
spacing: 20px;
// Adapt rofi theme
border: 0px;
text-color: @foreground;
}
/* ---- Elements ---- */
/*****----- Elements -----*****/
element {
enabled: true;
orientation: vertical;
expand: false;
orientation: horizontal;
spacing: 0px;
padding: 5px 10px;
border-radius: 26px;
padding: 0px;
border-radius: 20px;
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;
@media(max-aspect-ratio: 1.8) {
element {
orientation: vertical;
}
}
element selected.normal {
background-color: @selected;
text-color: @text-selected;
text-color: @background;
}
// 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%;
size: 33%;
cursor: inherit;
expand: false;
padding: 0px;
background-color: inherit;
border-radius: 0px;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
padding: 20px;
cursor: inherit;
background-color: transparent;
}
// Adapt rofi theme
element.alternate.normal {
background-color: inherit;
text-color: inherit;
}
}