mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 03:20:21 -07:00
Put screenshots inline for L.ThreeColumns and L.Roledex
This commit is contained in:
parent
3e0be7dd1b
commit
a08fd578ee
@ -10,14 +10,15 @@
|
||||
-- Stability : unstable
|
||||
-- Portability : unportable
|
||||
--
|
||||
-- Screenshot : <http://www.timthelion.com/rolodex.png>
|
||||
--
|
||||
-- This is a completely pointless layout which acts like Microsoft's Flip 3D
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module XMonad.Layout.Roledex (
|
||||
-- * Usage
|
||||
-- $usage
|
||||
|
||||
-- * Screenshots
|
||||
-- $screenshot
|
||||
Roledex(Roledex)) where
|
||||
|
||||
import XMonad
|
||||
@ -38,6 +39,9 @@ import Data.Ratio
|
||||
--
|
||||
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||
|
||||
-- $screenshot
|
||||
-- <<http://www.timthelion.com/rolodex.png>>
|
||||
|
||||
data Roledex a = Roledex deriving ( Show, Read )
|
||||
|
||||
instance LayoutClass Roledex Window where
|
||||
|
@ -13,14 +13,14 @@
|
||||
-- A layout similar to tall but with three columns. With 2560x1600 pixels this
|
||||
-- layout can be used for a huge main window and up to six reasonable sized
|
||||
-- slave windows.
|
||||
--
|
||||
-- Screenshot: <http://server.c-otto.de/xmonad/ThreeColumnsMiddle.png>
|
||||
--
|
||||
-----------------------------------------------------------------------------
|
||||
|
||||
module XMonad.Layout.ThreeColumns (
|
||||
-- * Usage
|
||||
-- $usage
|
||||
|
||||
-- * Screenshots
|
||||
-- $screenshot
|
||||
ThreeCol(..)
|
||||
) where
|
||||
|
||||
@ -55,6 +55,10 @@ import Control.Monad
|
||||
--
|
||||
-- "XMonad.Doc.Extending#Editing_the_layout_hook"
|
||||
|
||||
|
||||
-- $screenshot
|
||||
-- <<http://server.c-otto.de/xmonad/ThreeColumnsMiddle.png>>
|
||||
|
||||
-- | Arguments are nmaster, delta, fraction
|
||||
data ThreeCol a = ThreeColMid { threeColNMaster :: !Int, threeColDelta :: !Rational, threeColFrac :: !Rational}
|
||||
| ThreeCol { threeColNMaster :: !Int, threeColDelta :: !Rational, threeColFrac :: !Rational}
|
||||
|
Loading…
x
Reference in New Issue
Block a user