Files
nix/modules/home/hyprland/conf/rofi/themeselect.rasi
2023-10-06 12:11:50 +08:00

102 lines
3.1 KiB
Plaintext

// Config //
configuration {
modi: "drun";
show-icons: true;
drun-display-format: "{name}";
font: "JetBrainsMono Nerd Font 10";
}
@theme "~/.config/rofi/themes/theme.rasi"
// Main //
window {
enabled: true;
fullscreen: false;
width: 100%;
transparency: "real";
cursor: "default";
spacing: 0px;
padding: 0px;
border: 0px;
border-radius: 0px;
border-color: transparent;
background-color: transparent;
}
mainbox {
enabled: true;
children: [ "listview" ];
background-color: @background;
}
// Lists //
listview {
enabled: true;
columns: 3;
lines: 1;
spacing: 50px;
padding: 50px;
cycle: true;
dynamic: false;
scrollbar: false;
layout: vertical;
reverse: true;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: transparent;
text-color: @foreground;
}
// Elements //
element {
enabled: true;
orientation: horizontal;
spacing: 0px;
padding: 10px;
border-radius: 40px;
cursor: pointer;
background-color: transparent;
text-color: @foreground;
}
element normal.normal {
background-color: transparent;
text-color: @normal-foreground;
}
element normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element-icon {
size: 450px;
cursor: inherit;
border-radius: 35px;
background-color: transparent;
text-color: inherit;
}
element-text {
vertical-align: 0.5;
horizontal-align: 0.5;
cursor: inherit;
background-color: transparent;
text-color: inherit;
}