mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-31 11:23:48 -07:00
Docstring parser for generating xmonad build configs with default settings for extensions
This commit is contained in:
@@ -40,6 +40,10 @@ import Graphics.X11.Xlib.Extras
|
||||
-- > , ((modMask .|. shiftMask, xK_space), layoutScreens 2 (twoPane 0.5 0.5))
|
||||
-- > , ((controlMask .|. modMask .|. shiftMask, xK_space), rescreen)
|
||||
|
||||
-- %import XMonadContrib.LayoutScreens
|
||||
-- %keybind , ((modMask .|. shiftMask, xK_space), layoutScreens 2 (twoPane 0.5 0.5))
|
||||
-- %keybind , ((controlMask .|. modMask .|. shiftMask, xK_space), rescreen)
|
||||
|
||||
layoutScreens :: Int -> Layout Int -> X ()
|
||||
layoutScreens nscr _ | nscr < 1 = trace $ "Can't layoutScreens with only " ++ show nscr ++ " screens."
|
||||
layoutScreens nscr l =
|
||||
|
Reference in New Issue
Block a user