Browse code
tweaking things
Showing 2 changed files
... | ... |
@@ -18,6 +18,7 @@ import XMonad.Layout.Accordion |
18 | 18 |
import XMonad.Layout.Circle |
19 | 19 |
import XMonad.Layout.Combo |
20 | 20 |
import XMonad.Layout.DragPane |
21 |
+import XMonad.Layout.Maximize |
|
21 | 22 |
import XMonad.Layout.SubLayouts |
22 | 23 |
import XMonad.Layout.Gaps |
23 | 24 |
import XMonad.Layout.Grid |
... | ... |
@@ -193,7 +194,7 @@ main = do |
193 | 194 |
{ |
194 | 195 |
manageHook = myManageHook <+> manageSpawn <+> manageHook defaultConfig, |
195 | 196 |
--handleEventHook = handleTimerEvent, |
196 |
- layoutHook = myLayout, |
|
197 |
+ layoutHook = maximize myLayout, |
|
197 | 198 |
logHook = dynamicLogWithPP myPP { |
198 | 199 |
ppOutput = hPutStrLn xmproc |
199 | 200 |
}, |
... | ... |
@@ -205,6 +206,7 @@ main = do |
205 | 206 |
(((mod4Mask .|. controlMask, xK_q ), |
206 | 207 |
spawn "if type xmonad; then xmonad --recompile && xmonad --restart; else xmessage xmonad not in \\$PATH: \"$PATH\"; fi")), |
207 | 208 |
|
209 |
+ ((mod4Mask, xK_backslash), withFocused (sendMessage . maximizeRestore)), |
|
208 | 210 |
((mod4Mask .|. controlMask .|. shiftMask, xK_h ), sendMessage $ Move L), |
209 | 211 |
((mod4Mask .|. controlMask .|. shiftMask, xK_j ), sendMessage $ Move D), |
210 | 212 |
((mod4Mask .|. controlMask .|. shiftMask, xK_k ), sendMessage $ Move U), |