diff options
author | Özgür Kesim <oec@codeblau.de> | 2022-02-05 13:03:54 +0100 |
---|---|---|
committer | Özgür Kesim <oec@codeblau.de> | 2022-02-05 13:03:54 +0100 |
commit | 376cb53a63d9fc43da2e87fabc80734230f578e3 (patch) | |
tree | ae2ee7cafd37ded9a177c31532c5f49051adec51 | |
parent | 944e4af11b12fd2f8f8dfd861e245f65706fa1c9 (diff) |
simplify config
-rw-r--r-- | README.md | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -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% }{ \ - \│ <action=`alacritty -t pamix -e pamix` button=1>%Vol%</action> \ - \│ %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. |