mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-08-02 05:01:51 -07:00
Update L.TrackFloating.useTransient example code
Suggest useTransient goes to the right of trackFloating which is the configuration actually tested.
This commit is contained in:
@@ -127,7 +127,7 @@ focusWin st@(W.Stack f u d) w
|
|||||||
Apply to your layout in a config like:
|
Apply to your layout in a config like:
|
||||||
|
|
||||||
> main = xmonad (defaultConfig{
|
> main = xmonad (defaultConfig{
|
||||||
> layoutHook = useTransientFor (trackFloating
|
> layoutHook = trackFloating (useTransientFor
|
||||||
> (noBorders Full ||| Tall 1 0.3 0.5)),
|
> (noBorders Full ||| Tall 1 0.3 0.5)),
|
||||||
> ...
|
> ...
|
||||||
> })
|
> })
|
||||||
@@ -145,7 +145,7 @@ window regardless of which tiled window was focused before.
|
|||||||
> underlyingLayout = magnifier (Tall 1 0.3 0.5)
|
> underlyingLayout = magnifier (Tall 1 0.3 0.5)
|
||||||
>
|
>
|
||||||
> optionA = trackFloating underlyingLayout
|
> optionA = trackFloating underlyingLayout
|
||||||
> optionB = useTransientFor (trackFloating underlyingLayout)
|
> optionB = trackFloating (useTransientFor underlyingLayout)
|
||||||
|
|
||||||
-}
|
-}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user