i3-wm/.config/conky/scripts/get_volume.sh
2025-08-05 01:22:52 +02:00

5 lines
118 B
Bash
Executable File

#!/bin/bash
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
echo "${get_volume}% "