From 5ca9a547a4cbc629948d2bed4db36bc12248e775 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Thu, 20 Apr 2023 19:58:14 +0300 Subject: [PATCH] Rofi theme fix --- rofi/themes/Monokai.rasi | 52 +++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 24 deletions(-) diff --git a/rofi/themes/Monokai.rasi b/rofi/themes/Monokai.rasi index 201b593..613d4d0 100644 --- a/rofi/themes/Monokai.rasi +++ b/rofi/themes/Monokai.rasi @@ -35,24 +35,24 @@ active-background: rgba ( 39, 40, 34, 0 % ); selected-active-background: rgba ( 20, 20, 17, 100 % ); } -#window { +window { background-color: @background; border: 1; padding: 5; } -#mainbox { +mainbox { border: 0; padding: 0; } -#message { +message { border: 2px 0px 0px ; border-color: @separatorcolor; padding: 1px ; } -#textbox { +textbox { text-color: @foreground; } -#listview { +listview { fixed-height: 0; border: 2px 0px 0px ; border-color: @separatorcolor; @@ -60,81 +60,85 @@ scrollbar: true; padding: 2px 0px 0px ; } -#element { +element { border: 0; padding: 1px ; } -#element.normal.normal { +element-text { + background-color: inherit; + text-color: inherit; +} +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-width: 8px ; padding: 0; } -#mode-switcher { +mode-switcher { border: 2px 0px 0px ; border-color: @separatorcolor; } -#button.selected { +button.selected { background-color: @selected-normal-background; text-color: @selected-normal-foreground; } -#inputbar { +inputbar { spacing: 0; text-color: @normal-foreground; padding: 1px ; } -#case-indicator { +case-indicator { spacing: 0; text-color: @normal-foreground; } -#entry { +entry { spacing: 0; text-color: @normal-foreground; } -#prompt { +prompt { spacing: 0; text-color: @normal-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 ;