Skip to content

USR2 signal to know if active #585

@schtibe

Description

@schtibe

I often turn redshift off with the USR1 signal (killall -USR1 redshift) when doing stuff that requires natural colors, like photography stuff. I'd like to have some script in my status bar to toggle it with a simple click.

In order to know whether redshift is on or not for the script, it would be nice to have a way of asking the redshift process. I'm thinking of maybe using the USR2 signal that outputs some status would be nice?

Edit
I just realized that using USR2 would be useless because we can't send the state to the signal caller.

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