diff options
Diffstat (limited to '.config/systemd/user/synergy@.service')
-rw-r--r-- | .config/systemd/user/synergy@.service | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/.config/systemd/user/synergy@.service b/.config/systemd/user/synergy@.service index df0640a..c045749 100644 --- a/.config/systemd/user/synergy@.service +++ b/.config/systemd/user/synergy@.service @@ -1,10 +1,12 @@ [Unit] Description=Keyboard and mouse sharing on X display %I -StopWhenUnneeded=true +#StopWhenUnneeded=true +After=X11@%i.target panel@%i.target +Requisite=X11@%i.target Requires=panel@%i.target [Service] -Type=simple Environment=DISPLAY=%I -ExecStart=/usr/bin/synergy -Restart=always + +Type=simple +ExecStart=/usr/bin/env synergy |