aboutsummaryrefslogtreecommitdiff
path: root/src/print_volume.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-19print_volume(linux): Open a new mixer every time.oblique1-103/+52
This fix the following bug: If you switch your sound card on-the-fly, print_volume continued to use the old sound card.
2013-03-19print_volume: don’t return, complete the buffer firstMichael Stapelberg1-9/+10
Otherwise, i3bar will display “SPEC VIOLATION” because full_text is missing in the block.
2013-03-19Support mixer_idx with OSSBaptiste Daroussin1-1/+11
make mixer_idx load the default mixer
2013-03-19Show degraded colors in case volume is muted with OSSBaptiste Daroussin1-0/+6
2013-01-05changing volume color from bad to degraded if mutedGereon Kremer1-1/+1
2012-11-15DragonFlyBSD support addedScott Tincman1-2/+2
2012-10-03Bugfix: Move the pbval definition outside the ifdef (Thanks XTaran)Michael Stapelberg1-1/+1
This fixes compilation on !linux
2012-09-05turn volume into red if mutedSimon Elsbrock1-2/+7
fixes #743
2012-05-09Error handling: Never output null as full_text (JSON), prefix messages with ↵Michael Stapelberg1-6/+6
i3status (Thanks Artemis) The former made i3bar crash, the latter is helpful for debugging.
2012-04-29Print the volume on OpenBSD too. Add missing library to Makefile accordingly.Jasper Lievisse Adriaanse1-1/+7
2012-04-08add yajl compat codeMichael Stapelberg1-0/+2
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-10/+17
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+4
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-07-24Add simple volume support on FreeBSDBaptiste Daroussin1-0/+30
2011-07-21Fix FTBFS on kFreeBSDAxel Beckert1-4/+3
2010-07-20Implement ALSA volume supportMichael Stapelberg1-0/+154