aboutsummaryrefslogtreecommitdiff
path: root/wayland-basics/dot-config/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'wayland-basics/dot-config/systemd')
-rw-r--r--wayland-basics/dot-config/systemd/user/kanshi.service4
-rw-r--r--wayland-basics/dot-config/systemd/user/soteria.service12
-rw-r--r--wayland-basics/dot-config/systemd/user/swaybg.service7
-rw-r--r--wayland-basics/dot-config/systemd/user/swayidle.service12
-rw-r--r--wayland-basics/dot-config/systemd/user/swayosd-server.service4
-rw-r--r--wayland-basics/dot-config/systemd/user/wl-clip-persist.service5
6 files changed, 30 insertions, 14 deletions
diff --git a/wayland-basics/dot-config/systemd/user/kanshi.service b/wayland-basics/dot-config/systemd/user/kanshi.service
index dd6227c..4554384 100644
--- a/wayland-basics/dot-config/systemd/user/kanshi.service
+++ b/wayland-basics/dot-config/systemd/user/kanshi.service
@@ -1,15 +1,13 @@
[Unit]
-PartOf=graphical-session.target
Description=Kanshi Wayland output manager
+PartOf=graphical-session.target
After=graphical-session.target
-Requisite=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/bin/kanshi
ExecReload=kill -SIGHUP $MAINPID
Restart=on-failure
-Slice=background-graphical.slice
[Install]
WantedBy=graphical-session.target
diff --git a/wayland-basics/dot-config/systemd/user/soteria.service b/wayland-basics/dot-config/systemd/user/soteria.service
new file mode 100644
index 0000000..61961ef
--- /dev/null
+++ b/wayland-basics/dot-config/systemd/user/soteria.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=GTK-based polkit authentication agent
+PartOf=graphical-session.target
+After=graphical-session.target
+
+[Service]
+Type=exec
+ExecStart=/usr/lib/soteria-polkit/soteria
+Restart=on-failure
+
+[Install]
+WantedBy=graphical-session.target
diff --git a/wayland-basics/dot-config/systemd/user/swaybg.service b/wayland-basics/dot-config/systemd/user/swaybg.service
index d8efd5b..d2e891b 100644
--- a/wayland-basics/dot-config/systemd/user/swaybg.service
+++ b/wayland-basics/dot-config/systemd/user/swaybg.service
@@ -1,15 +1,12 @@
[Unit]
-PartOf=graphical-session.target
Description=Swaybg wallpaper utility
+PartOf=graphical-session.target
After=graphical-session.target
-Requisite=graphical-session.target
[Service]
Type=exec
-ExecStart=/usr/bin/swaybg -m fill -i /home/moreka/Pictures/wallpapers/dark_mode_windows_xp_background_wallpaper.png
-; ExecStart=/usr/bin/swaybg -c '#002B36'
+ExecStart=/usr/bin/swaybg -m fill -i /home/moreka/Pictures/wallpapers/great-wave-of-kanagawa-gruvbox.png
Restart=on-failure
-Slice=background-graphical.slice
[Install]
WantedBy=graphical-session.target
diff --git a/wayland-basics/dot-config/systemd/user/swayidle.service b/wayland-basics/dot-config/systemd/user/swayidle.service
new file mode 100644
index 0000000..9160750
--- /dev/null
+++ b/wayland-basics/dot-config/systemd/user/swayidle.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=swayidle for setting timeouts for idling
+PartOf=graphical-session.target
+After=graphical-session.target
+
+[Service]
+Type=exec
+ExecStart=/usr/bin/swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'swaylock -f' before-sleep 'swaylock -f'
+Restart=on-failure
+
+[Install]
+WantedBy=graphical-session.target
diff --git a/wayland-basics/dot-config/systemd/user/swayosd-server.service b/wayland-basics/dot-config/systemd/user/swayosd-server.service
index 21934eb..a43dd08 100644
--- a/wayland-basics/dot-config/systemd/user/swayosd-server.service
+++ b/wayland-basics/dot-config/systemd/user/swayosd-server.service
@@ -1,14 +1,12 @@
[Unit]
-PartOf=graphical-session.target
Description=SwayOSD server
After=graphical-session.target
-Requisite=graphical-session.target
+PartOf=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/bin/swayosd-server
Restart=on-failure
-Slice=background-graphical.slice
[Install]
WantedBy=graphical-session.target
diff --git a/wayland-basics/dot-config/systemd/user/wl-clip-persist.service b/wayland-basics/dot-config/systemd/user/wl-clip-persist.service
index f0f55a6..57c6a6c 100644
--- a/wayland-basics/dot-config/systemd/user/wl-clip-persist.service
+++ b/wayland-basics/dot-config/systemd/user/wl-clip-persist.service
@@ -1,14 +1,13 @@
[Unit]
-PartOf=graphical-session.target
Description=Clipboard history manager for wayland
+Documentation=https://github.com/Linus789/wl-clip-persist
After=graphical-session.target
-Requisite=graphical-session.target
+PartOf=graphical-session.target
[Service]
Type=exec
ExecStart=/usr/bin/wl-clip-persist --clipboard regular --disable-timestamps
Restart=on-failure
-Slice=background-graphical.slice
[Install]
WantedBy=graphical-session.target