From 8f6e5103dc8dc3068637b696762e96c2729e939e Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Wed, 3 Nov 2021 01:13:07 -0600 Subject: Added MosaicAlt Layout. Changed weather icon to use moon icon for 'clear' --- src/Internal/LayoutDraw.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Internal/LayoutDraw.hs') diff --git a/src/Internal/LayoutDraw.hs b/src/Internal/LayoutDraw.hs index 4bb069a..7c69a08 100644 --- a/src/Internal/LayoutDraw.hs +++ b/src/Internal/LayoutDraw.hs @@ -10,6 +10,7 @@ import Control.Monad import Graphics.Rendering.Cairo import Graphics.Rendering.Cairo.Internal (Render(runRender)) import Graphics.Rendering.Cairo.Types (Cairo(Cairo)) +import Control.Concurrent (threadDelay) import System.FilePath import XMonad @@ -85,7 +86,7 @@ drawPng l = do surfaceWriteToPNG surface filepathPng - (!_) <- readProcessWithExitCode + out <- readProcessWithExitCode "/usr/bin/convert" [filepathPng, filepathXpm] "" -- cgit