mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
XMonad.Actions.UpdatePointer: document TowardsCentre
This commit is contained in:
parent
8f712f0a04
commit
2fe30c6730
@ -43,7 +43,12 @@ import Data.Maybe
|
|||||||
--
|
--
|
||||||
-- > logHook = updatePointer (Relative 0.5 0.5)
|
-- > logHook = updatePointer (Relative 0.5 0.5)
|
||||||
--
|
--
|
||||||
-- which will move the pointer to the center of a newly focused window.
|
-- which will move the pointer to the center of a newly focused window, or
|
||||||
|
--
|
||||||
|
-- > logHook = updatePointer (TowardsCentre 0.75 0.75)
|
||||||
|
--
|
||||||
|
-- which will linearly interpolate the pointer between 'Nearest' and ¾ of
|
||||||
|
-- the way towards the centre of the window.
|
||||||
--
|
--
|
||||||
-- To use this with an existing logHook, use >> :
|
-- To use this with an existing logHook, use >> :
|
||||||
--
|
--
|
||||||
|
Loading…
x
Reference in New Issue
Block a user