From 179c641aca7824e17eb2dbb38738689ac6b4770e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Feb 2018 11:26:36 +1100 Subject: rofi: Add dark/light themes. --- pywal/templates/colors-rofi-dark.rasi | 146 +++++++++++++++++++++++++++++++++ pywal/templates/colors-rofi-light.rasi | 146 +++++++++++++++++++++++++++++++++ pywal/templates/colors-rofi.rasi | 146 --------------------------------- 3 files changed, 292 insertions(+), 146 deletions(-) create mode 100644 pywal/templates/colors-rofi-dark.rasi create mode 100644 pywal/templates/colors-rofi-light.rasi delete mode 100644 pywal/templates/colors-rofi.rasi diff --git a/pywal/templates/colors-rofi-dark.rasi b/pywal/templates/colors-rofi-dark.rasi new file mode 100644 index 0000000..ed6cc72 --- /dev/null +++ b/pywal/templates/colors-rofi-dark.rasi @@ -0,0 +1,146 @@ +* {{ + active-background: {color2}; + active-foreground: @foreground; + normal-background: @background; + normal-foreground: @foreground; + urgent-background: {color1}; + urgent-foreground: @foreground; + + alternate-active-background: @background; + alternate-active-foreground: @foreground; + alternate-normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-urgent-background: @background; + alternate-urgent-foreground: @foreground; + + selected-active-background: {color1}; + selected-active-foreground: @foreground; + selected-normal-background: {color2}; + selected-normal-foreground: @foreground; + selected-urgent-background: {color3}; + selected-urgent-foreground: @foreground; + + background-color: @background; + background: {background}; + foreground: {foreground}; + border-color: @background; + spacing: 2; +}} + +#window {{ + background-color: @background; + border: 0; + padding: 2.5ch; +}} + +#mainbox {{ + border: 0; + padding: 0; +}} + +#message {{ + border: 2px 0px 0px; + border-color: @border-color; + padding: 1px; +}} + +#textbox {{ + text-color: @foreground; +}} + +#listview {{ + fixed-height: 0; + border: 2px 0px 0px; + border-color: @border-color; + 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-width: 8px; + padding: 0; +}} + +#sidebar {{ + border: 2px 0px 0px; + border-color: @border-color; +}} + +#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; +}} diff --git a/pywal/templates/colors-rofi-light.rasi b/pywal/templates/colors-rofi-light.rasi new file mode 100644 index 0000000..8700019 --- /dev/null +++ b/pywal/templates/colors-rofi-light.rasi @@ -0,0 +1,146 @@ +* {{ + active-background: {color2}; + active-foreground: @foreground; + normal-background: @background; + normal-foreground: @foreground; + urgent-background: {color1}; + urgent-foreground: @foreground; + + alternate-active-background: @background; + alternate-active-foreground: @foreground; + alternate-normal-background: @background; + alternate-normal-foreground: @foreground; + alternate-urgent-background: @background; + alternate-urgent-foreground: @foreground; + + selected-active-background: {color1}; + selected-active-foreground: @foreground; + selected-normal-background: {color2}; + selected-normal-foreground: @foreground; + selected-urgent-background: {color3}; + selected-urgent-foreground: @foreground; + + background-color: @background; + background: {foreground}; + foreground: {background}; + border-color: @background; + spacing: 2; +}} + +#window {{ + background-color: @background; + border: 0; + padding: 2.5ch; +}} + +#mainbox {{ + border: 0; + padding: 0; +}} + +#message {{ + border: 2px 0px 0px; + border-color: @border-color; + padding: 1px; +}} + +#textbox {{ + text-color: @foreground; +}} + +#listview {{ + fixed-height: 0; + border: 2px 0px 0px; + border-color: @border-color; + 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-width: 8px; + padding: 0; +}} + +#sidebar {{ + border: 2px 0px 0px; + border-color: @border-color; +}} + +#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; +}} diff --git a/pywal/templates/colors-rofi.rasi b/pywal/templates/colors-rofi.rasi deleted file mode 100644 index eb551d9..0000000 --- a/pywal/templates/colors-rofi.rasi +++ /dev/null @@ -1,146 +0,0 @@ -* {{ - active-background: {color2}; - active-foreground: @foreground; - normal-background: @background; - normal-foreground: @foreground; - urgent-background: {color1}; - urgent-foreground: {foreground}; - - alternate-active-background: @background; - alternate-active-foreground: @foreground; - alternate-normal-background: @background; - alternate-normal-foreground: @foreground; - alternate-urgent-background: @background; - alternate-urgent-foreground: @foreground; - - selected-active-background: {color1}; - selected-active-foreground: {foreground}; - selected-normal-background: {color2}; - selected-normal-foreground: {foreground}; - selected-urgent-background: {color3}; - selected-urgent-foreground: {foreground}; - - background-color: @background; - background: {background}; - foreground: {foreground}; - border-color: @background; - spacing: 2; -}} - -#window {{ - background-color: @background; - border: 0; - padding: 2.5ch; -}} - -#mainbox {{ - border: 0; - padding: 0; -}} - -#message {{ - border: 2px 0px 0px; - border-color: @border-color; - padding: 1px; -}} - -#textbox {{ - text-color: @foreground; -}} - -#listview {{ - fixed-height: 0; - border: 2px 0px 0px; - border-color: @border-color; - 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-width: 8px; - padding: 0; -}} - -#sidebar {{ - border: 2px 0px 0px; - border-color: @border-color; -}} - -#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