Merge pull request #355 from Khoyo/yk/pr/dmenu-template

template: add dmenu template
This commit is contained in:
Dylan Araps 2019-01-04 21:29:51 +02:00 committed by GitHub
commit aabbb87ebe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -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",

View File

@ -0,0 +1,6 @@
static const char *colors[SchemeLast][2] = {{
/* fg bg */
[SchemeNorm] = {{ "{color15}", "{color0}" }},
[SchemeSel] = {{ "{color15}", "{color1}" }},
[SchemeOut] = {{ "{color15}", "{color14}" }},
}};