aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-07-29 01:45:59 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-07-29 01:47:51 +1200
commit85925bd2fe2bfacf73a371274da454290387be60 (patch)
treecfcd6243623d443a5edc57d188eb9bcdcf453d77 /Makefile
parentMerge branch 'release/v12.12.0' into develop (diff)
downloaddotfiles-85925bd2fe2bfacf73a371274da454290387be60.tar.gz
dotfiles-85925bd2fe2bfacf73a371274da454290387be60.zip
Add tmux server systemd server method
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1f6ccd12..f5f24446 100644
--- a/Makefile
+++ b/Makefile
@@ -280,6 +280,7 @@ all: $(BINS) \
git/config \
gnupg/profile.d/gnupg.sh \
less/less \
+ tmux/bin/tmux \
x/xsession
clean distclean:
@@ -298,6 +299,7 @@ clean distclean:
include/mktd.m4 \
less/less \
mutt/filters/markdown-to-html \
+ tmux/bin/tmux \
urxvt/ext/select \
x/xsession
@@ -624,8 +626,14 @@ install-tidy: install-sh
mkdir -p -- $(XDG_CONFIG_HOME)/tidy
cp -p -- tidy/tidyrc $(XDG_CONFIG_HOME)/tidy/tidyrc
-install-tmux: tmux/tmux.conf install-terminfo
+install-tmux: tmux/bin/tmux tmux/tmux.conf install-systemd install-terminfo
+ cp -p -- tmux/bin/tmux $(HOME)/.local/bin
+ cp -p -- tmux/profile.d/tmux.sh $(HOME)/.profile.d
cp -p -- tmux/tmux.conf $(HOME)/.tmux.conf
+ cp -p -- tmux/systemd/user/tmux.service \
+ $(XDG_DATA_HOME)/systemd/user
+ -systemctl --user enable tmux.service
+ -systemctl --user start tmux.service
install-urxvt: urxvt/ext/select install-x
mkdir -p -- $(HOME)/.urxvt/ext