diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-04-23 02:50:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-04-23 02:50:12 +1200 |
commit | 374572486f07d375ad11ff9049e42b3bfe406d92 (patch) | |
tree | d7c9abfba68f3b5825d871349907fd0e6a0ee169 /Makefile | |
parent | Add means to change prompt color (diff) | |
download | dotfiles-374572486f07d375ad11ff9049e42b3bfe406d92.tar.gz dotfiles-374572486f07d375ad11ff9049e42b3bfe406d92.zip |
Allow specifying color for tmux
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -43,17 +43,28 @@ test-sh \ test-urxvt -all : gnupg +all : gnupg tmux clean : - rm -f gnupg/gpg.conf + rm -f \ + gnupg/gpg.conf \ + tmux/tmux.conf distclean : clean gnupg : gnupg/gpg.conf gnupg/gpg.conf : - m4 -D DOTFILES_HOME="$(HOME)" gnupg/gpg.conf.m4 > gnupg/gpg.conf + m4 -D DOTFILES_HOME="$(HOME)" \ + gnupg/gpg.conf.m4 > gnupg/gpg.conf + +TMUX_COLOR := colour237 + +tmux : tmux/tmux.conf + +tmux/tmux.conf : + m4 -D TMUX_COLOR="$(TMUX_COLOR)" \ + tmux/tmux.conf.m4 > tmux/tmux.conf install : install-bash \ install-curl \ @@ -184,7 +195,7 @@ install-terminfo : tic -- "$$info" ; \ done -install-tmux : +install-tmux : tmux/tmux.conf install -pm 0644 -- tmux/tmux.conf "$(HOME)"/.tmux.conf install-urxvt : test-urxvt |