# Volumettf - tint2 executor update

**URL:** https://forum.maboxlinux.org/t/volumettf-tint2-executor-update/2382
**Category:** Tint2 Panels
**Created:** [November 13, 2025, 3:30pm UTC](https://forum.maboxlinux.org/t/volumettf-tint2-executor-update/2382 "2025-11-13T15:30:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![napcok](https://forum.maboxlinux.org/user_avatar/forum.maboxlinux.org/napcok/32/410_2.png) [@napcok](https://forum.maboxlinux.org/u/napcok)
#### Post date: [November 13, 2025, 3:30pm UTC](https://forum.maboxlinux.org/t/volumettf-tint2-executor-update/2382/1 "2025-11-13T15:30:09Z")

</div>

In case the volume icon in the panel isn’t working properly, here’s the updated script:  
Overwrite `~/.config/tint2/scripts/volumettf`

```bash
#!/bin/bash
# Tint2 volume executor with ttf icons

active_sink=$(LANG=C pactl get-default-sink)
muted=$(LANG=C pactl list sinks | grep -A14 -P "$active_sink" | awk '/Mute:/{print $2}')
vol=$(LANG=C pactl list sinks | grep -A14 -P "$active_sink" | awk '/Volume: front-left:/{print $5}' | cut -f1 -d'%')

if [[$muted = "no"]]; then
    if [[$vol -ge 80]]; then
        echo "墳<sup><span size='xx-small'> $vol%</span></sup>"
    elif [[$vol -ge 70]]; then
            echo "墳<sup><span size='xx-small'> $vol%</span></sup>"
    elif [[$vol -ge 60]]; then
            echo "奔<sup><span size='xx-small'> $vol%</span></sup>"
    elif [[$vol -ge 50]]; then
            echo "奔<sup><span size='xx-small'> $vol%</span></sup>"
    elif [[$vol -ge 30]]; then
            echo "奔<sup><span size='xx-small'> $vol%</span></sup>"
    elif [[$vol -ge 10]]; then
            echo "奄<sup><span size='xx-small'> $vol%</span></sup>"
    elif [[$vol -ge 0]]; then
            echo "奄<sup><span size='xx-small'> $vol%</span></sup>"
    fi
else
    echo "婢<sup><span size='xx-small'> $vol%</span></sup>"
fi

```

* * *

## Volume ttf icon functionality

`left-click` - mute/unmute  
`mousewheel up/down` - volume up/down  
`right-click` - pavucontrol - volume control GUI.

`right-click` - previously was bound to **Music & Sound menu** which is available now by W-m or by clicking top-right desktop corner.
