i3-wm/.config/conky/scripts/get_volume.sh

5 lines
114 B
Bash
Raw Permalink Normal View History

2025-08-05 01:22:52 +02:00
#!/bin/bash
get_volume=$(amixer | grep "%" | head -1 | cut -d "%" -f 1 | cut -d "[" -f 2)
2025-08-08 12:47:26 +02:00
echo "${get_volume}% "