configs/desktop/scripts/volume.sh
Lucas Barbieri b55a2629fb move scripts to the right dir
turns out i was dumping them in 2 different places lmao
2024-01-16 13:08:59 -03:00

6 lines
96 B
Bash
Executable File

#!/bin/sh
vol="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
echo "${vol}%"