feat: rofi themes

This commit is contained in:
2025-10-20 22:45:23 +02:00
parent a529837a0e
commit 660093cff1
4 changed files with 167 additions and 2 deletions

11
rofi/config.rasi Normal file
View File

@@ -0,0 +1,11 @@
configuration {
modes: [ combi ];
combi-modes: [ window, drun, run ];
}
@theme "gruvbox-light"
entry, element-text {
text-color: red;
background-color: rgb(0,0,255);
}

154
rofi/theme.rasi Normal file
View File

@@ -0,0 +1,154 @@
/**
* Rofi default theme
**/
* {
highlight: bold italic ;
background: #f8edeb;
background-alt: Red;
separatorcolor: #d6c4c4;
highlight: #246a73;
foreground: #141c21;
normal-background: var(background);
urgent-background: var(background);
active-background: var(background);
normal-foreground: var(foreground);
urgent-foreground: var(foreground);
active-foreground: var(foreground);
selected-normal-background: var(background-alt);
selected-urgent-background: var(background-alt);
selected-active-background: var(background-alt);
selected-normal-foreground: var(foreground);
selected-urgent-foreground: var(foreground);
selected-active-foreground: var(foreground);
alternate-normal-background: var(background);
alternate-urgent-background: var(background);
alternate-active-background: var(background);
alternate-normal-foreground: var(foreground);
alternate-urgent-foreground: var(foreground);
alternate-active-foreground: var(foreground);
scrollbar: true;
scrollbar-handle: #415a77;
}
window {
padding: 2;
background-color: var(background);
border: 2;
border-radius: 8px;
width: 14%;
}
mainbox {
padding: 0;
border: 0;
}
message {
padding: 1px ;
border-color: var(separatorcolor);
border: 2px 0px 0px ;
}
textbox {
highlight: var(highlight);
text-color: var(foreground);
}
listview {
padding: 2px 0px 0px ;
scrollbar: var(scrollbar);
border-color: var(separatorcolor);
spacing: 2px ;
border: 2px 0px 0px ;
}
element {
padding: 2px ;
border: 0;
}
element normal.normal {
background-color: var(normal-background);
text-color: var(normal-foreground);
}
element normal.urgent {
background-color: var(urgent-background);
text-color: var(urgent-foreground);
}
element normal.active {
background-color: var(active-background);
text-color: var(active-foreground);
}
element selected.normal {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
element selected.urgent {
background-color: var(selected-urgent-background);
text-color: var(selected-urgent-foreground);
}
element selected.active {
background-color: var(selected-active-background);
text-color: var(selected-active-foreground);
}
element alternate.normal {
background-color: var(alternate-normal-background);
text-color: var(alternate-normal-foreground);
}
element alternate.urgent {
background-color: var(alternate-urgent-background);
text-color: var(alternate-urgent-foreground);
}
element alternate.active {
background-color: var(alternate-active-background);
text-color: var(alternate-active-foreground);
}
scrollbar {
width: 4px ;
padding: 0;
handle-width: 8px ;
border: 0;
handle-color: var(scrollbar-handle);
}
mode-switcher {
border-color: var(separatorcolor);
border: 2px 0px 0px ;
}
inputbar {
padding: 2px ;
spacing: 0;
text-color: var(normal-foreground);
children: [ "prompt","textbox-prompt-sep","entry","case-indicator" ];
}
case-indicator {
spacing: 0;
text-color: var(normal-foreground);
}
entry {
background-color: var(background);
spacing: 0;
text-color: var(foreground);
}
prompt {
spacing: 0;
text-color: var(normal-foreground);
}
button {
spacing: 0;
text-color: var(normal-foreground);
}
button selected {
background-color: var(selected-normal-background);
text-color: var(selected-normal-foreground);
}
textbox-prompt-sep {
margin: 0px 0.3000em 0px 0px ;
expand: false;
str: ":";
text-color: var(normal-foreground);
}
element-text {
background-color: var(background);
text-color: var(foreground);
}
element-icon {
background-color: inherit;
text-color: inherit;
}