dotfiles/.config/conky/scripts/get_volume.sh

5 lines
114 B
Bash
Raw Normal View History

2022-05-20 00:06:39 +02:00
#!/bin/bash
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
echo "${get_volume}% "