l 5 xmonad-lass: show xmonad state on resume
This commit is contained in:
parent
55e6a59afc
commit
42b649ddfc
@ -75,7 +75,7 @@ xmonad' conf = do
|
||||
path <- getEnv "XMONAD_STATE"
|
||||
try (readFile path) >>= \case
|
||||
Right content -> do
|
||||
hPutStrLn stderr ("resuming from " ++ path)
|
||||
hPutStrLn stderr ("resuming from " ++ path ++ "; state = " ++ show content)
|
||||
withArgs ("--resume" : lines content) (xmonad conf)
|
||||
Left e -> do
|
||||
hPutStrLn stderr (displaySomeException e)
|
||||
|
Loading…
Reference in New Issue
Block a user