From 737922a20e1b15ef5a8d11956c9395f7fede735c Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Oct 2015 20:18:31 +0100 Subject: tv xmonad: s/concatMap (++"\n")/unlines/ --- tv/2configs/xserver/xmonad/Util/Shutdown.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tv/2configs/xserver/xmonad/Util/Shutdown.hs b/tv/2configs/xserver/xmonad/Util/Shutdown.hs index c5a3edb8..89e22b4e 100644 --- a/tv/2configs/xserver/xmonad/Util/Shutdown.hs +++ b/tv/2configs/xserver/xmonad/Util/Shutdown.hs @@ -48,6 +48,6 @@ shutdown = do s <- gets (\s -> (wsData s : extState s)) _ <- io $ do path <- getEnv "XMONAD_STATE" - writeFile path (concatMap (++"\n") s) + writeFile path (unlines s) exitSuccess return () -- cgit v1.2.3