diff options
author | David Runge <dave@sleepmap.de> | 2020-07-27 15:46:42 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2020-07-27 15:46:42 +0200 |
commit | 8693e4a6bae3914d446d36a40c6706172df4b16e (patch) | |
tree | 1b14ac9849656f0c328a6f9237b7c3fa72b995b2 /.config/systemd/user/tmux.service | |
parent | 0610cc873bfcec666099867150788bc3da873d5d (diff) | |
parent | fb901c5538d652233382bcad45ca76682653a236 (diff) | |
download | dotfiles-8693e4a6bae3914d446d36a40c6706172df4b16e.tar.gz dotfiles-8693e4a6bae3914d446d36a40c6706172df4b16e.tar.bz2 dotfiles-8693e4a6bae3914d446d36a40c6706172df4b16e.tar.xz dotfiles-8693e4a6bae3914d446d36a40c6706172df4b16e.zip |
Merge branch 'master' of git.sleepmap.de:dave/dotfiles
* 'master' of git.sleepmap.de:dave/dotfiles:
Drop localdomain
SSH config cleanup
Remov packages
Add systemd user service for ssh-agent
Add local tmux systemd user service
Replace use of hostname with internal
Remove unused presets
Add cargo bin to PATH
Add supported extension to ex and lstar
Update configuration
Add application rule
Add packages to [community]
Add packages to [extra]
Add packages
Diffstat (limited to '.config/systemd/user/tmux.service')
-rw-r--r-- | .config/systemd/user/tmux.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/systemd/user/tmux.service b/.config/systemd/user/tmux.service new file mode 100644 index 0000000..084efc0 --- /dev/null +++ b/.config/systemd/user/tmux.service @@ -0,0 +1,13 @@ +[Unit] +Description=Start tmux in detached session +After=local-fs.target +ConditionFileIsExecutable=/usr/bin/tmux + +[Service] +Type=forking +Environment=TMUX_TMPDIR=%t +ExecStart=/usr/bin/tmux new-session -s user -d +ExecStop=/usr/bin/tmux kill-session -t user + +[Install] +WantedBy=default.target |