diff options
author | Keith <wygulmage@users.noreply.github.com> | 2020-08-07 19:29:45 -0400 |
---|---|---|
committer | Keith <wygulmage@users.noreply.github.com> | 2020-08-07 19:40:21 -0400 |
commit | 6b8a1822c816c1d060f5d49228494b61503dfcd0 (patch) | |
tree | 01398fcd9660124e29110c9811ab3138120d344f /src/Xmobar/Run | |
parent | c353eb02975999700b91e4a8835aba13643e820f (diff) | |
download | xmobar-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/Run')
0 files changed, 0 insertions, 0 deletions