summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2014-03-13 20:33:51 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2014-03-13 20:33:51 +0100
commit04ffb1e36db9b49ffe393ec6bc099a3fe505e3b8 (patch)
treeb55fc1ca3cf9299e47230b7bd5d191b4f7fc9464 /src/Xmobar.hs
parent40a2d25767a25dacc4a961f22b023131f86417f8 (diff)
downloadxmobar-04ffb1e36db9b49ffe393ec6bc099a3fe505e3b8.tar.gz
xmobar-04ffb1e36db9b49ffe393ec6bc099a3fe505e3b8.tar.bz2
Back to picking first screen by default (#158)0.20.1
Diffstat (limited to 'src/Xmobar.hs')
-rw-r--r--src/Xmobar.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Xmobar.hs b/src/Xmobar.hs
index ce32a0a..c126b7c 100644
--- a/src/Xmobar.hs
+++ b/src/Xmobar.hs
@@ -237,7 +237,8 @@ startCommand sig (com,s,ss)
return (Just h,var)
where is = s ++ "Updating..." ++ ss
-updateString :: Config -> TVar [String] -> IO [[(Widget, String, Maybe [Action])]]
+updateString :: Config -> TVar [String] ->
+ IO [[(Widget, String, Maybe [Action])]]
updateString conf v = do
s <- atomically $ readTVar v
let l:c:r:_ = s ++ repeat ""