xmobar 0.29.2 → 0.29.3
raw patch · 5 files changed
+19/−7 lines, 5 filesdep ~alsa-mixerPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: alsa-mixer
API changes (from Hackage documentation)
+ Xmobar: configFromArgs :: Config -> IO Config
Files
- changelog.md +8/−0
- src/Xmobar.hs +2/−1
- src/Xmobar/App/Main.hs +5/−2
- src/Xmobar/App/Opts.hs +1/−1
- xmobar.cabal +3/−3
changelog.md view
@@ -1,3 +1,11 @@+## Version 0.29.3 (December, 2018)++_Bug fixes_++ - Upper bound for alsa_mixer (see [issue #372])++[issue #372]: https://github.com/jaor/xmobar/issues/372+ ## Version 0.29.2 (December, 2018) _Bug fixes_
src/Xmobar.hs view
@@ -18,6 +18,7 @@ module Xmobar (xmobar , xmobarMain , defaultConfig+ , configFromArgs , Runnable (..) , Exec (..) , Command (..)@@ -65,5 +66,5 @@ import Xmobar.Plugins.StdinReader import Xmobar.Plugins.XMonadLog -import Xmobar.App.Main(xmobar, xmobarMain)+import Xmobar.App.Main(xmobar, xmobarMain, configFromArgs) import Xmobar.App.Config(defaultConfig)
src/Xmobar/App/Main.hs view
@@ -15,7 +15,7 @@ ------------------------------------------------------------------------------ -module Xmobar.App.Main (xmobar, xmobarMain) where+module Xmobar.App.Main (xmobar, xmobarMain, configFromArgs) where import Control.Concurrent.Async (Async, cancel) import Control.Exception (bracket)@@ -39,7 +39,7 @@ import Xmobar.X11.Types import Xmobar.X11.Text import Xmobar.X11.Window-import Xmobar.App.Opts+import Xmobar.App.Opts (recompileFlag, verboseFlag, getOpts, doOpts) import Xmobar.App.EventLoop (startLoop, startCommand) import Xmobar.App.Compile (recompile, trace) import Xmobar.App.Config@@ -61,6 +61,9 @@ to = textOffset conf ts = textOffsets conf ++ replicate (length fl) (-1) startLoop (XConf d r w (fs:fl) (to:ts) ic conf) sig vars++configFromArgs :: Config -> IO Config+configFromArgs cfg = getArgs >>= getOpts >>= doOpts cfg . fst cleanupThreads :: [[([Async ()], a)]] -> IO () cleanupThreads vars =
src/Xmobar/App/Opts.hs view
@@ -14,7 +14,7 @@ -- ------------------------------------------------------------------------------ -module Xmobar.App.Opts where+module Xmobar.App.Opts (recompileFlag, verboseFlag, getOpts, doOpts) where import Control.Monad (when) import System.Console.GetOpt
xmobar.cabal view
@@ -1,5 +1,5 @@ name: xmobar-version: 0.29.2+version: 0.29.3 homepage: http://xmobar.org synopsis: A Minimalistic Text Based Status Bar description: Xmobar is a minimalistic text based status bar.@@ -223,7 +223,7 @@ cpp-options: -DLIBMPD if flag(with_alsa) || flag(all_extensions)- build-depends: alsa-mixer > 0.2.0.2+ build-depends: alsa-mixer > 0.2.0.2 && < 0.3 build-depends: alsa-core == 0.5.*, process >= 1.4.3.0 exposed-modules: Xmobar.Plugins.Monitors.Volume@@ -325,7 +325,7 @@ Xmobar.System.Signal if flag(with_alsa) || flag(all_extensions)- build-depends: alsa-mixer > 0.2.0.2,+ build-depends: alsa-mixer > 0.2.0.2 && < 0.3, alsa-core == 0.5.*, process >= 1.4.3.0 other-modules: Xmobar.Plugins.Monitors.Volume