aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authortoni <matzeton@googlemail.com>2015-11-03 12:52:58 +0100
committertoni <matzeton@googlemail.com>2015-11-03 12:52:58 +0100
commit0c7a4259f5d34a332886c9a62ed223784242ade7 (patch)
tree3b3023aeb20bc0dba58d57cc0a4fa656f9d55e2b /configs
parent651c932225b72dec1644ccf2a4aaf943f625d941 (diff)
xmonad: better layout + xtrlock hotkey
Diffstat (limited to 'configs')
-rw-r--r--configs/xmonad.hs14
1 files changed, 3 insertions, 11 deletions
diff --git a/configs/xmonad.hs b/configs/xmonad.hs
index 24f7e90..54bfbf3 100644
--- a/configs/xmonad.hs
+++ b/configs/xmonad.hs
@@ -79,7 +79,7 @@ myManageHook = composeAll
-- which denotes layout choice.
--
myLayout = avoidStruts (
- Tall 2 (3/100) (2/5) ||| Mirror (Tall 1 (3/100) (1/2)) ||| Full ||| tabbed shrinkText myTabConfig)
+ Mirror (Tall 1 (3/100) (1/2)) ||| Tall 1 (3/100) (1/2) ||| Full ||| tabbed shrinkText myTabConfig)
------------------------------------------------------------------------
-- Colors and borders
@@ -113,7 +113,7 @@ myBorderWidth = 1
--
-- modMask lets you specify which modkey you want to use. The default
-- is mod1Mask ("left alt"). You may also consider using mod3Mask
--- ("right alt"), which does not conflict with emacs keybindings. The
+--
-- "windows key" is usually mod4Mask.
--
myModMask = mod1Mask
@@ -128,7 +128,7 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
-- Lock the screen using xscreensaver.
, ((modMask .|. shiftMask, xK_l),
- spawn "xscreensaver-command -lock")
+ spawn "xtrlock")
-- Start Firefox
, ((modMask .|. shiftMask, xK_i),
@@ -235,14 +235,6 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, ((modMask, xK_t),
withFocused $ windows . W.sink)
- -- Increment the number of windows in the master area.
- , ((modMask, xK_comma),
- sendMessage (IncMasterN 1))
-
- -- Decrement the number of windows in the master area.
- , ((modMask, xK_period),
- sendMessage (IncMasterN (-1)))
-
-- Toggle the status bar gap.
-- TODO: update this binding with avoidStruts, ((modMask, xK_b),