Share hypr_refresh; capture the work laptop's own units
Both laptops run hypr_refresh and their unit files had diverged. The work laptop's is the refined one — Type=oneshot, which is correct for a script that exits, a 15s interval with AccuracySec, and a comment explaining the wallpaper-daemon guard. system76 had Type=simple with Restart=on-failure, which respawns a oneshot script continuously. Shared version wins. Three more units existed only on the work laptop and were untracked: backlight-probe, kanshi and mopidy.
This commit is contained in:
1 parent
a2dc43d665
commit
7e95a41f33
9 files changed
+70
-22
No files matched your search
@@ -1,11 +0,0 @@
|
||||
[Unit]
|
||||
Description=Refresh Hyprland Wallpaper and Colors
|
||||
After=graphical-session.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=%h/.dotfiles/common/bin/hypr_refresh
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=Run hypr_refresh every minute after boot
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
OnUnitActiveSec=1min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in new issue
Block a user