1
0
Fork 0

fix(rofi): clean up config and add theme

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2024-09-28 18:07:19 -04:00
parent 5e0b550f55
commit e0e0f9deb3
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47
2 changed files with 143 additions and 138 deletions

140
.config/rofi/theme.rasi Normal file
View file

@ -0,0 +1,140 @@
* {
red: rgba ( 220, 50, 47, 100 % );
blue: rgba ( 38, 139, 210, 100 % );
foreground: rgba ( 82, 93, 118, 100 % );
background: rgba ( 255, 255, 255, 100 % );
background-color: rgba ( 0, 0, 0, 0 % );
normal-foreground: @foreground;
normal-background: rgba ( 255, 255, 255, 100 % );
active-foreground: rgba ( 194, 202, 208, 100 % );
active-background: rgba ( 255, 255, 255, 100 % );
alternate-normal-foreground: @foreground;
alternate-normal-background: @background;
alternate-active-foreground: @active-foreground;
alternate-active-background: @background;
alternate-urgent-foreground: @urgent-foreground;
alternate-urgent-background: @background;
urgent-foreground: rgba ( 220, 50, 47, 100 % );
urgent-background: rgba ( 255, 255, 255, 100 % );
selected-normal-foreground: rgba ( 255, 255, 255, 100 % );
selected-normal-background: rgba ( 125, 82, 200, 100 % );
selected-active-foreground: rgba ( 194, 202, 208, 100 % );
selected-active-background: rgba ( 82, 148, 226, 100 % );
selected-urgent-foreground: rgba ( 220, 50, 47, 100 % );
selected-urgent-background: rgba ( 82, 148, 226, 100 % );
lightbg: rgba ( 238, 232, 213, 100 % );
bordercolor: rgba ( 245, 245, 245, 100 % );
lightfg: rgba ( 88, 104, 117, 100 % );
border-color: @foreground;
spacing: 2;
separatorcolor: @foreground;
}
window {
background-color: @background;
border: 1;
padding: 5;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
textbox {
text-color: @foreground;
}
listview {
fixed-height: 0;
border: 2px 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
scrollbar: true;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
element.normal.normal {
background-color: @normal-background;
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.alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element.alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element.alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
mode-switcher {
border: 2px 0px 0px ;
border-color: @separatorcolor;
}
button.selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0;
text-color: @normal-foreground;
padding: 1px ;
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @normal-foreground;
}