From c224c479eba3279cd5efda33e1d1b9a4c88e4e10 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sat, 24 Jul 2021 19:48:58 +0200 Subject: [PATCH] extra option added --- src/Monitors/Volume.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monitors/Volume.hs b/src/Monitors/Volume.hs index 5bfb891..dde8a77 100644 --- a/src/Monitors/Volume.hs +++ b/src/Monitors/Volume.hs @@ -79,7 +79,7 @@ fmtData :: [MixerData] -> String fmtData = (separator ++ ) . intercalate separator . map getStatus runAmixer :: String -> IO String -runAmixer mixer = readProcess "amixer" ["get", mixer] "" +runAmixer mixer = readProcess "amixer" ["get", "-c", "0", mixer] "" queryVolume :: IO String