From ed1925e198eef0c6630f457c5843f112526b86ae Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Fri, 2 Mar 2018 00:31:53 +0100 Subject: Support Rofi 1.5 (#7) Closes #6 --- templates/default.mustache | 55 ++++++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 24 deletions(-) (limited to 'templates/default.mustache') diff --git a/templates/default.mustache b/templates/default.mustache index ba5c721..897434d 100644 --- a/templates/default.mustache +++ b/templates/default.mustache @@ -33,24 +33,24 @@ active-background: @background; selected-active-background: @blue; } -#window { +window { background-color: @background; border: 1; padding: 5; } -#mainbox { +mainbox { border: 0; padding: 0; } -#message { +message { border: 1px dash 0px 0px ; border-color: @separatorcolor; padding: 1px ; } -#textbox { +textbox { text-color: @foreground; } -#listview { +listview { fixed-height: 0; border: 2px dash 0px 0px ; border-color: @separatorcolor; @@ -58,79 +58,86 @@ scrollbar: true; padding: 2px 0px 0px ; } -#element { +element { border: 0; padding: 1px ; } -#element.normal.normal { +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-width: 8px ; padding: 0; } -#sidebar { +sidebar { border: 2px dash 0px 0px ; border-color: @separatorcolor; } -#button { +button { spacing: 0; text-color: @normal-foreground; } -#button.selected { +button selected { background-color: @selected-normal-background; text-color: @selected-normal-foreground; } -#inputbar { - spacing: 0; +inputbar { + spacing: 0px; text-color: @normal-foreground; padding: 1px ; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; } -#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; } +textbox-prompt-colon { + expand: false; + str: ":"; + margin: 0px 0.3000em 0.0000em 0.0000em ; + text-color: inherit; +} -- cgit v1.2.3