@@ -99,14 +99,20 @@ myLayout =
9999 mouseResize $
100100 windowArrange $
101101 ifWider
102- 1500
102+ 3000
103103 (threeCol ||| Full )
104- (Mirror threeCol ||| mouseResizableTile {isMirrored = True , masterFrac = 0.7 } ||| Full )
104+ ( ifWider
105+ 1500
106+ (myTall ||| Full )
107+ (Mirror threeCol ||| verticalTall ||| Full )
108+ )
105109 where
106- threeCol = ResizableThreeColMid 1 (1 / 100 ) (- 1 / 3 ) []
110+ threeCol = ResizableThreeColMid 1 (1 / 100 ) (- ( 1 / 3 ) ) []
107111 myMulCol = multiCol [1 , 1 ] 0 0.01 (- 0.5 )
108112 twoPane = TwoPane delta ratio
109- myTall = Tall nmaster delta ratio
113+ -- myTall = Tall nmaster delta ratio
114+ myTall = mouseResizableTile {isMirrored = False , masterFrac = 0.55 }
115+ verticalTall = mouseResizableTile {isMirrored = True , masterFrac = 0.6 }
110116 myStackTile = StackTile 1 (3 / 100 ) (4 / 9 )
111117 nmaster = 1
112118 ratio = 1 / 2
@@ -147,15 +153,15 @@ myKeys =
147153 <> [ (" <XF86Launch7> " <> key, fun)
148154 | (key, fun) <-
149155 [ (" t" , sendMessage NextLayout )
150- , -- , ("e", pure ())
151- (" r" , spawn " xmonad --restart" )
152- , (" v" , spawn " sh $HOME/.screenlayout/vertical.sh" )
153- , (" b" , spawn " sh $HOME/.screenlayout/horizontal.sh" )
154156 , (" s" , spawn " flameshot gui" )
155157 , -- ("f", spawn "fcitx-remote -s fcitx-keyboard-de-nodeadkeys"),
156158 (" w" , spawn " $SCRIPTS_DIR/notify_window_title.sh" )
157159 , (" p" , mkPassPrompt " select pass" sendToClj myXPConfig)
158160 , (" M-2" , nextScreen)
161+ -- , ("e", exp1 >>= \x -> flashText def 3 x)
162+ -- , ("r", spawn "xmonad --restart")
163+ -- , ("v", spawn "sh $HOME/.screenlayout/vertical.sh")
164+ -- , ("b", spawn "sh $HOME/.screenlayout/horizontal.sh")
159165 -- , ("h" , spawn "rofi-pass")
160166 -- ("<Left>", sendMessage $ Move L),
161167 -- ("<Right>", sendMessage $ Move R),
@@ -207,7 +213,7 @@ myConfig =
207213 , normalBorderColor = myNormColor
208214 , focusedBorderColor = myFocusColor
209215 , -- return () to avoid infinite mutual recursion
210- startupHook = return () >> checkKeymap myConfig myKeys >> scratchpadsExclusives >> spawn " systemctl --user start autostart.target"
216+ startupHook = return () >> checkKeymap myConfig myKeys >> scratchpadsExclusives >> spawn " sleep 10s && systemctl --user start autostart.target"
211217 , handleEventHook = handleEventHook def <> handleTimerEvent
212218 , focusFollowsMouse = True
213219 }
0 commit comments