rofi: use dracula-sidebar theme

This commit is contained in:
LordMZTE 2022-07-11 17:38:28 +02:00
parent abb8e8e6de
commit 3f9127a5c4
Signed by: LordMZTE
GPG Key ID: B64802DC33A64FF6
3 changed files with 115 additions and 130 deletions

View File

@ -6,4 +6,4 @@ configuration {
icon-theme: "candy-icons";
combi-modi: "drun,nheko,window,run";
}
@theme "/home/lordmzte/.local/share/rofi/themes/dracula.rasi"
@theme "dracula-sidebar.rasi"

View File

@ -0,0 +1,114 @@
/**
* ROFI Color theme
* User: Qball
* Copyright: Dave Davenport
*/
* {
text-color: #f8f8f2;
background-color: #282a3630;
dark: #282a36;
// Black
black: #282a36;
lightblack: #44475a;
//
// Red
red: #ff5555;
lightred: #ff6e6e;
//
// Green
green: #50fa7b;
lightgreen: #69ff94;
//
// Yellow
yellow: #f1fa8c;
lightyellow: #ffffa5;
//
// Blue
blue: #bd93f9;
lightblue: #d6acff;
//
// Magenta
magenta: #ff79c6;
lightmagenta: #ff92df;
//
// Cyan
cyan: #8be9fd;
lightcyan: #a4ffff;
//
// White
white: #f8f8f2;
lightwhite: #ffffff;
//
// Bold, Italic, Underline
highlight: bold #ffffff;
}
window {
height: 100%;
width: 30em;
location: west;
anchor: west;
border: 0px 2px 0px 0px;
text-color: @lightwhite;
}
mode-switcher {
border: 2px 0px 0px 0px;
background-color: @lightblack;
padding: 4px;
}
button selected {
border-color: @lightgreen;
text-color: @lightgreen;
}
inputbar {
background-color: @lightblack;
text-color: @lightgreen;
padding: 4px;
border: 0px 0px 2px 0px;
}
mainbox {
expand: true;
background-color: #1c1c1cee;
spacing: 1em;
}
listview {
padding: 0em 0.4em 0em 1em;
dynamic: false;
lines: 0;
}
element-text {
background-color: inherit;
text-color: inherit;
}
element selected normal {
background-color: @blue;
}
element normal active {
text-color: @lightblue;
}
element normal urgent {
text-color: @lightred;
}
element alternate normal {
}
element alternate active {
text-color: @lightblue;
}
element alternate urgent {
text-color: @lightred;
}
element selected active {
background-color: @lightblue;
text-color: @dark;
}
element selected urgent {
background-color: @lightred;
text-color: @dark;
}
error-message {
expand: true;
background-color: red;
border-color: darkred;
border: 2px;
padding: 1em;
}

View File

@ -1,129 +0,0 @@
/*Dracula theme based on the Purple official rofi theme*/
/*Modified*/
* {
foreground: #f8f8f2;
background-color: #282a36;
active-background: #6272a4;
urgent-background: #ff5555;
selected-background: @active-background;
selected-urgent-background: @urgent-background;
selected-active-background: @active-background;
separatorcolor: @active-background;
bordercolor: @active-background;
}
window {
background-color: @background;
border: 1;
border-radius: 0;
border-color: @bordercolor;
padding: 5;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 1px dash 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
textbox {
text-color: @foreground;
}
listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
border-color: @bordercolor;
spacing: 2px ;
scrollbar: false;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
element-icon {
background-color: inherit;
}
element.normal.normal {
background-color: @background;
text-color: @foreground;
}
element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element.normal.active {
background-color: @active-background;
text-color: @foreground;
}
element.selected.normal {
background-color: @selected-background;
text-color: @foreground;
}
element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @foreground;
}
element.selected.active {
background-color: @selected-active-background;
text-color: @foreground;
}
element.alternate.normal {
background-color: @background;
text-color: @foreground;
}
element.alternate.urgent {
background-color: @urgent-background;
text-color: @foreground;
}
element.alternate.active {
background-color: @active-background;
text-color: @foreground;
}
scrollbar {
width: 2px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
button.selected {
background-color: @selected-background;
text-color: @foreground;
}
inputbar {
spacing: 0;
text-color: @foreground;
padding: 1px ;
}
case-indicator {
spacing: 0;
text-color: @foreground;
}
entry {
spacing: 0;
text-color: @foreground;
}
prompt {
spacing: 0;
text-color: @foreground;
}
inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3em 0em 0em ;
text-color: @foreground;
}