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:
2026-09-14 15:16:38 -04:00
parent a2dc43d665
commit 7e95a41f33
9 changed files with 70 additions and 22 deletions
+9
View File
@@ -10,6 +10,11 @@
force: true
- link:
~/.config/systemd/user/hypr_refresh.service: common/systemd/hypr_refresh.service
~/.config/systemd/user/hypr_refresh.timer: common/systemd/hypr_refresh.timer
~/.config/systemd/user/backlight-probe.service: hosts/sctfw004/systemd/backlight-probe.service
~/.config/systemd/user/kanshi.service: hosts/sctfw004/systemd/kanshi.service
~/.config/systemd/user/mopidy.service: hosts/sctfw004/systemd/mopidy.service
~/.config/beets: common/beets
~/.config/bottom: common/bottom
~/.config/fastfetch: common/fastfetch
@@ -60,3 +65,7 @@
~/.config/waybar/style.css: common/waybar/style.css
~/.config/waybar/sshuttle-status.sh: common/waybar/sshuttle-status.sh
~/.config/waybar/local.css: hosts/sctfw004/waybar/local.css
- shell:
- command: systemctl --user daemon-reload
description: Reloading user units
+2 -2
View File
@@ -51,8 +51,8 @@
~/.config/waybar/style.css: common/waybar/style.css
~/.config/waybar/sshuttle-status.sh: common/waybar/sshuttle-status.sh
~/.config/waybar/local.css: hosts/system76/waybar/local.css
~/.config/systemd/user/hypr_refresh.service: hosts/system76/systemd/hypr_refresh.service
~/.config/systemd/user/hypr_refresh.timer: hosts/system76/systemd/hypr_refresh.timer
~/.config/systemd/user/hypr_refresh.service: common/systemd/hypr_refresh.service
~/.config/systemd/user/hypr_refresh.timer: common/systemd/hypr_refresh.timer
- shell:
- command: systemctl --user daemon-reload