From 65fd7b89d60c13b5c4f2061d9eb4ff8dd968a503 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 29 Jul 2017 21:27:01 +1000 Subject: [PATCH] export: Export the colors in yaml. --- pywal/export.py | 1 + pywal/templates/colors.yml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 pywal/templates/colors.yml diff --git a/pywal/export.py b/pywal/export.py index f727466..abf68ab 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -36,6 +36,7 @@ def get_export_type(export_type): "scss": "colors.scss", "shell": "colors.sh", "xresources": "colors.Xresources", + "yml": "colors.yml", }.get(export_type, export_type) diff --git a/pywal/templates/colors.yml b/pywal/templates/colors.yml new file mode 100644 index 0000000..3a9d76d --- /dev/null +++ b/pywal/templates/colors.yml @@ -0,0 +1,24 @@ +wallpaper: "{wallpaper}" + +special: + background: "{background}" + foreground: "{foreground}" + cursor: "{cursor}" + +colors: + color0: "{color0}" + color": "{color1}" + color2: "{color2}" + color3: "{color3}" + color4: "{color4}" + color5: "{color5}" + color6: "{color6}" + color7: "{color7}" + color8: "{color8}" + color9: "{color9}" + color10: "{color10}" + color11: "{color11}" + color12: "{color12}" + color13: "{color13}" + color14: "{color14}" + color15: "{color15}"