xmonad-entryhelper-0.1.0.0: XMonad config entry point wrapper

Copyright(c) 2015 Javran Cheng
LicenseMIT
MaintainerJavran.C@gmail.com
Stabilityunstable
Portabilitynon-portable (requires X11)
Safe HaskellNone
LanguageHaskell2010

XMonad.Util.EntryHelper.Util

Description

Miscellaneous utilities for safe IO action, scanning files, sending X events, etc.

Synopsis

Documentation

safeIO :: a -> IO a -> IO a Source

performs an IO action and captures all the exceptions, a default value is returned when there are exceptions.

safeIO' :: IO a -> IO (Maybe a) Source

performs an IO action and wraps the resulting value in Maybe

isHaskellSourceFile :: FilePath -> Bool Source

checks if a file name is a Haskell source file

allFiles :: FilePath -> IO [FilePath] Source

gets a list of all files under a given directory and its subdirectories

sendRestart :: IO () Source

sends restart request to the current XMonad instance