Skip to content

Commit

Permalink
sound@cinnamon.org: Prevent Muffin from creating sound streams in vol…
Browse files Browse the repository at this point in the history
…ume mixer in sound applet
  • Loading branch information
rlatosky committed Jun 2, 2024
1 parent bc9b012 commit 6420262
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,12 @@ class StreamMenuSection extends PopupMenu.PopupMenuSection {
iconName = "audio-x-generic";
}

let slider = new VolumeSlider(applet, stream, name, iconName);
slider._slider.style = "min-width: 6em;";
this.addMenuItem(slider);
// Prevent Muffin from spawning sound streams
if (name !== "Muffin") {
let slider = new VolumeSlider(applet, stream, name, iconName);
slider._slider.style = "min-width: 6em;";
this.addMenuItem(slider);
}
}
}

Expand Down

0 comments on commit 6420262

Please sign in to comment.