From 76381c4d1e59beb269a396260d5143c48e492a0b Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Thu, 7 Dec 2017 20:13:44 +0100 Subject: Support Rofi 1.4.x (#5) Closes #2 --- templates/default.mustache | 169 ++++++++++++++++++++++++++++++++++++--------- 1 file changed, 136 insertions(+), 33 deletions(-) (limited to 'templates/default.mustache') diff --git a/templates/default.mustache b/templates/default.mustache index 3c46874..ba5c721 100644 --- a/templates/default.mustache +++ b/templates/default.mustache @@ -1,33 +1,136 @@ -! Base16 {{scheme-name}} -! Author: {{scheme-author}} - -! base00: #{{base00-hex}} -! base01: #{{base01-hex}} -! base02: #{{base02-hex}} -! base03: #{{base03-hex}} -! base04: #{{base04-hex}} -! base05: #{{base05-hex}} -! base06: #{{base06-hex}} -! base07: #{{base07-hex}} -! base08: #{{base08-hex}} -! base09: #{{base09-hex}} -! base0A: #{{base0A-hex}} -! base0B: #{{base0B-hex}} -! base0C: #{{base0C-hex}} -! base0D: #{{base0D-hex}} -! base0E: #{{base0E-hex}} -! base0F: #{{base0F-hex}} - -! Enable the extended coloring options -rofi.color-enabled: true - -! Property Name BG Border Separator -rofi.color-window: #{{base01-hex}}, #{{base01-hex}}, #{{base00-hex}} - -! Property Name BG FG BG-alt Head-BG Head-FG -rofi.color-normal: #{{base01-hex}}, #{{base05-hex}}, #{{base01-hex}}, #{{base01-hex}}, #{{base07-hex}} -rofi.color-active: #{{base01-hex}}, #{{base0D-hex}}, #{{base01-hex}}, #{{base01-hex}}, #{{base0D-hex}} -rofi.color-urgent: #{{base01-hex}}, #{{base08-hex}}, #{{base01-hex}}, #{{base01-hex}}, #{{base08-hex}} - -! Set the desired separator style -rofi.separator-style: solid +/** + * Base16 {{scheme-name}} ROFI Color theme + * User: {{scheme-author}} + * Copyright: Andrea Scarpino + */ +* { + selected-normal-foreground: @lightbg; + foreground: rgba ( {{base05-rgb-r}}, {{base05-rgb-g}}, {{base05-rgb-b}}, 100 % ); + normal-foreground: @foreground; + alternate-normal-background: @lightbg; + red: rgba ( {{base08-rgb-r}}, {{base08-rgb-g}}, {{base08-rgb-b}}, 100 % ); + selected-urgent-foreground: @background; + blue: rgba ( {{base0D-rgb-r}}, {{base0D-rgb-g}}, {{base0D-rgb-b}}, 100 % ); + urgent-foreground: @red; + alternate-urgent-background: @lightbg; + active-foreground: @blue; + lightbg: rgba ( {{base01-rgb-r}}, {{base01-rgb-g}}, {{base01-rgb-b}}, 100 % ); + selected-active-foreground: @background; + alternate-active-background: @lightbg; + background: rgba ( {{base00-rgb-r}}, {{base00-rgb-g}}, {{base00-rgb-b}}, 100 % ); + alternate-normal-foreground: @foreground; + normal-background: @background; + lightfg: rgba ( {{base06-rgb-r}}, {{base06-rgb-g}}, {{base06-rgb-b}}, 100 % ); + selected-normal-background: @lightfg; + border-color: @foreground; + spacing: 2; + separatorcolor: @foreground; + urgent-background: @background; + selected-urgent-background: @red; + alternate-urgent-foreground: @red; + background-color: rgba ( {{base00-rgb-r}}, {{base00-rgb-g}}, {{base00-rgb-b}}, 0 % ); + alternate-active-foreground: @blue; + active-background: @background; + selected-active-background: @blue; +} +#window { + background-color: @background; + border: 1; + padding: 5; +} +#mainbox { + border: 0; + padding: 0; +} +#message { + border: 1px dash 0px 0px ; + border-color: @separatorcolor; + 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 ; +} +#element { + 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: 4px ; + border: 0; + handle-color: @normal-foreground; + handle-width: 8px ; + padding: 0; +} +#sidebar { + border: 2px dash 0px 0px ; + border-color: @separatorcolor; +} +#button { + spacing: 0; + text-color: @normal-foreground; +} +#button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; +} +#inputbar { + spacing: 0; + text-color: @normal-foreground; + padding: 1px ; +} +#case-indicator { + spacing: 0; + text-color: @normal-foreground; +} +#entry { + spacing: 0; + text-color: @normal-foreground; +} +#prompt { + spacing: 0; + text-color: @normal-foreground; +} -- cgit v1.2.3