Skip to content

Hot-reload configuration via signal #20

@SakibShahariar

Description

@SakibShahariar

Idea:

  • Allow clock-rs to listen for a POSIX signal (e.g., SIGUSR1).

  • When the signal is received, the running clock-rs instance reloads its config file without needing a full restart.

  • This would let users do the same thing as Cava’s post_hook—apply a new theme or config dynamically.

Why it’s useful:

  • Users can switch themes, update colors, or change formats on the fly.

  • Makes integration with scripts, templates, or dotfile managers seamless.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions