summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-28 20:18:31 +0100
committertv <tv@shackspace.de>2015-10-28 20:18:31 +0100
commit737922a20e1b15ef5a8d11956c9395f7fede735c (patch)
treec4b713c19af84f77c6f889983fdcba7aa73ebf8c /tv/2configs
parentb7d9c3476bd015ddb1a1d6cd66ebdd1b96003b2a (diff)
tv xmonad: s/concatMap (++"\n")/unlines/
Diffstat (limited to 'tv/2configs')
-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 c5a3edb80..89e22b4e7 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 ()