summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Bright.hs
diff options
context:
space:
mode:
authorJochen Keil <jochen.keil@gmail.com>2012-08-12 10:33:41 +0200
committerJochen Keil <jochen.keil@gmail.com>2012-08-12 10:46:31 +0200
commit8a53271cd677bea3223f7d25eb1f697aa3d96540 (patch)
tree8f8f1c3ddc2e2ff0967218e2766105964cba6df8 /src/Plugins/Monitors/Bright.hs
parent116e902d68546ef7f39ef5f75d24b8beba43661c (diff)
downloadxmobar-8a53271cd677bea3223f7d25eb1f697aa3d96540.tar.gz
xmobar-8a53271cd677bea3223f7d25eb1f697aa3d96540.tar.bz2
Catch error when DBus connection fails
connectSession throws a ClientError Exception when DBUS_SESSION_BUS_ADDRESS is unset. Without exception handler this will result in program termination. Since the DBus handler merely sends a signal to the event loop it does no harm when it won't run. Normal operation will continue just if compiled without dbus support.
Diffstat (limited to 'src/Plugins/Monitors/Bright.hs')
0 files changed, 0 insertions, 0 deletions