mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-01 04:31:53 -07:00
bb1c1cf062f54b38c9ef3d679b1fd50f5d8b29c8
Changes mean: * gmrun is like the dmenu key, but with shift set. - , ((modMask .|. shiftMask, xK_F11 ), spawn "gmrun") + , ((modMask .|. shiftMask, xK_p ), spawn "gmrun") If no one actually uses both gmrun and dmenu, we should consider only using mod-p for this. * restart is like quit, but with 'ctrl' set: + , ((modMask .|. shiftMask, xK_q ), io $ exitWith ExitSuccess) + , ((modMask .|. shiftMask .|. controlMask, xK_q ), io restart) * revert to 'wer' ordering for xinerama screens: - | (key, sc) <- zip [xK_e, xK_r, xK_t] [1..] + | (key, sc) <- zip [xK_w, xK_e, xK_r] [1..] that's the only binding order that makes sense, since they're meant to refer to screens 1 2 and 3, hence 'wer' (look at the keyboard to see why)
xmonad : a lightweight X11 window manager. Motivation: dwm is great, but we can do better, building a more robust, more correct window manager in fewer lines of code, using strong static typing. Enter Haskell. If the aim of dwm is to fit in under 2000 lines of C, the aim of xmonad is to fit in under 400 lines of Haskell with similar functionality. Building: Get the dependencies X11 http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-1.2 (Unfortunately X11-1.2 does not work correctly on AMD64. The latest darcs version from http://darcs.haskell.org/packages/X11 does.) mtl http://hackage.haskell.org/cgi-bin/hackage-scripts/package/mtl-1.0 unix http://hackage.haskell.org/cgi-bin/hackage-scripts/package/unix-2.0 (included with ghc) X11-extras: darcs get http://darcs.haskell.org/~sjanssen/X11-extras dmenu 2.{5,6,7} http://www.suckless.org/download/dmenu-2.7.tar.gz And then build with Cabal: runhaskell Setup.lhs configure --prefix=/home/dons runhaskell Setup.lhs build runhaskell Setup.lhs install Then add: exec /home/dons/bin/xmonad to the last line of your .xsession file Authors: Spencer Janssen Don Stewart
Description
The core of xmonad, a small but functional ICCCM-compliant tiling window manager
Readme
BSD-3-Clause
6.3 MiB
Languages
Haskell
97.6%
Nix
2%
Shell
0.4%