]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - xmonad/xmonad.hs
xmonad: replace incorrect use of otherwise with _
[config/dotfiles.git] / xmonad / xmonad.hs
index 7ae8dbb2aeda9d658ed4a6553469202d72ee6365..198bf7fcf89b39b902ce34abc515a3bafd66b3de 100644 (file)
@@ -36,7 +36,7 @@ import qualified XMonad.StackSet as W
 avoidMaster :: W.StackSet i l a s sd -> W.StackSet i l a s sd
 avoidMaster = W.modify' $ \c -> case c of
     W.Stack t [] (r:rs) -> W.Stack r [] (t:rs)
-    otherwise           -> c
+    _                   -> c
 
 -- Create my custom layout.
 --
@@ -151,7 +151,7 @@ myKeys = [
 
         -- Switch to last active workspace, thanks to moljac024 in #xmonad on
         -- Freenode (2010-12-18 14:45 CET).
-      , ((myModMask, xK_f), toggleWS)
+      , ((myModMask, xK_b), toggleWS)
 
       -- Lock the screen. The sleep is necessary to allow xtrlock to grab the
       -- keyboard input.