Docker is a dev dependency, not a desktop environment default. Remove from package list, archinstall config, services and README. Fix systemd ordering cycle that prevented cliphist-image from starting: cliphist-text had After=graphical-session.target which combined with PartOf= and cliphist-image's After=cliphist-text created a cycle.
17 lines
506 B
Desktop File
17 lines
506 B
Desktop File
# ABOUTME: systemd user service for text clipboard history via cliphist + wl-paste.
|
|
# ABOUTME: Wipes history on start, stores text entries in XDG_RUNTIME_DIR.
|
|
|
|
[Unit]
|
|
Description=Clipboard history manager (text)
|
|
PartOf=graphical-session.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStartPre=/bin/sh -c 'mkdir -p $XDG_RUNTIME_DIR/cliphist && /usr/bin/cliphist wipe'
|
|
ExecStart=/usr/bin/wl-paste --watch cliphist -db-path %t/cliphist/db store
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=graphical-session.target
|