summaryrefslogtreecommitdiffhomepage
path: root/xmobar.cabal
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-11-24 20:36:10 +0000
committerjao <jao@gnu.org>2018-11-24 20:36:10 +0000
commit4af5117eb47028b234f4779c9c62cf344320e151 (patch)
treee981eb8934e52cb63a5bed1f7ab6240edc543eca /xmobar.cabal
parentc84a2e586563cce90f4324eb38bfb2e2207eb7fc (diff)
downloadxmobar-4af5117eb47028b234f4779c9c62cf344320e151.tar.gz
xmobar-4af5117eb47028b234f4779c9c62cf344320e151.tar.bz2
Refactoring: cleaner separation app/lib and more cleanups
Diffstat (limited to 'xmobar.cabal')
-rw-r--r--xmobar.cabal24
1 files changed, 15 insertions, 9 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 4a22a8b..9c6fcf7 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -95,19 +95,12 @@ library
hs-source-dirs: src/lib
exposed-modules: Xmobar,
+ Xmobar.Types,
+ Xmobar.Config,
Xmobar.Actions,
Xmobar.Bitmap,
- Xmobar.Config,
- Xmobar.Parsers,
Xmobar.Commands,
- Xmobar.Localize,
- Xmobar.XUtil,
- Xmobar.StatFS,
Xmobar.Runnable,
- Xmobar.ColorCache,
- Xmobar.Window,
- Xmobar.Signal,
- Xmobar.Environment,
Xmobar.Plugins,
Xmobar.Plugins.BufferedPipeReader,
Xmobar.Plugins.CommandReader,
@@ -139,6 +132,17 @@ library
Xmobar.Plugins.Monitors.Bright,
Xmobar.Plugins.Monitors.CatInt
+ other-modules: Xmobar.Localize,
+ Xmobar.Parsers,
+ Xmobar.XUtil,
+ Xmobar.StatFS,
+ Xmobar.ColorCache,
+ Xmobar.Window,
+ Xmobar.Draw,
+ Xmobar.Signal,
+ Xmobar.Environment,
+ Xmobar.EventLoop
+
extra-libraries: Xrandr Xrender
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
@@ -297,6 +301,8 @@ test-suite XmobarTest
other-modules: Plugins.Monitors.CommonSpec,
Xmobar.Commands,
Xmobar.Signal,
+ Xmobar.XUtil,
+ Xmobar.ColorCache,
Xmobar.Plugins,
Xmobar.Plugins.Utils,
Xmobar.Plugins.Monitors.Common