Reactions:
1) Stop an application: Redshift
2) Start an application (advanced mode):
executable: redshift
Parameters: -m vidmode
Wait until application exists: On
Redshift redenns the screen color according to the time of day. It has 2 modes: randr & vidmode. By default I have randr as the mode.
What I want to do is that when a video starts (there's a feature request for this), in this case when Gnome Mplayer starts, redshift is killed & another instance with the vidmode is started.
The problem: opening any new window within the player (e.g;; File > Open or Edit > Preferences) causes the stimulus to do its work again.
Here's what I did:
Stimulus: Application Starts
Application: Gnome Mplayer
Reactions:
1) Stop an application: Redshift
2) Start an application (advanced mode):
executable: redshift
Parameters: -m vidmode
Wait until application exists: On
Redshift redenns the screen color according to the time of day. It has 2 modes: randr & vidmode. By default I have randr as the mode.
What I want to do is that when a video starts (there's a feature request for this), in this case when Gnome Mplayer starts, redshift is killed & another instance with the vidmode is started.
The problem: opening any new window within the player (e.g;; File > Open or Edit > Preferences) causes the stimulus to do its work again.