Rename the night shift state and configuration paths #7

Closed
opened 2026-08-16 22:10:09 +01:00 by joshquinlan · 1 comment
Owner

The commands are donbox nightshift now, but the state directory is
still ~/.local/state/night-shift and the file is still
~/.config/night-shift.conf.

Blocked on migrations: renaming them needs something to move what is
already on disk.

The commands are donbox nightshift now, but the state directory is still ~/.local/state/night-shift and the file is still ~/.config/night-shift.conf. Blocked on migrations: renaming them needs something to move what is already on disk.
Author
Owner

State is now ~/.local/state/donbox/nightshift and configuration ~/.config/donbox/nightshift.conf, with the runtime lock and the daemon prefixes renamed to match.

Migration 1787344709 moves both, and its tests run it twice for idempotence and once against a machine already moved to prove it leaves customisation alone. Landed in 6285c24 and applied on this machine; the daemon was restarted and reports the schedule from the new paths.

State is now ~/.local/state/donbox/nightshift and configuration ~/.config/donbox/nightshift.conf, with the runtime lock and the daemon prefixes renamed to match. Migration 1787344709 moves both, and its tests run it twice for idempotence and once against a machine already moved to prove it leaves customisation alone. Landed in 6285c24 and applied on this machine; the daemon was restarted and reports the schedule from the new paths.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
joshquinlan/dotfiles#7
No description provided.