Skip to content

Commit b473c5a

Browse files
threadreapereylles
authored andcommitted
Corrected haskell support, Colors.hs added
1 parent c6c2ef1 commit b473c5a

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

pywal/export.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def get_export_type(export_type):
108108
"vscode": "colors-vscode.json",
109109
"waybar": "colors-waybar.css",
110110
"xresources": "colors.Xresources",
111+
"haskell": "Colors.hs",
111112
"xmonad": "colors.hs",
112113
"yaml": "colors.yml",
113114
}.get(export_type, export_type)

pywal/templates/Colors.hs

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
--Place this file in your .xmonad/lib directory and import module Colors into .xmonad/xmonad.hs config
2+
--The easy way is to create a soft link from this file to the file in .xmonad/lib using ln -s
3+
--Then recompile and restart xmonad.
4+
5+
module Colors
6+
( wallpaper
7+
, background, foreground, cursor
8+
, color0, color1, color2, color3, color4, color5, color6, color7
9+
, color8, color9, color10, color11, color12, color13, color14, color15
10+
) where
11+
12+
-- Shell variables
13+
-- Generated by 'wal'
14+
wallpaper="{wallpaper}"
15+
16+
-- Special
17+
background="{background}"
18+
foreground="{foreground}"
19+
cursor="{cursor}"
20+
21+
-- Colors
22+
color0="{color0}"
23+
color1="{color1}"
24+
color2="{color2}"
25+
color3="{color3}"
26+
color4="{color4}"
27+
color5="{color5}"
28+
color6="{color6}"
29+
color7="{color7}"
30+
color8="{color8}"
31+
color9="{color9}"
32+
color10="{color10}"
33+
color11="{color11}"
34+
color12="{color12}"
35+
color13="{color13}"
36+
color14="{color14}"
37+
color15="{color15}"

0 commit comments

Comments
 (0)