dotfiles/systemd/tmux@.service

15 lines
293 B
Desktop File

[Unit]
Description=Start tmux in detached session
After=ssh.service
[Service]
User=%I
Environment=DISPLAY=:0
Environment=XAUTHORITY=/tmp/xauth-1000-_0
WorkingDirectory=/home/%I
ExecStart=/bin/bash /home/%I/.bin/tmux_start
RemainAfterExit=True
Type=oneshot
[Install]
WantedBy=default.target