diff options
| author | Gereon Kremer | 2012-12-22 19:06:53 +0100 | 
|---|---|---|
| committer | Michael Stapelberg | 2013-01-05 08:37:20 +0100 | 
| commit | 6147e2b268fd1ffc858453f833f443b8778bc986 (patch) | |
| tree | 682216647e1f97667a7a9fd3d803d1e39f0aac25 /src | |
| parent | make SIGUSR1 do nothing, so that killall -USR1 i3status will force an update (diff) | |
changing volume color from bad to degraded if muted
Diffstat (limited to 'src')
| -rw-r--r-- | src/print_volume.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/print_volume.c b/src/print_volume.c index 080dea2..cf42f3e 100644 --- a/src/print_volume.c +++ b/src/print_volume.c @@ -157,7 +157,7 @@ void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *  		if ((err = snd_mixer_selem_get_playback_switch(hdl->elem, 0, &pbval)) < 0)  			fprintf (stderr, "i3status: ALSA: playback_switch: %s\n", snd_strerror(err));  		if (!pbval)  { -			START_COLOR("color_bad"); +			START_COLOR("color_degraded");  			avg = 0;  		}  	} | 
