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:
@@ -20,7 +20,6 @@ module XMonad.Config.Arossato
|
|||||||
) where
|
) where
|
||||||
|
|
||||||
import qualified Data.Map as M
|
import qualified Data.Map as M
|
||||||
import System.IO (hPutStrLn)
|
|
||||||
|
|
||||||
import XMonad hiding ( (|||) )
|
import XMonad hiding ( (|||) )
|
||||||
import qualified XMonad.StackSet as W
|
import qualified XMonad.StackSet as W
|
||||||
|
@@ -101,6 +101,8 @@ import XMonad.Hooks.UrgencyHook
|
|||||||
-- appropriately, either by putting it in your @.xsession@ or similar
|
-- appropriately, either by putting it in your @.xsession@ or similar
|
||||||
-- file, or by using @spawnPipe@ in your @main@ function, for example:
|
-- file, or by using @spawnPipe@ in your @main@ function, for example:
|
||||||
--
|
--
|
||||||
|
-- > import XMonad.Util.Run -- for spawnPipe and hPutStrLn
|
||||||
|
-- >
|
||||||
-- > main = do
|
-- > main = do
|
||||||
-- > h <- spawnPipe "xmobar -options -foo -bar"
|
-- > h <- spawnPipe "xmobar -options -foo -bar"
|
||||||
-- > xmonad $ defaultConfig {
|
-- > xmonad $ defaultConfig {
|
||||||
|
@@ -25,7 +25,9 @@ module XMonad.Util.Run (
|
|||||||
runInTerm,
|
runInTerm,
|
||||||
safeRunInTerm,
|
safeRunInTerm,
|
||||||
seconds,
|
seconds,
|
||||||
spawnPipe
|
spawnPipe,
|
||||||
|
|
||||||
|
hPutStr, hPutStrLn -- re-export for convenience
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import System.Posix.IO
|
import System.Posix.IO
|
||||||
|
Reference in New Issue
Block a user