Redoing my rofi prompts.

This commit is contained in:
Derek Taylor
2020-12-09 17:34:15 -06:00
parent 246e529db0
commit f5d841b2be
3 changed files with 32 additions and 80 deletions

View File

@@ -1,3 +1,4 @@
configuration { rofi.theme: ~/.config/rofi/themes/dt-center.rasi
theme: "~/.config/rofi/themes/dt-center.rasi";
}

View File

@@ -1,46 +1,28 @@
/** /**
* ROFI Color theme * ROFI Color theme
* User: Derek Taylor (DistroTube) * NAME: dt-center.rasi
* Copyright: Derek Taylor (DistroTube) * DESCRIPTION: This is a centered prompt.
* AUTHOR: Derek Taylor (DT)
*/ */
* { * {
font: "Sans Bold 9"; background-color: #282c34;
selected-normal-foreground: rgba ( 29, 35, 48, 100 % ); border-color: #282c34;
foreground: rgba ( 192, 197, 206, 100 % ); text-color: #bbc2cf;
normal-foreground: @foreground; font: "SauceCodePro Nerd Font Mono 9";
alternate-normal-background: rgba ( 255, 255, 255, 7 % ); prompt-font: "Ubuntu Bold 9";
red: rgba ( 220, 50, 47, 100 % ); prompt-background: #51afef;
selected-urgent-foreground: rgba ( 51, 51, 51, 100 % ); prompt-foreground: #282c34;
blue: rgba ( 38, 139, 210, 100 % ); prompt-padding: 4px;
urgent-foreground: rgba ( 255, 153, 153, 100 % ); alternate-normal-background: #1c1f24;
alternate-urgent-background: rgba ( 255, 255, 255, 7 % ); alternate-normal-foreground: @text-color;
active-foreground: rgba ( 170, 170, 17, 100 % ); selected-normal-background: #ae3f3e;
lightbg: rgba ( 238, 232, 213, 100 % ); selected-normal-foreground: #ffffff;
selected-active-foreground: rgba ( 51, 51, 51, 100 % ); spacing: 3;
alternate-active-background: rgba ( 255, 255, 255, 7 % );
background: rgba ( 29, 35, 48, 100 % );
bordercolor: rgba ( 100, 83, 119, 100 % );
alternate-normal-foreground: @foreground;
normal-background: rgba ( 0, 0, 0, 0 % );
lightfg: rgba ( 88, 104, 117, 100 % );
selected-normal-background: rgba ( 173, 105, 175, 100 % );
border-color: rgba ( 173, 105, 175, 100 % );
spacing: 2;
separatorcolor: rgba ( 100, 83, 119, 100 % );
urgent-background: rgba ( 0, 0, 0, 0 % );
selected-urgent-background: rgba ( 255, 153, 153, 100 % );
alternate-urgent-foreground: @urgent-foreground;
background-color: rgba ( 0, 0, 0, 0 % );
alternate-active-foreground: @active-foreground;
active-background: rgba ( 0, 0, 0, 0 % );
selected-active-background: rgba ( 170, 170, 17, 100 % );
} }
#window { #window {
background-color: @background; border: 1;
border-color: @bordercolor; padding: 5;
border: 1;
padding: 5;
} }
#mainbox { #mainbox {
border: 0; border: 0;
@@ -48,16 +30,11 @@
} }
#message { #message {
border: 1px dash 0px 0px ; border: 1px dash 0px 0px ;
border-color: @bordercolor;
padding: 1px ; padding: 1px ;
} }
#textbox {
text-color: @foreground;
}
#listview { #listview {
fixed-height: 0; fixed-height: 0;
border: 2px dash 0px 0px ; border: 2px dash 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ; spacing: 2px ;
scrollbar: true; scrollbar: true;
padding: 2px 0px 0px ; padding: 2px 0px 0px ;
@@ -66,42 +43,14 @@
border: 0; border: 0;
padding: 1px ; padding: 1px ;
} }
#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 { #element.selected.normal {
background-color: @selected-normal-background; background-color: @selected-normal-background;
text-color: @selected-normal-foreground; 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 { #element.alternate.normal {
background-color: @alternate-normal-background; background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground; 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 { #scrollbar {
width: 0px ; width: 0px ;
border: 0; border: 0;
@@ -109,8 +58,7 @@
padding: 0; padding: 0;
} }
#sidebar { #sidebar {
border: 2px dash 0px 0px ; border: 2px dash 0px 0px ;
border-color: @bordercolor;
} }
#button.selected { #button.selected {
background-color: @selected-normal-background; background-color: @selected-normal-background;
@@ -118,18 +66,20 @@
} }
#inputbar { #inputbar {
spacing: 0; spacing: 0;
text-color: @normal-foreground;
padding: 1px ; padding: 1px ;
} }
#case-indicator { #case-indicator {
spacing: 0; spacing: 0;
text-color: @normal-foreground;
} }
#entry { #entry {
spacing: 0; padding: 4px 4px;
text-color: @normal-foreground; expand: false;
width: 10em;
} }
#prompt { #prompt {
spacing: 0; padding: @prompt-padding;
text-color: @normal-foreground; background-color: @prompt-background;
text-color: @prompt-foreground;
font: @prompt-font;
border-radius: 2px;
} }

View File

@@ -1,6 +1,7 @@
/** /**
* ROFI Color theme * ROFI Color theme
* NAME: dt-dmenu.rasi * NAME: dt-dmenu.rasi
* DESCRIPTION: This is a horizontal prompt similar to dmenu.
* AUTHOR: Derek Taylor (DT) * AUTHOR: Derek Taylor (DT)
*/ */