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