From 58facda1ec363da28dc350c6a285e144f349ee66 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 18 Nov 2023 20:57:29 +0000 Subject: [PATCH] Add a custom Rofi theme. --- .config/rofi/themes/default.rasi | 151 +++++++++++-------------------- 1 file changed, 52 insertions(+), 99 deletions(-) diff --git a/.config/rofi/themes/default.rasi b/.config/rofi/themes/default.rasi index 4c67705..0fb4319 100644 --- a/.config/rofi/themes/default.rasi +++ b/.config/rofi/themes/default.rasi @@ -1,126 +1,79 @@ -/* ================================================ -// theme name : merah -// by : ipang-dwi - www.firstplato.com -// based on the Purple official rofi theme -// ================================================ */ +// Clean and single Rofi theme by Tadgy. * { - font: "Sans Mono Reguler 14"; - foreground: #f8f8f2; - background-color: #282a36; - active-background: #b00000; - urgent-background: #ff5555; - selected-background: @active-background; - selected-urgent-background: @urgent-background; - selected-active-background: @active-background; - separatorcolor: @active-background; - bordercolor: @active-background; + font: "Sans Mono Reguler 16"; + foreground: #aaaaaa; + bright-foreground: #ffffff; + background-color: #282828; } #window { - background-color: @background; - border: 1; - border-radius: 6; - border-color: @bordercolor; - padding: 5; + border: 2; + border-radius: 10; + border-color: @bright-foreground; + padding: 10; } + #mainbox { - border: 0; - padding: 0; + border: 0; + padding: 0; } + #message { - border: 1px dash 0px 0px ; - border-color: @separatorcolor; - padding: 1px ; + border: 3px dash 0px 0px; + border-color: @foreground; + padding: 10px; +// for testing: text-color: @foregroundX; } + #textbox { - text-color: @foreground; + text-color: @foreground; } + #listview { - fixed-height: 0; - border: 2px dash 0px 0px ; - border-color: @bordercolor; - spacing: 2px ; - scrollbar: false; - padding: 2px 0px 0px ; + fixed-height: 0; + border: 3px dash 0px 0px; + border-color: @foreground; + spacing: 2px; + scrollbar: false; + padding: 10px 0px 0px; } + #element { - border: 0; - padding: 1px ; + border: 0; + padding: 2px; } -#element.normal.normal { - background-color: @background; - text-color: @foreground; -} -#element.normal.urgent { - background-color: @urgent-background; - text-color: @urgent-foreground; -} -#element.normal.active { - background-color: @active-background; - text-color: @foreground; + +#element-text { + text-color: @foreground; } + #element.selected.normal { - background-color: @selected-background; - text-color: @foreground; -} -#element.selected.urgent { - background-color: @selected-urgent-background; - text-color: @foreground; -} -#element.selected.active { - background-color: @selected-active-background; - text-color: @foreground; -} -#element.alternate.normal { - background-color: @background; - text-color: @foreground; -} -#element.alternate.urgent { - background-color: @urgent-background; - text-color: @foreground; -} -#element.alternate.active { - background-color: @active-background; - text-color: @foreground; -} -#scrollbar { - width: 2px ; - border: 0; - handle-width: 8px ; - padding: 0; -} -#sidebar { - border: 2px dash 0px 0px ; - border-color: @separatorcolor; -} -#button.selected { - background-color: @selected-background; - text-color: @foreground; + background-color: @bright-foreground; } + #inputbar { - spacing: 0; - text-color: @foreground; - padding: 1px ; -} -#case-indicator { - spacing: 0; - text-color: @foreground; + spacing: 2; + text-color: @foreground; + padding: 0px; } + #entry { - spacing: 0; - text-color: @foreground; + spacing: 0; + text-color: @foreground; } + #prompt { - spacing: 0; - text-color: @foreground; -} -#inputbar { - children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; + text-color: @foreground; } + #textbox-prompt-colon { - expand: false; - str: ":"; - margin: 0px 0.3em 0em 0em ; - text-color: @foreground; + expand: false; + str: ":"; + margin: 0px 0.5em 0em 0em ; + text-color: @foreground; +} + +#inputbar { + children: [ prompt,textbox-prompt-colon,entry ]; }