summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xserver/xmonad/Util/Debunk.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-28 21:21:27 +0100
committertv <tv@shackspace.de>2015-10-28 21:21:27 +0100
commit00d03622d187397fd0cb46c17fe1f6750883d774 (patch)
treecb828f05b6095e6c2eb5d2107304bf851d3585ff /tv/2configs/xserver/xmonad/Util/Debunk.hs
parent057c4836c10eebf3141d7b20a9e942518357606c (diff)
tv xmonad: print stuff to stderr everywhere
Diffstat (limited to 'tv/2configs/xserver/xmonad/Util/Debunk.hs')
-rw-r--r--tv/2configs/xserver/xmonad/Util/Debunk.hs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tv/2configs/xserver/xmonad/Util/Debunk.hs b/tv/2configs/xserver/xmonad/Util/Debunk.hs
deleted file mode 100644
index b4772e582..000000000
--- a/tv/2configs/xserver/xmonad/Util/Debunk.hs
+++ /dev/null
@@ -1,16 +0,0 @@
-module Util.Debunk
- ( printToErrors
- ) where
-
-import XMonad
-import System.FilePath ( (</>) )
-import Control.Exception ( bracket )
-import System.IO ( hPrint, stderr, openFile, hClose, IOMode( AppendMode ) )
-
-
-printToErrors x = do
- dir <- getXMonadDir
- let base = dir </> "xmonad"
- err = base ++ ".errors"
- bracket (openFile err AppendMode) hClose $ \h -> hPrint h x
-
[cgit] Unable to lock slot /tmp/cgit/07200000.lock: No such file or directory (2)