summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormichaellilanushoober <30565219+michaellilanushoober@users.noreply.github.com>2017-07-30 08:48:49 +0200
committerGitHub <noreply@github.com>2017-07-30 08:48:49 +0200
commit4e016c5c2065430d58b1c2a75de524a4adb7dd38 (patch)
treeb44f5ff223c5c9d111ad5aea49e1f1dac2d8c668
parent36f9b831a3d855ac42b701426556e62ae3dbce08 (diff)
downloadxmobar-4e016c5c2065430d58b1c2a75de524a4adb7dd38.tar.gz
xmobar-4e016c5c2065430d58b1c2a75de524a4adb7dd38.tar.bz2
Remove UVMeter from global 'other-modules' list
List the module UVMeter within the conditional branch of the flag 'with_uvmeter' instead of the global 'other-modules'.
-rw-r--r--xmobar.cabal4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmobar.cabal b/xmobar.cabal
index 3c244e6..78bda6a 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -106,8 +106,7 @@ executable xmobar
Plugins.Monitors.Swap, Plugins.Monitors.Thermal,
Plugins.Monitors.ThermalZone, Plugins.Monitors.Top,
Plugins.Monitors.Uptime, Plugins.Monitors.Weather,
- Plugins.Monitors.Bright, Plugins.Monitors.CatInt,
- Plugins.Monitors.UVMeter
+ Plugins.Monitors.Bright, Plugins.Monitors.CatInt
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
extra-libraries: Xrandr Xrender
@@ -196,4 +195,5 @@ executable xmobar
cpp-options: -DXPM
if flag(with_uvmeter)
+ other-modules: Plugins.Monitors.UVMeter
cpp-options: -DUVMETER