summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xserver
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-10-28 20:18:31 +0100
committertv <tv@krebsco.de>2015-10-28 20:18:31 +0100
commit47b89bbe4237c4a28bb60a73672426831c142b6d (patch)
treea9304898d621b20e122b499b03712e8843e99cfc /tv/2configs/xserver
parent06c0ea4c407081060eec36b0b743a71fa5c2c106 (diff)
tv xmonad: s/concatMap (++"\n")/unlines/
Diffstat (limited to 'tv/2configs/xserver')
-rw-r--r--tv/2configs/xserver/xmonad/Util/Shutdown.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/xserver/xmonad/Util/Shutdown.hs b/tv/2configs/xserver/xmonad/Util/Shutdown.hs
index c5a3edb..89e22b4 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 ()