mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
systemd: parameterise autocutsel service
Enable three invocations, one for each kind of clipboard With this, they should all now stay in sync (I hope)
This commit is contained in:
parent
e43b6af0ad
commit
e017568b41
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=autocutsel -selection primary
|
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/autocutsel -selection PRIMARY
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=graphical-session.target
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=autocutsel
|
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/autocutsel
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=graphical-session.target
|
|
||||||
|
|
12
.config/systemd/user/autocutsel@.service
Normal file
12
.config/systemd/user/autocutsel@.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=autocutsel selection %i
|
||||||
|
PartOf=graphical-session.target
|
||||||
|
Requires=xorg.target
|
||||||
|
After=xorg.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/autocutsel -selection %i
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=graphical-session.target
|
||||||
|
|
@ -0,0 +1 @@
|
|||||||
|
/home/frebib/.config/systemd/user/autocutsel@.service
|
@ -0,0 +1 @@
|
|||||||
|
/home/frebib/.config/systemd/user/autocutsel@.service
|
@ -0,0 +1 @@
|
|||||||
|
/home/frebib/.config/systemd/user/autocutsel@.service
|
Loading…
Reference in New Issue
Block a user