From 974e3fbaa170e73e20664d3015a5e7ed59eaf3f0 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 28 Feb 2020 02:25:01 -0600 Subject: [PATCH] Rofi: Re-theme to breeze dark Credit to MonsieurBedard --- .config/rofi/config.rasi | 203 ++++++++++++++++++++++----------------- 1 file changed, 114 insertions(+), 89 deletions(-) diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index bcec989e..4c063968 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,122 +1,147 @@ -/* rehashedsalt's Gruvbox rofi theme - * Distributed under the terms of the MIT License - * github.com/rehashedsalt - * - * See rofi-theme(5) for documentation - * +/* + * breeze-dark.rasi + * rofi theme inspired by plasma breeze + * Theme by MonsieurBedard + * Minor tweaking done by rehashedsalt */ configuration { + /* Tweaks */ matching: "fuzzy"; show-icons: true; - drun-icon-theme: "Papirus-Color"; + drun-icon-theme: "breeze-dark"; modi: "drun,ssh,window"; - sidebar-mode: false; - - yoffset: 0; - xoffset: 0; - width: 32; + width: 24; } * { - background: #383c4a; - background-alt: #404552; - border: #2b2e39; - foreground: #fffcf6; - foreground-alt: #7c818c; - blue-dark: #457dbf; - blue: #5294e2; - yellow: #b58900; + /* Base */ + default-background: rgba(49, 52, 56, 100%); // <- change this for transparency + default-foreground: rgba(239, 240, 241, 100%); + default-border: rgba(97, 101, 105, 100%); + alternative-background: rgba(35, 38, 41, 100%); + invisible: rgba(0, 0, 0, 0%); - text-color: @foreground; - background-color: @background-alt; + /* Colors */ + hard-blue: rgba(42, 139, 218, 100%); + light-blue: rgba(24, 53, 69, 100%); + + hard-red: rgba(141, 58, 80, 100%); + light-red: rgba(77, 31, 37, 100%); + + hard-green: rgba(39, 161, 69, 100%); + light-green: rgba(19, 55, 35, 100%); + + /* Universal */ + background-color: @invisible; + border-color: @default-border; font: "Noto Sans 10"; + text-color: @default-foreground; } #window { + background-color: @default-background; + border: 0 1 1 1; + border-radius: 0 0 3 3; + border-color: @default-border; + padding: 7; + /* Tweaks */ location: north; anchor: north; - - border-color: @border; - background-color: @background-alt; - - border: 0px 1px 1px 1px; - border-radius: 0px 0px 3px 3px; - height: 50%; - width: 520px; } - #inputbar { - padding: 14px; - border: 0px 0px 1px 0px; - border-color: @border; - background-color: @background; - } +#mainbox { + border: 0; + padding: 0; +} - #case-indicator { - text-color: @foreground-alt; - background-color: @background; - } +#message { + border: 1; + border-radius: 3; + padding: 5; + background-color: @alternative-background; +} - #prompt { - padding: 0px 8px 0px 0px; - text-color: @foreground; - background-color: @background; - } +#textbox { + background-color: @entry-background; +} - #entry { - background-color: @background; - } +#listview { + fixed-height: 0; + spacing: 2; + scrollbar: false; + padding: 2 0 0; +} - #message { - padding: 4px; - } - - #textbox { - padding: 4px 12px 4px 12px; - font-color: @foreground-alt; - } +#element { + padding: 5; + border: 1; + border-radius: 3; + border-color: @invisible; +} - #listview { - padding: 4px; - spacing: 0px; - } +#element.normal.normal { + background-color: @invisible; +} - #element { - border-radius: 3px; - padding: 4px; - } +#element.normal.urgent { + background-color: @light-red; +} - #element normal active { - text-color: @blue-dark; - } +#element.normal.active { + background-color: @light-green; +} - #element normal urgent { - text-color: @yellow; - } +#element.selected.normal { + background-color: @light-blue; + border-color: @hard-blue; +} - #element selected normal { - background-color: @blue; - } +#element.selected.urgent { + background-color: @light-red; + border-color: @hard-red; +} - #element selected active { - background-color: @blue-dark; - } +#element.selected.active { + background-color: @light-green; + border-color: @hard-green; +} - #element selected urgent { - background-color: @yellow; - } +#mode-switcher { + spacing: 0; +} - #sidebar { - } +#button { + border: 0 0 3 0; + border-color: @invisible; + padding: 3; +} - #button { - padding: 8px; - } +#button.selected { + border-color: @hard-blue; +} - #button selected { - background-color: @background-alt; - } +#inputbar { + spacing: 0; + padding: 1; +} + +#case-indicator { + spacing: 0; + padding: 3px; + background-color: @alternative-background; + border: 1 1 1 0; + border-radius: 0 2 2 0; +} + +#entry { + background-color: @alternative-background; + padding: 3px; + border: 1 0 1 1; + border-radius: 2 0 0 2; +} + +#prompt { + padding: 3 7 3 0; +} -/* vim:ft=css - */