tv xmonad: s/concatMap (++"\n")/unlines/

This commit is contained in:
tv 2015-10-28 20:18:31 +01:00
parent b7d9c3476b
commit 737922a20e

View file

@ -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 ()