From 6bd128c6b092d68080af299d3d67ad82878e9894 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 24 Jul 2023 21:34:10 +0300 Subject: [PATCH] fix script rpobably and do that and this --- config/xmobar/scripts/volume.sh | 2 -- config/xmobar/xmobarrc | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/xmobar/scripts/volume.sh b/config/xmobar/scripts/volume.sh index 4342a564..abd81b40 100755 --- a/config/xmobar/scripts/volume.sh +++ b/config/xmobar/scripts/volume.sh @@ -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 diff --git a/config/xmobar/xmobarrc b/config/xmobar/xmobarrc index ee39d53f..2d5e4474 100644 --- a/config/xmobar/xmobarrc +++ b/config/xmobar/xmobarrc @@ -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: "