dotfiles/x11/.config/X11/Xresources
Tom Willemse 68a62390b8 Fix color definitions
M4 treats ‘#’ as a comment delimiter, so that if there is a macro that expands
to, for example, ‘#222222’ it will ignore any macros any further along the line.
2020-04-26 22:33:16 -07:00

35 lines
1.1 KiB
Text

define(`prefix', `$HOME/.config/X11/Xresources.d/')dnl
define(`resources', `esyscmd(`ls -m ' prefix ` | tr -d \\n')')dnl
define(`includeall', `ifelse($1, `', `', `include($1)includeall(shift($@))')')dnl
dnl
dnl Background colors
define(`bgdefault', ``#'111414')dnl
define(`bgbright', ``#'3d3d3d')dnl
define(`bgdim', ``#'222222')dnl
define(`bgred', ``#'3f1a1a')dnl
define(`bgorange', ``#'3f321f')dnl
define(`bgyellow', ``#'343922')dnl
define(`bggreen', ``#'263f1f')dnl
define(`bgturquoise', ``#'1f3f2c')dnl
define(`bgcyan', ``#'1f3f3f')dnl
define(`bgblue', ``#'1f2c3f')dnl
define(`bgpurple', ``#'2f2a3f')dnl
define(`bgmagenta', ``#'381f3f')dnl
define(`bgpink', ``#'3f1f32')dnl
dnl
dnl Foreground colors
define(`fgdefault', ``#'bfbfbf')dnl
define(`fgbright', ``#'ededed')dnl
define(`fgdim', ``#'969696')dnl
define(`fgred', ``#'a85454')dnl
define(`fgorange', ``#'a88654')dnl
define(`fgyellow', ``#'8d995c')dnl
define(`fggreen', ``#'65a854')dnl
define(`fgturquoise', ``#'54a875')dnl
define(`fgcyan', ``#'54a8a8')dnl
define(`fgblue', ``#'5476a8')dnl
define(`fgpurple', ``#'7d71a8')dnl
define(`fgmagenta', ``#'9754a8')dnl
define(`fgpink', ``#'a85487')dnl
dnl
includeall(resources)