From 37e96eca3b6aeccb0052e30cf6ec80eac0510df1 Mon Sep 17 00:00:00 2001 From: sraysmith Date: Thu, 20 Dec 2018 15:55:11 -0500 Subject: [PATCH 1/2] I added the xmonad export_type. --- pywal/export.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pywal/export.py b/pywal/export.py index 357656e..7873557 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", + "xmonad": "colors.hs", }.get(export_type, export_type) From fd6820db832ab7b859536b9871dd0d9b00a50627 Mon Sep 17 00:00:00 2001 From: sraysmith Date: Thu, 20 Dec 2018 15:57:09 -0500 Subject: [PATCH 2/2] I added the haskell template for xmonad users. --- pywal/templates/colors.hs | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pywal/templates/colors.hs diff --git a/pywal/templates/colors.hs b/pywal/templates/colors.hs new file mode 100644 index 0000000..6ffa1a6 --- /dev/null +++ b/pywal/templates/colors.hs @@ -0,0 +1,37 @@ +--Place this file in your .xmonad/lib directory and import module Colors into .xmonad/xmonad.hs config +--The easy way is to create a soft link from this file to the file in .xmonad/lib using ln -s +--Then recompile and restart xmonad. + +module Colors + ( wallpaper + , background, foreground, cursor + , color0, color1, color2, color3, color4, color5, color6, color7 + , color8, color9, color10, color11, color12, color13, color14, color15 + ) where + +-- Shell variables +-- Generated by 'wal' +wallpaper="{wallpaper}" + +-- Special +background="{background}" +foreground="{foreground}" +cursor="{cursor}" + +-- Colors +color0="{color0}" +color1="{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}"