fix volume dwm bund

This commit is contained in:
_N3m0 2024-03-04 16:19:19 +01:00
parent f22b670b5f
commit aa0ec812ef
1 changed files with 2 additions and 0 deletions

2
volume
View File

@ -1,5 +1,7 @@
#!/bin/bash
source /home/cptbb/dev/script/bashrc
sound_card=$(cat $XDG_CONFIG_HOME/sound_card)
lev=$(amixer get $sound_card | grep % | head -n 1 | cut -f7 -d' ' | sed "s/\[\|\]\|%//g")