aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/systemd/user/cliphist-text.service
blob: 5ff00f56c7f8de0596825f247320f7ebf399dc2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Clipboard history (text) via cliphist
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY

[Service]
Type=simple
ExecStart=wl-paste --type text --watch cliphist store
Restart=on-failure
RestartSec=2s

[Install]
WantedBy=sway-session.target