mirror of
https://github.com/polybar/polybar.git
synced 2024-10-27 05:23:39 -04:00
Merge pull request #37 from patrick96/master
Fix volume ramp not working
This commit is contained in:
commit
b290539514
1 changed files with 3 additions and 3 deletions
|
@ -181,9 +181,9 @@ std::string VolumeModule::get_output()
|
|||
bool VolumeModule::build(Builder *builder, std::string tag)
|
||||
{
|
||||
if (tag == TAG_BAR_VOLUME)
|
||||
builder->node(this->bar_volume, volume);
|
||||
else if (tag == TAG_RAMP_VOLUME)
|
||||
builder->node(this->ramp_volume, volume);
|
||||
builder->node(this->bar_volume, volume());
|
||||
else if (tag == TAG_RAMP_VOLUME)
|
||||
builder->node(this->ramp_volume, volume());
|
||||
else if (tag == TAG_LABEL_VOLUME)
|
||||
builder->node(this->label_volume_tokenized);
|
||||
else if (tag == TAG_LABEL_MUTED)
|
||||
|
|
Loading…
Reference in a new issue