mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
X.L.ThreeColumns: Resize screenshot
Fixes: https://github.com/xmonad/xmonad-contrib/issues/530
This commit is contained in:
parent
974c10dca7
commit
dcd5918d3a
@ -46,10 +46,10 @@ import Data.Ratio
|
|||||||
-- resizing and the third argument specifies the initial size of the columns.
|
-- resizing and the third argument specifies the initial size of the columns.
|
||||||
-- A positive size designates the fraction of the screen that the main window
|
-- A positive size designates the fraction of the screen that the main window
|
||||||
-- should occupy, but if the size is negative the absolute value designates the
|
-- should occupy, but if the size is negative the absolute value designates the
|
||||||
-- fraction a slave column should occupy. If both slave columns are visible,
|
-- fraction a stack column should occupy. If both stack columns are visible,
|
||||||
-- they always occupy the same amount of space.
|
-- they always occupy the same amount of space.
|
||||||
--
|
--
|
||||||
-- The ThreeColMid variant places the main window between the slave columns.
|
-- The ThreeColMid variant places the main window between the stack columns.
|
||||||
--
|
--
|
||||||
-- For more detailed instructions on editing the layoutHook see:
|
-- For more detailed instructions on editing the layoutHook see:
|
||||||
--
|
--
|
||||||
@ -57,7 +57,7 @@ import Data.Ratio
|
|||||||
|
|
||||||
|
|
||||||
-- $screenshot
|
-- $screenshot
|
||||||
-- <<http://server.c-otto.de/xmonad/ThreeColumnsMiddle.png>>
|
-- <<https://user-images.githubusercontent.com/50166980/156938482-ac38fdd7-eb94-4371-801b-e191cdb9a4ba.png>>
|
||||||
|
|
||||||
-- | Arguments are nmaster, delta, fraction
|
-- | Arguments are nmaster, delta, fraction
|
||||||
data ThreeCol a = ThreeColMid { threeColNMaster :: !Int, threeColDelta :: !Rational, threeColFrac :: !Rational}
|
data ThreeCol a = ThreeColMid { threeColNMaster :: !Int, threeColDelta :: !Rational, threeColFrac :: !Rational}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user