Compare commits

...
Author SHA1 Message Date
Anjandev Momi 8073aa7a60 add systemd services 2025-07-05 01:54:24 -07:00
3 changed files with 37 additions and 0 deletions

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
[Unit]
Description=Lightweight Wayland notification daemon
Documentation=man:mako(1)
PartOf=default.target
After=default.target
[Service]
ExecCondition=/bin/sh -c '[ -n "$WAYLAND_DISPLAY" ]'
ExecStart=/usr/bin/mako
ExecReload=/usr/bin/makoctl reload
[Install]
WantedBy=default.target
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=UPower-powered power alerter
Documentation=man:poweralertd(1)
PartOf=default.target
Requires=default.target
[Service]
Type=simple
ExecStart=/usr/bin/poweralertd
Restart=on-failure
[Install]
WantedBy=default.target
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=lock screen for sway
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000'
[Install]
WantedBy=graphical-sesion.target