mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-01 04:31:52 -07:00
Add a screenshots section in the A.GridSelect haddocks
This commit is contained in:
@@ -39,6 +39,9 @@ module XMonad.Actions.GridSelect (
|
||||
fromClassName,
|
||||
defaultColorizer,
|
||||
colorRangeFromClassName
|
||||
|
||||
-- * Screenshots
|
||||
-- $screenshots
|
||||
) where
|
||||
import Data.Maybe
|
||||
import Data.Bits
|
||||
@@ -68,16 +71,22 @@ import Data.Word (Word8)
|
||||
--
|
||||
-- > , ((modMask x, xK_g), goToSelected defaultGSConfig)
|
||||
--
|
||||
-- Screenshot:
|
||||
--
|
||||
-- <<http://www.haskell.org/sitewiki/images/3/35/Xmonad-gridselect-window-aavogt.png>>
|
||||
--
|
||||
-- This module also supports displaying arbitrary information in a grid and letting
|
||||
-- the user select from it. E.g. to spawn an application from a given list, you
|
||||
-- can use the following:
|
||||
--
|
||||
-- > , ((modMask x, xK_s), spawnSelected defaultGSSpawnConfig ["xterm","gmplayer","gvim"])
|
||||
|
||||
-- $screenshots
|
||||
--
|
||||
-- Selecting a workspace:
|
||||
--
|
||||
-- <<http://haskell.org/sitewiki/images/a/a9/Xmonad-gridselect-workspace.png>>
|
||||
--
|
||||
-- Selecting a window by title:
|
||||
--
|
||||
-- <<http://haskell.org/sitewiki/images/3/35/Xmonad-gridselect-window-aavogt.png>>
|
||||
|
||||
data GSConfig a = GSConfig {
|
||||
gs_cellheight :: Integer,
|
||||
gs_cellwidth :: Integer,
|
||||
|
Reference in New Issue
Block a user