[Install]
WantedBy=sway-session.target

[Service]
ExecReload=/nix/store/00000000000000000000000000000000-coreutils/bin/kill -SIGUSR2 $MAINPID
ExecStart=@wl-clipboard@/bin/wl-paste -t text --watch @clipman@/bin/clipman store
KillMode=mixed
Restart=on-failure

[Unit]
After=sway-session.target
ConditionEnvironment=WAYLAND_DISPLAY
Description=Clipboard management daemon
PartOf=sway-session.target
