From 376cb53a63d9fc43da2e87fabc80734230f578e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Sat, 5 Feb 2022 13:03:54 +0100 Subject: [PATCH] simplify config --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b80a846..18132ae 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,11 @@ This little monitor is my attempt to read the current volume and mute setting of the default sink from PulseAudio and make it accessible to xmobar: ```haskell -Config { commands = [ - , Run CommandReader "puvol-cont" "Vol" - ] - , template = "%XMonadLog% }{ \ - \│ %Vol% \ - \│ %date% " +Config { commands = [ Run CommandReader "puvol-cont" "Vol" ] + , template = " %Vol% " ``` -If it is called as `puvol-cont` it will wait for updates form PulseAudio, read +If it is called as `puvol-cont` it will wait for updates from PulseAudio, read the current value of the mute and volume states and write an output line to stdout.