aboutsummaryrefslogtreecommitdiffstats
path: root/user/weechat.service
diff options
context:
space:
mode:
Diffstat (limited to 'user/weechat.service')
-rw-r--r--user/weechat.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/weechat.service b/user/weechat.service
index 0aa620b..3708739 100644
--- a/user/weechat.service
+++ b/user/weechat.service
@@ -7,7 +7,7 @@ ConditionFileIsExecutable=/usr/bin/weechat
[Service]
Type=forking
KillMode=control-group
-Environment=TMUX_TMPDIR=/run/user/%U/tmux
+Environment=TMUX_TMPDIR=%t/tmux
ExecStartPre=/usr/bin/mkdir -p $TMUX_TMPDIR
ExecStart=/usr/bin/tmux -L weechat new-session -d -s weechat -n weechat weechat
ExecStop=/usr/bin/tmux -L weechat send-keys -t weechat:1 /quit Enter