diff --git a/pywal/export.py b/pywal/export.py index 7b8e58b..2c02239 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -46,9 +46,10 @@ def get_export_type(export_type): "shell": "colors.sh", "sway": "colors-sway", "tty": "colors-tty.sh", + "waybar": "colors-waybar.css", "xresources": "colors.Xresources", - "yaml": "colors.yml", "xmonad": "colors.hs", + "yaml": "colors.yml", }.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};