aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/wayland/.config/systemd/user
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-07-29 16:20:28 -0500
committerToby Vincent <tobyv@tobyvin.dev>2023-07-29 16:20:28 -0500
commitad4c186bff25ac3f8eca19d90626674db72886df (patch)
tree93f4f45f19cd209d4480d4c64c46b7b4070f3272 /wayland/.config/systemd/user
parent551f670308f035d9ad3b36d0d9039424fe3292cd (diff)
refactor: reorganize wayland/sway configs
Diffstat (limited to 'wayland/.config/systemd/user')
-rw-r--r--wayland/.config/systemd/user/clipman.service13
-rw-r--r--wayland/.config/systemd/user/dunst.service.d/50-wayland.conf7
-rw-r--r--wayland/.config/systemd/user/wayland-session.target6
3 files changed, 26 insertions, 0 deletions
diff --git a/wayland/.config/systemd/user/clipman.service b/wayland/.config/systemd/user/clipman.service
new file mode 100644
index 0000000..5008c39
--- /dev/null
+++ b/wayland/.config/systemd/user/clipman.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=A simple clipboard manager for Wayland
+Documentation=man:clipman(1)
+PartOf=wayland-session.target
+After=wayland-session.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/wl-paste --type text --watch clipman --notify store --no-persist --unix
+Restart=on-failure
+
+[Install]
+WantedBy=wayland-session.target
diff --git a/wayland/.config/systemd/user/dunst.service.d/50-wayland.conf b/wayland/.config/systemd/user/dunst.service.d/50-wayland.conf
new file mode 100644
index 0000000..c66af48
--- /dev/null
+++ b/wayland/.config/systemd/user/dunst.service.d/50-wayland.conf
@@ -0,0 +1,7 @@
+[Unit]
+PartOf=
+PartOf=wayland-session.target
+After=wayland-session.target
+
+[Install]
+WantedBy=wayland-session.target
diff --git a/wayland/.config/systemd/user/wayland-session.target b/wayland/.config/systemd/user/wayland-session.target
new file mode 100644
index 0000000..2c0630f
--- /dev/null
+++ b/wayland/.config/systemd/user/wayland-session.target
@@ -0,0 +1,6 @@
+[Unit]
+Description=wayland session
+Documentation=man:systemd.special(7)
+BindsTo=graphical-session.target
+Wants=graphical-session-pre.target
+After=graphical-session-pre.target