summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2014-09-04 20:38:53 +0200
committerjao <jao@gnu.org>2014-09-04 20:38:53 +0200
commit8d658f93df22d69ea4170234b15fd03cdd3f7f4f (patch)
tree478344a55fc84b95475ec47d33caeada7bdf28f9 /xmobar.cabal
parentce60a9fcca7c05fee01758bd49b2f9e410693769 (diff)
parent8512afbb2c3be1897101da0b23edb258715475e6 (diff)
downloadxmobar-8d658f93df22d69ea4170234b15fd03cdd3f7f4f.tar.gz
xmobar-8d658f93df22d69ea4170234b15fd03cdd3f7f4f.tar.bz2
Merge branch 'xpm' of https://github.com/projedi/xmobar
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 9e0e509..716366e 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -66,6 +66,10 @@ flag with_dbus
description: Publish a service on the session bus for controlling xmobar.
default: False
+flag with_xpm
+ description: Enable usage of xpm for icons
+ default: False
+
flag with_threaded
description: Use threaded runtime.
default: False
@@ -166,3 +170,8 @@ executable xmobar
build-depends: dbus >= 0.10
other-modules: IPC.DBus
cpp-options: -DDBUS
+
+ if flag(with_xpm) || flag(all_extensions)
+ extra-libraries: Xpm
+ other-modules: XPMFile
+ cpp-options: -DXPM