Age | Commit message (Collapse) | Author |
|
This PR just adds a note about Xmobar versions 0.27 and up requiring GHC 8.0.2 or later.
Debian Stretch (stable) is pinned to GHC 8.0.1, so this will presumably be an issue for some Debian users for the next year or so until the next Debian release.
I'm not sure if this warrants adding a note about it to the docs, but it was something that tripped me up, so I thought I'd send a PR and let you decide if you think it belongs in the README. Don't feel bad if you decide to not merge this PR!
Thanks.
|
|
|
|
Closes #356
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It's possible (and happens) that netParser sees a device that is no
longer there when we get to isUp. This happens almost every time I
resume from suspend and the WWAN card (USB device) reappears, and
results in xmobar showing the exception until I restart it.
Originally I tried
tryJust (guard . isDoesNotExistError) (B.readFile (operstateDir d))
and it worked for a while but in recent kernels it's possible to open
the file and have the device disappear before we get to reading the
contents of it, so we need to surround the whole open/read block in
catchIOError and make sure it's evaluated.
|
|
|
|
|
|
To make the <autoipat> pattern truly automatic, there needs to be a fallback
icon set to use when the user hasn't specified enough --load-icon-patterns.
This adds the fallback under the name --fallback-icon-pattern
|
|
|
|
|
|
This reverts commit 3e6e34465e8b6cacf762866239666fb72e685acc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Removed ghc 7.6 due to compilation error.
Added ghc 8.0, 8.2.
|
|
The Travis CI fails due to the command sh ./travis.sh src returns an
error due to the fact that travis.sh does not exist.
The fix is removing the command from travis.yml.
|
|
|
|
Should fix issue #325
|
|
|
|
|
|
|
|
The URL which exports the real time UV data has changed to an HTTPS
address. Since the HTTP package does not support HTTPS URLs, use
http-conduit to retrieve the XML document.
Unfortunately, the XML documents XML declaration precedes a byte order
mark which the previous XML parser was unable to handle. We're simply
ignoring the BOM in order to get to the UV values.
|
|
Hide the monitor 'Weather' behind a flag named 'with_weather'.
This implies that the dependency on the module 'HTTP' is now optional.
The default for 'with_weather' is True since we do not want to break
backwards compatibility/user experience.
Further moved the effect of the flag with_conduit within the branch of
'with_weather', since that flag only has some effect if 'with_weather'
is true.
|
|
List the module UVMeter within the conditional branch of the flag 'with_uvmeter' instead of the global 'other-modules'.
|