Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 357 Bytes
[Unit]
Description=tmux default session (detached)
Documentation=man:tmux(1)
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/tmux new-session -d -s %H
ExecStartPost=/usr/bin/tmux source-file /home/%u/.config/tmux/sessions/default
ExecStop=/usr/bin/tmux kill-server
Environment=DISPLAY=:0
KillMode=none
[Install]
WantedBy=multiplexer.target
You can’t perform that action at this time.