Touch & Slide buttons for brightness & volume.

Hey! I'm using this preset but I'd like to update the volume icon based on the current volume status. I've referenced a handful of similar widgets/buttons that update the icon within the code, but I'm EXTREMELY unfamiliar with the code needed to do this, and have made zero progress.

Essentially, I'd like to use each of these icons (found in this icon pack) to indicate my macbook's current volume percentage

In case someone wants to help me write the code, I'm looking for the icons to match this format (referenced from left(icon 1) to right(icon 6))

  • Volume is less than or equal to 33% and status is muted; display icon 2

  • Volume is greater than or equal to 41% and status is muted; display icon 1

  • Volume = 0% and status is not muted; display icon 6

  • Volume is greater than 0% and less than or equal to 33%; display icon 4

  • Volume is greater than or equal to 34% and less than or equal to 66; display icon 5

  • Volume is greater than or equal to 67%; display icon 3

Any help is greatly appreciated :slight_smile: