diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/hyprland.service | 12 | ||||
| -rw-r--r-- | example/swaybg@.service | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/example/hyprland.service b/example/hyprland.service new file mode 100644 index 00000000..1ff479bb --- /dev/null +++ b/example/hyprland.service @@ -0,0 +1,12 @@ +; a primitive systemd --user example +[Unit] +Description = %p +BindsTo = graphical-session.target +Upholds = swaybg@333333.service + +[Service] +Type = notify +ExecStart = /usr/bin/Hyprland + +[Install] +WantedBy = default.target diff --git a/example/swaybg@.service b/example/swaybg@.service new file mode 100644 index 00000000..0636625d --- /dev/null +++ b/example/swaybg@.service @@ -0,0 +1,13 @@ +; a primitive systemd --user example +; see example/hyprland.service for more details +[Unit] +Description = %p +BindsTo = hyprland.service +Wants = hyprland.service +After = hyprland.service + +[Service] +ExecStart = /usr/bin/swaybg --color #%i + +[Install] +WantedBy = default.target |
