From 04a10fdcc60f11224680bad831a8822d755df738 Mon Sep 17 00:00:00 2001 From: surrealpie Date: Thu, 8 Nov 2018 05:17:52 -0500 Subject: [PATCH] template for waybar --- pywal/export.py | 1 + pywal/templates/colors-waybar.css | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 pywal/templates/colors-waybar.css diff --git a/pywal/export.py b/pywal/export.py index 357656e..6a28249 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -47,6 +47,7 @@ def get_export_type(export_type): "tty": "colors-tty.sh", "xresources": "colors.Xresources", "yaml": "colors.yml", + "waybar": "colors-waybar.css", }.get(export_type, export_type) diff --git a/pywal/templates/colors-waybar.css b/pywal/templates/colors-waybar.css new file mode 100644 index 0000000..c9cced6 --- /dev/null +++ b/pywal/templates/colors-waybar.css @@ -0,0 +1,20 @@ +@define-color foreground {foreground}; +@define-color background {background}; +@define-color cursor {cursor}; + +@define-color color0 {color0}; +@define-color color1 {color1}; +@define-color color2 {color2}; +@define-color color3 {color3}; +@define-color color4 {color4}; +@define-color color5 {color5}; +@define-color color6 {color6}; +@define-color color7 {color7}; +@define-color color8 {color8}; +@define-color color9 {color9}; +@define-color color10 {color10}; +@define-color color11 {color11}; +@define-color color12 {color12}; +@define-color color13 {color13}; +@define-color color14 {color14}; +@define-color color15 {color15};