summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/PipeReader.hs
diff options
context:
space:
mode:
authorKeith <wygulmage@users.noreply.github.com>2020-08-07 19:29:45 -0400
committerKeith <wygulmage@users.noreply.github.com>2020-08-07 19:40:21 -0400
commit6b8a1822c816c1d060f5d49228494b61503dfcd0 (patch)
tree01398fcd9660124e29110c9811ab3138120d344f /src/Xmobar/Plugins/PipeReader.hs
parentc353eb02975999700b91e4a8835aba13643e820f (diff)
downloadxmobar-6b8a1822c816c1d060f5d49228494b61503dfcd0.tar.gz
xmobar-6b8a1822c816c1d060f5d49228494b61503dfcd0.tar.bz2
removed default arg of channel', channel (Plugins.Monitors.Volume)
Both functions had a default parameter for use in some error cases. Now each accepts only one parameter (a PerChannel), and return Nothing on an error. The definition of 'channel' confused me, so I simplified it. Hopefully it's now more clear that it just applies 'toInteger' to the 'IO (Maybe CLong)' that 'channel'' returns.
Diffstat (limited to 'src/Xmobar/Plugins/PipeReader.hs')
0 files changed, 0 insertions, 0 deletions