summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2008-08-06 22:40:47 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2008-08-06 22:40:47 +0200
commit25886ea48e9083240ce09f42755f6ef11455e51f (patch)
tree11be12e2673e2d66d491c6271ca9823b4fb08f51 /xmobar.cabal
parent171112160c38ea941cb16cfb04fb66fb3c9a5a6a (diff)
downloadxmobar-25886ea48e9083240ce09f42755f6ef11455e51f.tar.gz
xmobar-25886ea48e9083240ce09f42755f6ef11455e51f.tar.bz2
Add mail watcher plugin
darcs-hash:20080806204047-a5988-a8917d4a02c8ddf9afa34780e6794d3f141d16a0.gz
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 02e60cb..9ed1cfd 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -24,6 +24,9 @@ flag with_xft
flag with_utf8
description: With UTF-8 support.
+flag with_inotify
+ description: inotify support (modern Linux only). Required for the Mail plugin.
+
executable xmobar
main-is: Main.hs
other-Modules: Xmobar, Config, Parsers, Commands, XUtil, Runnable, Plugins
@@ -43,4 +46,8 @@ executable xmobar
build-depends: utf8-string
cpp-options: -DUTF8
+ if flag(with_inotify)
+ build-depends: hinotify
+ cpp-options: -DINOTIFY
+
build-depends: X11>=1.3.0, mtl, unix, parsec, filepath, stm