diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-01-04 21:29:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-04 21:29:51 +0200 |
| commit | aabbb87ebe8577efbbea13ef4fec0965bd56a06d (patch) | |
| tree | 1b996d5fbc181177661b1f2eb6ae79f42fbcf2f1 | |
| parent | 16515064896bd556c68198ea3c02e99653e3632c (diff) | |
| parent | 041fe0643f9a31079cdf641a7f8227e97dba9696 (diff) | |
Merge pull request #355 from Khoyo/yk/pr/dmenu-template
template: add dmenu template
| -rw-r--r-- | pywal/export.py | 1 | ||||
| -rw-r--r-- | pywal/templates/colors-wal-dmenu.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/pywal/export.py b/pywal/export.py index 357656e..833912d 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -31,6 +31,7 @@ def get_export_type(export_type): """Convert template type to the right filename.""" return { "css": "colors.css", + "dmenu": "colors-wal-dmenu.h", "dwm": "colors-wal-dwm.h", "st": "colors-wal-st.h", "tabbed": "colors-wal-tabbed.h", diff --git a/pywal/templates/colors-wal-dmenu.h b/pywal/templates/colors-wal-dmenu.h new file mode 100644 index 0000000..aeab7a5 --- /dev/null +++ b/pywal/templates/colors-wal-dmenu.h @@ -0,0 +1,6 @@ +static const char *colors[SchemeLast][2] = {{ + /* fg bg */ + [SchemeNorm] = {{ "{color15}", "{color0}" }}, + [SchemeSel] = {{ "{color15}", "{color1}" }}, + [SchemeOut] = {{ "{color15}", "{color14}" }}, +}}; |
