mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-14 11:45:54 -07:00
Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run for convenience, and update DynamicLog documentation to show proper imports
This commit is contained in:
XMonad
@@ -20,7 +20,6 @@ module XMonad.Config.Arossato
|
||||
) where
|
||||
|
||||
import qualified Data.Map as M
|
||||
import System.IO (hPutStrLn)
|
||||
|
||||
import XMonad hiding ( (|||) )
|
||||
import qualified XMonad.StackSet as W
|
||||
|
@@ -101,6 +101,8 @@ import XMonad.Hooks.UrgencyHook
|
||||
-- appropriately, either by putting it in your @.xsession@ or similar
|
||||
-- file, or by using @spawnPipe@ in your @main@ function, for example:
|
||||
--
|
||||
-- > import XMonad.Util.Run -- for spawnPipe and hPutStrLn
|
||||
-- >
|
||||
-- > main = do
|
||||
-- > h <- spawnPipe "xmobar -options -foo -bar"
|
||||
-- > xmonad $ defaultConfig {
|
||||
|
@@ -25,7 +25,9 @@ module XMonad.Util.Run (
|
||||
runInTerm,
|
||||
safeRunInTerm,
|
||||
seconds,
|
||||
spawnPipe
|
||||
spawnPipe,
|
||||
|
||||
hPutStr, hPutStrLn -- re-export for convenience
|
||||
) where
|
||||
|
||||
import System.Posix.IO
|
||||
|
Reference in New Issue
Block a user