From 4c1a6b350095e671eea5a4963e6b82997c5098fc Mon Sep 17 00:00:00 2001 From: Martin Perner Date: Thu, 21 Jul 2011 18:13:32 +0200 Subject: DateZone: Added plugin for localized date --- xmobar.cabal | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xmobar.cabal') diff --git a/xmobar.cabal b/xmobar.cabal index abdf136..ecafe1d 100644 --- a/xmobar.cabal +++ b/xmobar.cabal @@ -57,6 +57,10 @@ flag with_alsa description: Use alsa-mixer to get the volume from soundcards. default: False +flag with_datezone + description: Enables localized date support + default: False + executable xmobar hs-source-dirs: src main-is: Main.hs @@ -120,3 +124,8 @@ executable xmobar build-depends: alsa-mixer == 0.1.* other-modules: Plugins.Monitors.Volume cpp-options: -DALSA + + if flag(with_datezone) || flag(all_extensions) + build-depends: timezone-olson, timezone-series + other-modules: Plugins.DateZone + cpp-options: -DDATEZONE -- cgit v1.2.3