add tmux systemd service

This commit is contained in:
thek4n 2024-04-03 13:35:57 +03:00
parent f4c88dc5e5
commit 3e1ad38e3e
3 changed files with 5 additions and 2 deletions

2
.gitignore vendored
View File

@ -27,3 +27,5 @@ home/user/.termux/shell
home/user/.config/tmux/plugins home/user/.config/tmux/plugins
home/user/.tmux/* home/user/.tmux/*
!home/user/.tmux/01.sh !home/user/.tmux/01.sh
home/user/.config/systemd/user/default.target.wants

View File

@ -10,7 +10,7 @@ declare -xr SUB="$DOTFILES_ROOT/home/user"
declare -r -A TARGETS=( declare -r -A TARGETS=(
["colors"]=".config/terminal-colors.d" ["colors"]=".config/terminal-colors.d"
["tmux"]=".config/tmux .tmux" ["tmux"]=".config/tmux .tmux .config/systemd/user"
["bash"]=".config/bash .bashrc .profile %tmux %colors" ["bash"]=".config/bash .bashrc .profile %tmux %colors"
["zsh"]="%bash .config/zsh .zshenv .inputrc" ["zsh"]="%bash .config/zsh .zshenv .inputrc"
["alacritty"]=".config/alacritty" ["alacritty"]=".config/alacritty"

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
systemctl --user enable --now tmux
git clone https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm" git clone https://github.com/tmux-plugins/tpm "$HOME/.config/tmux/plugins/tpm"