fix script rpobably and do that and this

This commit is contained in:
Sakooooo 2023-07-24 21:34:10 +03:00
parent 8b6e9b27b2
commit 6bd128c6b0
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 1 additions and 3 deletions

View file

@ -4,5 +4,3 @@
vol=$(amixer get Master | awk -F'[]%[]' '/%/ {if ($7 == "off") { print "MM" } else { print $2 }}' | head -n 1)
echo Vol: $vol%
exit 0

View file

@ -80,7 +80,7 @@ Config {
] 10
, Run XPropertyLog "_XMONAD_TRAYPAD"
, Run CommandReader "/home/sako/.config/xmobar/scripts/volume.sh" "vol"
, Run Com "/home/sako/.config/xmobar/scripts/volume.sh" [] "vol" 30
-- battery monitor
, Run Battery [ "--template" , "Batt: <acstatus>"