summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar.hs')
-rw-r--r--src/Xmobar.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Xmobar.hs b/src/Xmobar.hs
index c107d46..37fd653 100644
--- a/src/Xmobar.hs
+++ b/src/Xmobar.hs
@@ -150,8 +150,8 @@ eventLoop xcfg@(XConf d _ w fs _) vs = do
setupSignalHandler :: IO (MVar SignalType)
setupSignalHandler = do
tid <- newEmptyMVar
- installHandler sigUSR1 (Catch $ updatePosHandler tid) Nothing
- installHandler sigHUP (Catch $ changeScreenHandler tid) Nothing
+ installHandler sigUSR2 (Catch $ updatePosHandler tid) Nothing
+ installHandler sigUSR1 (Catch $ changeScreenHandler tid) Nothing
return tid
updatePosHandler :: MVar SignalType -> IO ()