diff options
| author | Pavel Egorov <[email protected]> | 2025-12-16 05:03:05 +0300 |
|---|---|---|
| committer | Pavel Egorov <[email protected]> | 2025-12-16 05:03:05 +0300 |
| commit | 4cae51308aa8625dc2b482e5c36c58d6168b9fc1 (patch) | |
| tree | 41e39409e76498200a3554f92e0854fc94a6b8d3 /.config/systemd | |
| parent | a3f41d2e86fc079717ba63b6f86239db6d044650 (diff) | |
| parent | 2db38a695fc0483056d59fdc772c277a54303fe7 (diff) | |
| download | dotfiles-4cae51308aa8625dc2b482e5c36c58d6168b9fc1.tar.gz dotfiles-4cae51308aa8625dc2b482e5c36c58d6168b9fc1.zip | |
Merge branch 'niri'
Diffstat (limited to '.config/systemd')
| -rw-r--r-- | .config/systemd/user/swaybg.service | 12 | ||||
| -rw-r--r-- | .config/systemd/user/swayidle.service | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/.config/systemd/user/swaybg.service b/.config/systemd/user/swaybg.service new file mode 100644 index 0000000..4a7903c --- /dev/null +++ b/.config/systemd/user/swaybg.service | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Wallpaper utility for Wayland | ||
| 3 | After=graphical-session.target | ||
| 4 | PartOf=graphical-session.target | ||
| 5 | Requisite=graphical-session.target | ||
| 6 | |||
| 7 | [Install] | ||
| 8 | WantedBy=niri.service | ||
| 9 | |||
| 10 | [Service] | ||
| 11 | ExecStart=/usr/bin/swaybg --image "%h/.config/wallpaper" | ||
| 12 | Restart=on-failure | ||
diff --git a/.config/systemd/user/swayidle.service b/.config/systemd/user/swayidle.service new file mode 100644 index 0000000..3f4397c --- /dev/null +++ b/.config/systemd/user/swayidle.service | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Idle management daemon for Wayland | ||
| 3 | After=graphical-session.target | ||
| 4 | PartOf=graphical-session.target | ||
| 5 | Requisite=graphical-session.target | ||
| 6 | |||
| 7 | [Install] | ||
| 8 | WantedBy=niri.service | ||
| 9 | |||
| 10 | [Service] | ||
| 11 | ExecStart=/usr/bin/swayidle -w | ||
| 12 | Restart=on-failure | ||
