Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
template: add dmenu template
Browse files Browse the repository at this point in the history
  • Loading branch information
Khoyo committed Dec 30, 2018
1 parent f0de048 commit 041fe06
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions pywal/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 6 additions & 0 deletions pywal/templates/colors-wal-dmenu.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
static const char *colors[SchemeLast][2] = {{
/* fg bg */
[SchemeNorm] = {{ "{color15}", "{color0}" }},
[SchemeSel] = {{ "{color15}", "{color1}" }},
[SchemeOut] = {{ "{color15}", "{color14}" }},
}};

0 comments on commit 041fe06

Please sign in to comment.