summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
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