mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-06 06:51:55 -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,
|
fromClassName,
|
||||||
defaultColorizer,
|
defaultColorizer,
|
||||||
colorRangeFromClassName
|
colorRangeFromClassName
|
||||||
|
|
||||||
|
-- * Screenshots
|
||||||
|
-- $screenshots
|
||||||
) where
|
) where
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
import Data.Bits
|
import Data.Bits
|
||||||
@@ -68,16 +71,22 @@ import Data.Word (Word8)
|
|||||||
--
|
--
|
||||||
-- > , ((modMask x, xK_g), goToSelected defaultGSConfig)
|
-- > , ((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
|
-- 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
|
-- the user select from it. E.g. to spawn an application from a given list, you
|
||||||
-- can use the following:
|
-- can use the following:
|
||||||
--
|
--
|
||||||
-- > , ((modMask x, xK_s), spawnSelected defaultGSSpawnConfig ["xterm","gmplayer","gvim"])
|
-- > , ((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 {
|
data GSConfig a = GSConfig {
|
||||||
gs_cellheight :: Integer,
|
gs_cellheight :: Integer,
|
||||||
gs_cellwidth :: Integer,
|
gs_cellwidth :: Integer,
|
||||||
|
Reference in New Issue
Block a user