From 4e016c5c2065430d58b1c2a75de524a4adb7dd38 Mon Sep 17 00:00:00 2001 From: michaellilanushoober <30565219+michaellilanushoober@users.noreply.github.com> Date: Sun, 30 Jul 2017 08:48:49 +0200 Subject: 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'. --- xmobar.cabal | 4 ++-- 1 file 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 -- cgit v1.2.3