From 8cbbcc14037f9bad53bf35314ac6b23deed626d3 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Mon, 6 Sep 2021 00:34:47 -0400 Subject: [PATCH] ENH update rofi theme --- dot_config/rofi/blackice.rasi | 124 ++++++++++++++++++---------------- 1 file changed, 65 insertions(+), 59 deletions(-) diff --git a/dot_config/rofi/blackice.rasi b/dot_config/rofi/blackice.rasi index 9be8205..cd755bd 100644 --- a/dot_config/rofi/blackice.rasi +++ b/dot_config/rofi/blackice.rasi @@ -9,56 +9,46 @@ foreground: white; background: black / 70%; - normal-foreground: @foreground; - active-foreground: @foreground; - urgent-foreground: @foreground; normal-background: transparent; urgent-background: transparent; - active-background: #4A4080; + active-background: #2B4D70; - alternate-normal-foreground: @foreground; - alternate-urgent-foreground: @urgent-foreground; - alternate-active-foreground: @active-foreground; alternate-normal-background: white / 8%; alternate-urgent-background: red / 8%; alternate-active-background: @active-background; - selected-normal-foreground: @foreground; - selected-urgent-foreground: @foreground; - selected-active-foreground: @foreground; - selected-normal-background: #7f66ff; + selected-normal-background: #3399ff; selected-urgent-background: #ff8282; selected-active-background: @selected-normal-background; - red: rgba ( 220, 50, 47, 100 % ); - blue: rgba ( 51, 139, 210, 100 % ); - - lightbg: rgba ( 238, 232, 213, 100 % ); - lightfg: rgba ( 88, 104, 117, 100 % ); - border-color: #777; separatorcolor: white; background-color: transparent; } -#window { + +window { background-color: black / 70%; fullscreen: true; padding: 30%; } -#mainbox { + +mainbox { border: 1; padding: 6; background-color: @background; } -#message { + +message { border: 2px 0px 0px; border-color: @separatorcolor; padding: 5px 1px 3px 1px; } -#textbox { + +textbox { text-color: @foreground; } -#listview { + +listview { fixed-height: 0; border: 2px dash 0px 0px; border-color: @separatorcolor; @@ -66,88 +56,104 @@ scrollbar: true; padding: 2px 0px 0px; } -#element { + +element { border: 0; padding: 1px ; } -#element.normal.normal { + +element-text { + background-color: inherit; + text-color: @foreground; +} + +element.normal.normal { background-color: @normal-background; - text-color: @normal-foreground; } -#element.normal.urgent { + +element.normal.urgent { background-color: @urgent-background; - text-color: @urgent-foreground; } -#element.normal.active { + +element.normal.active { background-color: @active-background; - text-color: @active-foreground; } -#element.selected.normal { + +element.selected.normal { background-color: @selected-normal-background; - text-color: @selected-normal-foreground; } -#element.selected.urgent { + +element.selected.urgent { background-color: @selected-urgent-background; - text-color: @selected-urgent-foreground; } -#element.selected.active { + +element.selected.active { background-color: @selected-active-background; - text-color: @selected-active-foreground; } -#element.alternate.normal { + +element.alternate.normal { background-color: @alternate-normal-background; - text-color: @alternate-normal-foreground; } -#element.alternate.urgent { + +element.alternate.urgent { background-color: @alternate-urgent-background; - text-color: @alternate-urgent-foreground; } -#element.alternate.active { + +element.alternate.active { background-color: @alternate-active-background; - text-color: @alternate-active-foreground; } -#scrollbar { + +scrollbar { width: 4px ; border: 0; - handle-color: @normal-foreground; + handle-color: @foreground; handle-width: 8px ; padding: 0; } -#sidebar { + +sidebar { border: 2px 0px 0px ; border-color: @separatorcolor; } -#button { + +button { spacing: 0; - text-color: @normal-foreground; + text-color: @foreground; } -#button.selected { + +button.selected { background-color: @selected-normal-background; - text-color: @selected-normal-foreground; + text-color: @foreground; } -#inputbar { + +inputbar { spacing: 0; - text-color: @normal-foreground; + text-color: @foreground; padding: 1px; } -#case-indicator { + +case-indicator { spacing: 0; - text-color: @normal-foreground; + text-color: @foreground; } -#entry { + +entry { spacing: 0; - text-color: @normal-foreground; + text-color: @foreground; } -#prompt { + +prompt { spacing: 0; - text-color: @normal-foreground; + text-color: @foreground; } -#inputbar { + +inputbar { children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; } -#textbox-prompt-colon { + +textbox-prompt-colon { expand: false; str: ":"; margin: 0px 0.3em 0em 0em ; - text-color: @normal-foreground; + text-color: @foreground; }