summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2018-11-24Exported modules and names adjustmentsjao
2018-11-24Refactoring: cleaner separation app/lib and more cleanupsjao
2018-11-22Wee refactoringsjao
2018-11-21All sources moved inside srcjao
2018-11-21Configuration file parsing moved to app modulejao
2018-11-21Cabal file adapted to the library splitjao
2018-11-21Fix Indentation in Kbd PluginPavan Rikhi
An unindented `do` block was causing compilation failures.
2018-11-21Plugins.Monitors.Alsa moved to Xmobarjao
2018-11-21Split Modules into Library & Executable StructurePavan Rikhi
Move the Main module to a new `app` directory. All other modules have been nested under the `Xmobar` name. Lots of module headers & imports were updated.
2018-11-21Wireless: simple auto-detection of interface namejao
2018-11-18Fix: it's wmName, not windowNamejao
2018-11-17TopProc: skipping kernel threads (fixes #369)jao
2018-11-15Typo in config parser for wmclass (closes #368)jao
2018-10-29Improved handling of missing thermal zone filesbobtwinkles
Instead of simply displaying zero when reading the thermal zone file fails, display whatever we would display when provided with a misconfigured thermal zone.
2018-10-29Allow recovery from missing thermal zonesbobtwinkles
Sometimes the kernel takes some time to populate /sys/class/thermal/ * after resuming from suspend. Previously, this would result in the thermal plugin dying permanantly. With this patch, we show "0" until the kernel gets around to populating the sysfs nodes we need.
2018-10-27Return a dbus error if unknown method or signalMitchell Rosen
2018-10-10Revert "More paths for CoreTemp (issue #291)"jao
This reverts commit 938a8d8307c1c4794c5fcf269c587c3c5c5e70df.
2018-10-06Contact email address updatedjao
2018-10-06Fix: only use Mail, MBox and DateZone if compilation requestedjao
2018-10-06Install handlers only for sigTERM and sigQUITDaniel Schüssler
2018-10-06Fix build warningsDaniel Schüssler
2018-10-06Install signal handlers for most signals that terminate the process by default.Daniel Schüssler
Make the signals throw an exception on the main thread instead (so it can run cleanup actions, including terminating the other threads cleanly), and finally run the default signal handler.
2018-10-06Alsa plugin: Cancel reader thread (to terminate alsactl) when plugin main ↵Daniel Schüssler
thread exits.
2018-10-06Signal termination to plugin threads and wait for them upon program exitDaniel Schüssler
This is necessary to allow the plugin threads to run their cleanup actions.
2018-10-06Turn the --monitor option to `Volume` into a new plugin `Alsa` insteadDaniel Schüssler
See #360.
2018-10-06Add event-based refreshing for Volume plugin (--monitor option)Daniel Schüssler
This uses alsactl monitor for push/event-based updating instead of polling.
2018-07-19New ComX specifying error output string (closes #342)jao
2018-07-12port to dbus-1Sergei Trofimovich
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2018-07-10New configuration parameter `textOffsets` (fixes #311)jao
2018-06-24hlintingjao
2018-06-24Fix: tag-respecting trimming of monitor oututs (-T, -E)jao
2018-04-24Build with hinotify 0.3.10 and earlier, fixes #348, fixes #350Mark Wright
2018-04-05Net: fix race condition in netParser/readNetDev/isUpTomas Janousek
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.
2018-03-17Add fallback icon support to MultiCpubobtwinkles
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
2018-03-07Add ellipsis option for Monitor's fields and total textOlivier Schneider
2018-02-18Batt: Try also "BAT" (fixes #338)jao
2018-02-03Remove x from ghzFmtAda Joule
2018-02-03Change default unit to GHzAda Joule
2018-02-03Make CpuFreq use MHz unit when suffix is falseAda Joule
2018-02-03Honour -d switch in CpuFreqAda Joule
2018-02-01Kbd: silence warnings with explicitly undefined pokejao
2018-01-31Let's try travis.sh (hlint warnings) againjao
2018-01-31Using external iwlibjao
2017-12-23Honouring NAString in MPris (-x switch) monitorjao
Should fix issue #325
2017-12-15Configurable WM_CLASS and WM_NAME (should address #323)jao
2017-08-24Fix UVMeter due to changed URL and BOMRóman Joost
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.
2017-07-30Guard monitor 'Weather' behind flag 'with_weather'michaellilanushoober
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.
2017-05-27Version set to 0.24.50.24.5jao
2017-05-27Fix for vertical bars (should fix issue #303)jao
2017-04-29Preprocessor nitsjao