mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-26 14:12:23 +00:00
31 lines
No EOL
55 KiB
Text
31 lines
No EOL
55 KiB
Text
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>XMonad.Operations</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><link rel="stylesheet" type="text/css" href="quick-jump.css" /><script src="haddock-bundle.min.js" async="async" type="text/javascript"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"></script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/XMonad.Operations.html">Source</a></li><li><a href="/package/xmonad-0.15">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">xmonad-0.15: A tiling window manager</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) Spencer Janssen 2007</td></tr><tr><th>License</th><td>BSD3-style (see LICENSE)</td></tr><tr><th>Maintainer</th><td>dons@cse.unsw.edu.au</td></tr><tr><th>Stability</th><td>unstable</td></tr><tr><th>Portability</th><td>not portable, Typeable deriving, mtl, posix</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">XMonad.Operations</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Operations.</p></div></div><div id="synopsis"><details id="syn"><summary>Synopsis</summary><ul class="details-toggle" data-details-id="syn"><li class="src short"><a href="#v:manage">manage</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:unmanage">unmanage</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:killWindow">killWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:kill">kill</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:windows">windows</a> :: (<a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a> -> <a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:modifyWindowSet">modifyWindowSet</a> :: (<a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a> -> <a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:windowBracket">windowBracket</a> :: (a -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> a -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> a</li><li class="src short"><a href="#v:windowBracket_">windowBracket_</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> <a href="/package/base-4.11.1.0/docs/Data-Monoid.html#t:Any" title="Data.Monoid">Any</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:scaleRationalRect">scaleRationalRect</a> :: <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="XMonad-StackSet.html#t:RationalRect" title="XMonad.StackSet">RationalRect</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a></li><li class="src short"><a href="#v:setWMState">setWMState</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="/package/base-4.11.1.0/docs/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:setWindowBorderWithFallback">setWindowBorderWithFallback</a> :: <a href="XMonad.html#t:Display" title="XMonad">Display</a> -> <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="XMonad.html#t:Pixel" title="XMonad">Pixel</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:hide">hide</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:reveal">reveal</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:setInitialProperties">setInitialProperties</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:refresh">refresh</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:clearEvents">clearEvents</a> :: <a href="XMonad.html#t:EventMask" title="XMonad">EventMask</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:tileWindow">tileWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:containedIn">containedIn</a> :: <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a></li><li class="src short"><a href="#v:nubScreens">nubScreens</a> :: [<a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a>] -> [<a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a>]</li><li class="src short"><a href="#v:getCleanedScreenInfo">getCleanedScreenInfo</a> :: <a href="XMonad.html#t:MonadIO" title="XMonad">MonadIO</a> m => <a href="XMonad.html#t:Display" title="XMonad">Display</a> -> m [<a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a>]</li><li class="src short"><a href="#v:rescreen">rescreen</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:setButtonGrab">setButtonGrab</a> :: <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -> <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:setTopFocus">setTopFocus</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:focus">focus</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:setFocusX">setFocusX</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:sendMessage">sendMessage</a> :: <a href="XMonad-Core.html#t:Message" title="XMonad.Core">Message</a> a => a -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:broadcastMessage">broadcastMessage</a> :: <a href="XMonad-Core.html#t:Message" title="XMonad.Core">Message</a> a => a -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:sendMessageWithNoRefresh">sendMessageWithNoRefresh</a> :: <a href="XMonad-Core.html#t:Message" title="XMonad.Core">Message</a> a => a -> <a href="XMonad-StackSet.html#t:Workspace" title="XMonad.StackSet">Workspace</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> (<a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a>) <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:updateLayout">updateLayout</a> :: <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> -> <a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> (<a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:setLayout">setLayout</a> :: <a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:screenWorkspace">screenWorkspace</a> :: <a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a>)</li><li class="src short"><a href="#v:withFocused">withFocused</a> :: (<a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:isClient">isClient</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a></li><li class="src short"><a href="#v:extraModifiers">extraModifiers</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> [<a href="XMonad.html#t:KeyMask" title="XMonad">KeyMask</a>]</li><li class="src short"><a href="#v:cleanMask">cleanMask</a> :: <a href="XMonad.html#t:KeyMask" title="XMonad">KeyMask</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> <a href="XMonad.html#t:KeyMask" title="XMonad">KeyMask</a></li><li class="src short"><a href="#v:initColor">initColor</a> :: <a href="XMonad.html#t:Display" title="XMonad">Display</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="/package/base-4.11.1.0/docs/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="XMonad.html#t:Pixel" title="XMonad">Pixel</a>)</li><li class="src short"><span class="keyword">data</span> <a href="#t:StateFile">StateFile</a> = <a href="#v:StateFile">StateFile</a> {<ul class="subs"><li><a href="#v:sfWins">sfWins</a> :: <a href="XMonad-StackSet.html#t:StackSet" title="XMonad.StackSet">StackSet</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a> <a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a> <a href="XMonad-Core.html#t:ScreenDetail" title="XMonad.Core">ScreenDetail</a></li><li><a href="#v:sfExt">sfExt</a> :: [(<a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a>, <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a>)]</li></ul>}</li><li class="src short"><a href="#v:writeStateToFile">writeStateToFile</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:readStateFile">readStateFile</a> :: (<a href="XMonad-Core.html#t:LayoutClass" title="XMonad.Core">LayoutClass</a> l <a href="XMonad.html#t:Window" title="XMonad">Window</a>, <a href="/package/base-4.11.1.0/docs/Text-Read.html#t:Read" title="Text.Read">Read</a> (l <a href="XMonad.html#t:Window" title="XMonad">Window</a>)) => <a href="XMonad-Core.html#t:XConfig" title="XMonad.Core">XConfig</a> l -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="XMonad-Core.html#t:XState" title="XMonad.Core">XState</a>)</li><li class="src short"><a href="#v:migrateState">migrateState</a> :: (<a href="/package/base-4.11.1.0/docs/Data-Functor.html#t:Functor" title="Data.Functor">Functor</a> m, <a href="XMonad.html#t:MonadIO" title="XMonad">MonadIO</a> m) => <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> m ()</li><li class="src short"><a href="#v:restart">restart</a> :: <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:floatLocation">floatLocation</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a>, <a href="XMonad-StackSet.html#t:RationalRect" title="XMonad.StackSet">RationalRect</a>)</li><li class="src short"><a href="#v:pointScreen">pointScreen</a> :: <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> (<a href="XMonad-StackSet.html#t:Screen" title="XMonad.StackSet">Screen</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> (<a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a>) <a href="XMonad.html#t:Window" title="XMonad">Window</a> <a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a> <a href="XMonad-Core.html#t:ScreenDetail" title="XMonad.Core">ScreenDetail</a>))</li><li class="src short"><a href="#v:pointWithin">pointWithin</a> :: <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a></li><li class="src short"><a href="#v:float">float</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:mouseDrag">mouseDrag</a> :: (<a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:mouseMoveWindow">mouseMoveWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><a href="#v:mouseResizeWindow">mouseResizeWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()</li><li class="src short"><span class="keyword">type</span> <a href="#t:D">D</a> = (<a href="XMonad.html#t:Dimension" title="XMonad">Dimension</a>, <a href="XMonad.html#t:Dimension" title="XMonad">Dimension</a>)</li><li class="src short"><a href="#v:mkAdjust">mkAdjust</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a>)</li><li class="src short"><a href="#v:applySizeHints">applySizeHints</a> :: <a href="/package/base-4.11.1.0/docs/Prelude.html#t:Integral" title="Prelude">Integral</a> a => <a href="XMonad.html#t:Dimension" title="XMonad">Dimension</a> -> <a href="/package/X11-1.9/docs/Graphics-X11-Xlib-Extras.html#t:SizeHints" title="Graphics.X11.Xlib.Extras">SizeHints</a> -> (a, a) -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a></li><li class="src short"><a href="#v:applySizeHintsContents">applySizeHintsContents</a> :: <a href="/package/base-4.11.1.0/docs/Prelude.html#t:Integral" title="Prelude">Integral</a> a => <a href="/package/X11-1.9/docs/Graphics-X11-Xlib-Extras.html#t:SizeHints" title="Graphics.X11.Xlib.Extras">SizeHints</a> -> (a, a) -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a></li><li class="src short"><a href="#v:applySizeHints-39-">applySizeHints'</a> :: <a href="/package/X11-1.9/docs/Graphics-X11-Xlib-Extras.html#t:SizeHints" title="Graphics.X11.Xlib.Extras">SizeHints</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a></li><li class="src short"><a href="#v:applyAspectHint">applyAspectHint</a> :: (<a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a>, <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a>) -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a></li><li class="src short"><a href="#v:applyResizeIncHint">applyResizeIncHint</a> :: <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a></li><li class="src short"><a href="#v:applyMaxSizeHint">applyMaxSizeHint</a> :: <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a></li></ul></details></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:manage" class="def">manage</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#manage" class="link">Source</a> <a href="#v:manage" class="selflink">#</a></p><div class="doc"><p>Window manager operations
|
|
manage. Add a new window to be managed in the current workspace.
|
|
Bring it into focus.</p><p>Whether the window is already managed, or not, it is mapped, has its
|
|
border set, and its event mask set.</p></div></div><div class="top"><p class="src"><a id="v:unmanage" class="def">unmanage</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#unmanage" class="link">Source</a> <a href="#v:unmanage" class="selflink">#</a></p><div class="doc"><p>unmanage. A window no longer exists, remove it from the window
|
|
list, on whatever workspace it is.</p></div></div><div class="top"><p class="src"><a id="v:killWindow" class="def">killWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#killWindow" class="link">Source</a> <a href="#v:killWindow" class="selflink">#</a></p><div class="doc"><p>Kill the specified window. If we do kill it, we'll get a
|
|
delete notify back from X.</p><p>There are two ways to delete a window. Either just kill it, or if it
|
|
supports the delete protocol, send a delete event (e.g. firefox)</p></div></div><div class="top"><p class="src"><a id="v:kill" class="def">kill</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#kill" class="link">Source</a> <a href="#v:kill" class="selflink">#</a></p><div class="doc"><p>Kill the currently focused client.</p></div></div><div class="top"><p class="src"><a id="v:windows" class="def">windows</a> :: (<a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a> -> <a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#windows" class="link">Source</a> <a href="#v:windows" class="selflink">#</a></p><div class="doc"><p>windows. Modify the current window list with a pure function, and refresh</p></div></div><div class="top"><p class="src"><a id="v:modifyWindowSet" class="def">modifyWindowSet</a> :: (<a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a> -> <a href="XMonad-Core.html#t:WindowSet" title="XMonad.Core">WindowSet</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#modifyWindowSet" class="link">Source</a> <a href="#v:modifyWindowSet" class="selflink">#</a></p><div class="doc"><p>Modify the <code>WindowSet</code> in state with no special handling.</p></div></div><div class="top"><p class="src"><a id="v:windowBracket" class="def">windowBracket</a> :: (a -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> a -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> a <a href="src/XMonad.Operations.html#windowBracket" class="link">Source</a> <a href="#v:windowBracket" class="selflink">#</a></p><div class="doc"><p>Perform an <code>X</code> action and check its return value against a predicate p.
|
|
If p holds, unwind changes to the <code>WindowSet</code> and replay them using <code>windows</code>.</p></div></div><div class="top"><p class="src"><a id="v:windowBracket_" class="def">windowBracket_</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> <a href="/package/base-4.11.1.0/docs/Data-Monoid.html#t:Any" title="Data.Monoid">Any</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#windowBracket_" class="link">Source</a> <a href="#v:windowBracket_" class="selflink">#</a></p><div class="doc"><p>A version of <code>windowBracket</code> that discards the return value, and handles an
|
|
<code>X</code> action reporting its need for refresh via <code>Any</code>.</p></div></div><div class="top"><p class="src"><a id="v:scaleRationalRect" class="def">scaleRationalRect</a> :: <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="XMonad-StackSet.html#t:RationalRect" title="XMonad.StackSet">RationalRect</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> <a href="src/XMonad.Operations.html#scaleRationalRect" class="link">Source</a> <a href="#v:scaleRationalRect" class="selflink">#</a></p><div class="doc"><p>Produce the actual rectangle from a screen and a ratio on that screen.</p></div></div><div class="top"><p class="src"><a id="v:setWMState" class="def">setWMState</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="/package/base-4.11.1.0/docs/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setWMState" class="link">Source</a> <a href="#v:setWMState" class="selflink">#</a></p><div class="doc"><p>setWMState. set the WM_STATE property</p></div></div><div class="top"><p class="src"><a id="v:setWindowBorderWithFallback" class="def">setWindowBorderWithFallback</a> :: <a href="XMonad.html#t:Display" title="XMonad">Display</a> -> <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="XMonad.html#t:Pixel" title="XMonad">Pixel</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setWindowBorderWithFallback" class="link">Source</a> <a href="#v:setWindowBorderWithFallback" class="selflink">#</a></p><div class="doc"><p>Set the border color using the window's color map, if possible,
|
|
otherwise fallback to the color in <code>Pixel</code>.</p></div></div><div class="top"><p class="src"><a id="v:hide" class="def">hide</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#hide" class="link">Source</a> <a href="#v:hide" class="selflink">#</a></p><div class="doc"><p>hide. Hide a window by unmapping it, and setting Iconified.</p></div></div><div class="top"><p class="src"><a id="v:reveal" class="def">reveal</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#reveal" class="link">Source</a> <a href="#v:reveal" class="selflink">#</a></p><div class="doc"><p>reveal. Show a window by mapping it and setting Normal
|
|
this is harmless if the window was already visible</p></div></div><div class="top"><p class="src"><a id="v:setInitialProperties" class="def">setInitialProperties</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setInitialProperties" class="link">Source</a> <a href="#v:setInitialProperties" class="selflink">#</a></p><div class="doc"><p>Set some properties when we initially gain control of a window</p></div></div><div class="top"><p class="src"><a id="v:refresh" class="def">refresh</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#refresh" class="link">Source</a> <a href="#v:refresh" class="selflink">#</a></p><div class="doc"><p>refresh. Render the currently visible workspaces, as determined by
|
|
the <code>StackSet</code>. Also, set focus to the focused window.</p><p>This is our <code>view</code> operation (MVC), in that it pretty prints our model
|
|
with X calls.</p></div></div><div class="top"><p class="src"><a id="v:clearEvents" class="def">clearEvents</a> :: <a href="XMonad.html#t:EventMask" title="XMonad">EventMask</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#clearEvents" class="link">Source</a> <a href="#v:clearEvents" class="selflink">#</a></p><div class="doc"><p>clearEvents. Remove all events of a given type from the event queue.</p></div></div><div class="top"><p class="src"><a id="v:tileWindow" class="def">tileWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#tileWindow" class="link">Source</a> <a href="#v:tileWindow" class="selflink">#</a></p><div class="doc"><p>tileWindow. Moves and resizes w such that it fits inside the given
|
|
rectangle, including its border.</p></div></div><div class="top"><p class="src"><a id="v:containedIn" class="def">containedIn</a> :: <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/XMonad.Operations.html#containedIn" class="link">Source</a> <a href="#v:containedIn" class="selflink">#</a></p><div class="doc"><p>Returns <code><a href="/package/base-4.11.1.0/docs/Data-Bool.html#v:True" title="Data.Bool">True</a></code> if the first rectangle is contained within, but not equal
|
|
to the second.</p></div></div><div class="top"><p class="src"><a id="v:nubScreens" class="def">nubScreens</a> :: [<a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a>] -> [<a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a>] <a href="src/XMonad.Operations.html#nubScreens" class="link">Source</a> <a href="#v:nubScreens" class="selflink">#</a></p><div class="doc"><p>Given a list of screens, remove all duplicated screens and screens that
|
|
are entirely contained within another.</p></div></div><div class="top"><p class="src"><a id="v:getCleanedScreenInfo" class="def">getCleanedScreenInfo</a> :: <a href="XMonad.html#t:MonadIO" title="XMonad">MonadIO</a> m => <a href="XMonad.html#t:Display" title="XMonad">Display</a> -> m [<a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a>] <a href="src/XMonad.Operations.html#getCleanedScreenInfo" class="link">Source</a> <a href="#v:getCleanedScreenInfo" class="selflink">#</a></p><div class="doc"><p>Cleans the list of screens according to the rules documented for
|
|
nubScreens.</p></div></div><div class="top"><p class="src"><a id="v:rescreen" class="def">rescreen</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#rescreen" class="link">Source</a> <a href="#v:rescreen" class="selflink">#</a></p><div class="doc"><p>rescreen. The screen configuration may have changed (due to
|
|
xrandr), update the state and refresh the screen, and reset the gap.</p></div></div><div class="top"><p class="src"><a id="v:setButtonGrab" class="def">setButtonGrab</a> :: <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -> <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setButtonGrab" class="link">Source</a> <a href="#v:setButtonGrab" class="selflink">#</a></p><div class="doc"><p>setButtonGrab. Tell whether or not to intercept clicks on a given window</p></div></div><div class="top"><p class="src"><a id="v:setTopFocus" class="def">setTopFocus</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setTopFocus" class="link">Source</a> <a href="#v:setTopFocus" class="selflink">#</a></p><div class="doc"><p>Set the focus to the window on top of the stack, or root</p></div></div><div class="top"><p class="src"><a id="v:focus" class="def">focus</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#focus" class="link">Source</a> <a href="#v:focus" class="selflink">#</a></p><div class="doc"><p>Set focus explicitly to window <code>w</code> if it is managed by us, or root.
|
|
This happens if X notices we've moved the mouse (and perhaps moved
|
|
the mouse to a new screen).</p></div></div><div class="top"><p class="src"><a id="v:setFocusX" class="def">setFocusX</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setFocusX" class="link">Source</a> <a href="#v:setFocusX" class="selflink">#</a></p><div class="doc"><p>Call X to set the keyboard focus details.</p></div></div><div class="top"><p class="src"><a id="v:sendMessage" class="def">sendMessage</a> :: <a href="XMonad-Core.html#t:Message" title="XMonad.Core">Message</a> a => a -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#sendMessage" class="link">Source</a> <a href="#v:sendMessage" class="selflink">#</a></p><div class="doc"><p>Throw a message to the current <code><a href="XMonad-Core.html#t:LayoutClass" title="XMonad.Core">LayoutClass</a></code> possibly modifying how we
|
|
layout the windows, in which case changes are handled through a refresh.</p></div></div><div class="top"><p class="src"><a id="v:broadcastMessage" class="def">broadcastMessage</a> :: <a href="XMonad-Core.html#t:Message" title="XMonad.Core">Message</a> a => a -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#broadcastMessage" class="link">Source</a> <a href="#v:broadcastMessage" class="selflink">#</a></p><div class="doc"><p>Send a message to all layouts, without refreshing.</p></div></div><div class="top"><p class="src"><a id="v:sendMessageWithNoRefresh" class="def">sendMessageWithNoRefresh</a> :: <a href="XMonad-Core.html#t:Message" title="XMonad.Core">Message</a> a => a -> <a href="XMonad-StackSet.html#t:Workspace" title="XMonad.StackSet">Workspace</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> (<a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a>) <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#sendMessageWithNoRefresh" class="link">Source</a> <a href="#v:sendMessageWithNoRefresh" class="selflink">#</a></p><div class="doc"><p>Send a message to a layout, without refreshing.</p></div></div><div class="top"><p class="src"><a id="v:updateLayout" class="def">updateLayout</a> :: <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> -> <a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> (<a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a>) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#updateLayout" class="link">Source</a> <a href="#v:updateLayout" class="selflink">#</a></p><div class="doc"><p>Update the layout field of a workspace</p></div></div><div class="top"><p class="src"><a id="v:setLayout" class="def">setLayout</a> :: <a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#setLayout" class="link">Source</a> <a href="#v:setLayout" class="selflink">#</a></p><div class="doc"><p>Set the layout of the currently viewed workspace</p></div></div><div class="top"><p class="src"><a id="v:screenWorkspace" class="def">screenWorkspace</a> :: <a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a>) <a href="src/XMonad.Operations.html#screenWorkspace" class="link">Source</a> <a href="#v:screenWorkspace" class="selflink">#</a></p><div class="doc"><p>Return workspace visible on screen <code>sc</code>, or <code><a href="/package/base-4.11.1.0/docs/Data-Maybe.html#v:Nothing" title="Data.Maybe">Nothing</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:withFocused" class="def">withFocused</a> :: (<a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#withFocused" class="link">Source</a> <a href="#v:withFocused" class="selflink">#</a></p><div class="doc"><p>Apply an <code><a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a></code> operation to the currently focused window, if there is one.</p></div></div><div class="top"><p class="src"><a id="v:isClient" class="def">isClient</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/XMonad.Operations.html#isClient" class="link">Source</a> <a href="#v:isClient" class="selflink">#</a></p><div class="doc"><p><code><a href="/package/base-4.11.1.0/docs/Data-Bool.html#v:True" title="Data.Bool">True</a></code> if window is under management by us</p></div></div><div class="top"><p class="src"><a id="v:extraModifiers" class="def">extraModifiers</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> [<a href="XMonad.html#t:KeyMask" title="XMonad">KeyMask</a>] <a href="src/XMonad.Operations.html#extraModifiers" class="link">Source</a> <a href="#v:extraModifiers" class="selflink">#</a></p><div class="doc"><p>Combinations of extra modifier masks we need to grab keys/buttons for.
|
|
(numlock and capslock)</p></div></div><div class="top"><p class="src"><a id="v:cleanMask" class="def">cleanMask</a> :: <a href="XMonad.html#t:KeyMask" title="XMonad">KeyMask</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> <a href="XMonad.html#t:KeyMask" title="XMonad">KeyMask</a> <a href="src/XMonad.Operations.html#cleanMask" class="link">Source</a> <a href="#v:cleanMask" class="selflink">#</a></p><div class="doc"><p>Strip numlock/capslock from a mask</p></div></div><div class="top"><p class="src"><a id="v:initColor" class="def">initColor</a> :: <a href="XMonad.html#t:Display" title="XMonad">Display</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="/package/base-4.11.1.0/docs/System-IO.html#t:IO" title="System.IO">IO</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="XMonad.html#t:Pixel" title="XMonad">Pixel</a>) <a href="src/XMonad.Operations.html#initColor" class="link">Source</a> <a href="#v:initColor" class="selflink">#</a></p><div class="doc"><p>Get the <code><a href="XMonad.html#t:Pixel" title="XMonad">Pixel</a></code> value for a named color</p></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:StateFile" class="def">StateFile</a> <a href="src/XMonad.Operations.html#StateFile" class="link">Source</a> <a href="#t:StateFile" class="selflink">#</a></p><div class="doc"><p>A type to help serialize xmonad's state to a file.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:StateFile" class="def">StateFile</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:sfWins" class="def">sfWins</a> :: <a href="XMonad-StackSet.html#t:StackSet" title="XMonad.StackSet">StackSet</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a> <a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a> <a href="XMonad-Core.html#t:ScreenDetail" title="XMonad.Core">ScreenDetail</a></dfn><div class="doc empty"> </div></li><li><dfn class="src"><a id="v:sfExt" class="def">sfExt</a> :: [(<a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a>, <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a>)]</dfn><div class="doc empty"> </div></li></ul></div></td></tr></table></div><div class="subs instances"><details id="i:StateFile" open="open"><summary>Instances</summary><table><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:StateFile:Read:1"></span> <a href="/package/base-4.11.1.0/docs/Text-Read.html#t:Read" title="Text.Read">Read</a> <a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a></span> <a href="src/XMonad.Operations.html#line-471" class="link">Source</a> <a href="#t:StateFile" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:StateFile:Read:1"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="XMonad-Operations.html">XMonad.Operations</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:readsPrec">readsPrec</a> :: <a href="/package/base-4.11.1.0/docs/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="/package/base-4.11.1.0/docs/Text-ParserCombinators-ReadP.html#t:ReadS" title="Text.ParserCombinators.ReadP">ReadS</a> <a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a> <a href="#v:readsPrec" class="selflink">#</a></p><p class="src"><a href="#v:readList">readList</a> :: <a href="/package/base-4.11.1.0/docs/Text-ParserCombinators-ReadP.html#t:ReadS" title="Text.ParserCombinators.ReadP">ReadS</a> [<a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a>] <a href="#v:readList" class="selflink">#</a></p><p class="src"><a href="#v:readPrec">readPrec</a> :: <a href="/package/base-4.11.1.0/docs/Text-ParserCombinators-ReadPrec.html#t:ReadPrec" title="Text.ParserCombinators.ReadPrec">ReadPrec</a> <a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a> <a href="#v:readPrec" class="selflink">#</a></p><p class="src"><a href="#v:readListPrec">readListPrec</a> :: <a href="/package/base-4.11.1.0/docs/Text-ParserCombinators-ReadPrec.html#t:ReadPrec" title="Text.ParserCombinators.ReadPrec">ReadPrec</a> [<a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a>] <a href="#v:readListPrec" class="selflink">#</a></p></div></details></td></tr><tr><td class="src clearfix"><span class="inst-left"><span class="instance details-toggle-control details-toggle" data-details-id="i:id:StateFile:Show:2"></span> <a href="/package/base-4.11.1.0/docs/Text-Show.html#t:Show" title="Text.Show">Show</a> <a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a></span> <a href="src/XMonad.Operations.html#line-471" class="link">Source</a> <a href="#t:StateFile" class="selflink">#</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><details id="i:id:StateFile:Show:2"><summary class="hide-when-js-enabled">Instance details</summary><p>Defined in <a href="XMonad-Operations.html">XMonad.Operations</a></p> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="/package/base-4.11.1.0/docs/Data-Int.html#t:Int" title="Data.Int">Int</a> -> <a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a> -> <a href="/package/base-4.11.1.0/docs/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="XMonad-Operations.html#t:StateFile" title="XMonad.Operations">StateFile</a>] -> <a href="/package/base-4.11.1.0/docs/Text-Show.html#t:ShowS" title="Text.Show">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></details></td></tr></table></details></div></div><div class="top"><p class="src"><a id="v:writeStateToFile" class="def">writeStateToFile</a> :: <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#writeStateToFile" class="link">Source</a> <a href="#v:writeStateToFile" class="selflink">#</a></p><div class="doc"><p>Write the current window state (and extensible state) to a file
|
|
so that xmonad can resume with that state intact.</p></div></div><div class="top"><p class="src"><a id="v:readStateFile" class="def">readStateFile</a> :: (<a href="XMonad-Core.html#t:LayoutClass" title="XMonad.Core">LayoutClass</a> l <a href="XMonad.html#t:Window" title="XMonad">Window</a>, <a href="/package/base-4.11.1.0/docs/Text-Read.html#t:Read" title="Text.Read">Read</a> (l <a href="XMonad.html#t:Window" title="XMonad">Window</a>)) => <a href="XMonad-Core.html#t:XConfig" title="XMonad.Core">XConfig</a> l -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> <a href="XMonad-Core.html#t:XState" title="XMonad.Core">XState</a>) <a href="src/XMonad.Operations.html#readStateFile" class="link">Source</a> <a href="#v:readStateFile" class="selflink">#</a></p><div class="doc"><p>Read the state of a previous xmonad instance from a file and
|
|
return that state. The state file is removed after reading it.</p></div></div><div class="top"><p class="src"><a id="v:migrateState" class="def">migrateState</a> :: (<a href="/package/base-4.11.1.0/docs/Data-Functor.html#t:Functor" title="Data.Functor">Functor</a> m, <a href="XMonad.html#t:MonadIO" title="XMonad">MonadIO</a> m) => <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> m () <a href="src/XMonad.Operations.html#migrateState" class="link">Source</a> <a href="#v:migrateState" class="selflink">#</a></p><div class="doc"><div class="warning"><p>Deprecated: will be removed some point in the future.</p></div><p>Migrate state from a previously running xmonad instance that used
|
|
the older <code>--resume</code> technique.</p></div></div><div class="top"><p class="src"><a id="v:restart" class="def">restart</a> :: <a href="/package/base-4.11.1.0/docs/Data-String.html#t:String" title="Data.String">String</a> -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#restart" class="link">Source</a> <a href="#v:restart" class="selflink">#</a></p><div class="doc"><p><code>restart name resume</code>. Attempt to restart xmonad by executing the program
|
|
<code>name</code>. If <code>resume</code> is <code><a href="/package/base-4.11.1.0/docs/Data-Bool.html#v:True" title="Data.Bool">True</a></code>, restart with the current window state.
|
|
When executing another window manager, <code>resume</code> should be <code><a href="/package/base-4.11.1.0/docs/Data-Bool.html#v:False" title="Data.Bool">False</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:floatLocation" class="def">floatLocation</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a>, <a href="XMonad-StackSet.html#t:RationalRect" title="XMonad.StackSet">RationalRect</a>) <a href="src/XMonad.Operations.html#floatLocation" class="link">Source</a> <a href="#v:floatLocation" class="selflink">#</a></p><div class="doc"><p>Floating layer support</p><p>Given a window, find the screen it is located on, and compute
|
|
the geometry of that window wrt. that screen.</p></div></div><div class="top"><p class="src"><a id="v:pointScreen" class="def">pointScreen</a> :: <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="/package/base-4.11.1.0/docs/Data-Maybe.html#t:Maybe" title="Data.Maybe">Maybe</a> (<a href="XMonad-StackSet.html#t:Screen" title="XMonad.StackSet">Screen</a> <a href="XMonad-Core.html#t:WorkspaceId" title="XMonad.Core">WorkspaceId</a> (<a href="XMonad-Core.html#t:Layout" title="XMonad.Core">Layout</a> <a href="XMonad.html#t:Window" title="XMonad">Window</a>) <a href="XMonad.html#t:Window" title="XMonad">Window</a> <a href="XMonad-Core.html#t:ScreenId" title="XMonad.Core">ScreenId</a> <a href="XMonad-Core.html#t:ScreenDetail" title="XMonad.Core">ScreenDetail</a>)) <a href="src/XMonad.Operations.html#pointScreen" class="link">Source</a> <a href="#v:pointScreen" class="selflink">#</a></p><div class="doc"><p>Given a point, determine the screen (if any) that contains it.</p></div></div><div class="top"><p class="src"><a id="v:pointWithin" class="def">pointWithin</a> :: <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Rectangle" title="XMonad">Rectangle</a> -> <a href="/package/base-4.11.1.0/docs/Data-Bool.html#t:Bool" title="Data.Bool">Bool</a> <a href="src/XMonad.Operations.html#pointWithin" class="link">Source</a> <a href="#v:pointWithin" class="selflink">#</a></p><div class="doc"><p><code>pointWithin x y r</code> returns <code><a href="/package/base-4.11.1.0/docs/Data-Bool.html#v:True" title="Data.Bool">True</a></code> if the <code>(x, y)</code> co-ordinate is within
|
|
<code>r</code>.</p></div></div><div class="top"><p class="src"><a id="v:float" class="def">float</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#float" class="link">Source</a> <a href="#v:float" class="selflink">#</a></p><div class="doc"><p>Make a tiled window floating, using its suggested rectangle</p></div></div><div class="top"><p class="src"><a id="v:mouseDrag" class="def">mouseDrag</a> :: (<a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad.html#t:Position" title="XMonad">Position</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> ()) -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#mouseDrag" class="link">Source</a> <a href="#v:mouseDrag" class="selflink">#</a></p><div class="doc"><p>Accumulate mouse motion events</p></div></div><div class="top"><p class="src"><a id="v:mouseMoveWindow" class="def">mouseMoveWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#mouseMoveWindow" class="link">Source</a> <a href="#v:mouseMoveWindow" class="selflink">#</a></p><div class="doc"><p>drag the window under the cursor with the mouse while it is dragged</p></div></div><div class="top"><p class="src"><a id="v:mouseResizeWindow" class="def">mouseResizeWindow</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> () <a href="src/XMonad.Operations.html#mouseResizeWindow" class="link">Source</a> <a href="#v:mouseResizeWindow" class="selflink">#</a></p><div class="doc"><p>resize the window under the cursor with the mouse while it is dragged</p></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:D" class="def">D</a> = (<a href="XMonad.html#t:Dimension" title="XMonad">Dimension</a>, <a href="XMonad.html#t:Dimension" title="XMonad">Dimension</a>) <a href="src/XMonad.Operations.html#D" class="link">Source</a> <a href="#t:D" class="selflink">#</a></p><div class="doc"><p>Support for window size hints</p></div></div><div class="top"><p class="src"><a id="v:mkAdjust" class="def">mkAdjust</a> :: <a href="XMonad.html#t:Window" title="XMonad">Window</a> -> <a href="XMonad-Core.html#t:X" title="XMonad.Core">X</a> (<a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a>) <a href="src/XMonad.Operations.html#mkAdjust" class="link">Source</a> <a href="#v:mkAdjust" class="selflink">#</a></p><div class="doc"><p>Given a window, build an adjuster function that will reduce the given
|
|
dimensions according to the window's border width and size hints.</p></div></div><div class="top"><p class="src"><a id="v:applySizeHints" class="def">applySizeHints</a> :: <a href="/package/base-4.11.1.0/docs/Prelude.html#t:Integral" title="Prelude">Integral</a> a => <a href="XMonad.html#t:Dimension" title="XMonad">Dimension</a> -> <a href="/package/X11-1.9/docs/Graphics-X11-Xlib-Extras.html#t:SizeHints" title="Graphics.X11.Xlib.Extras">SizeHints</a> -> (a, a) -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> <a href="src/XMonad.Operations.html#applySizeHints" class="link">Source</a> <a href="#v:applySizeHints" class="selflink">#</a></p><div class="doc"><p>Reduce the dimensions if needed to comply to the given SizeHints, taking
|
|
window borders into account.</p></div></div><div class="top"><p class="src"><a id="v:applySizeHintsContents" class="def">applySizeHintsContents</a> :: <a href="/package/base-4.11.1.0/docs/Prelude.html#t:Integral" title="Prelude">Integral</a> a => <a href="/package/X11-1.9/docs/Graphics-X11-Xlib-Extras.html#t:SizeHints" title="Graphics.X11.Xlib.Extras">SizeHints</a> -> (a, a) -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> <a href="src/XMonad.Operations.html#applySizeHintsContents" class="link">Source</a> <a href="#v:applySizeHintsContents" class="selflink">#</a></p><div class="doc"><p>Reduce the dimensions if needed to comply to the given SizeHints.</p></div></div><div class="top"><p class="src"><a id="v:applySizeHints-39-" class="def">applySizeHints'</a> :: <a href="/package/X11-1.9/docs/Graphics-X11-Xlib-Extras.html#t:SizeHints" title="Graphics.X11.Xlib.Extras">SizeHints</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> <a href="src/XMonad.Operations.html#applySizeHints%27" class="link">Source</a> <a href="#v:applySizeHints-39-" class="selflink">#</a></p><div class="doc"><p>XXX comment me</p></div></div><div class="top"><p class="src"><a id="v:applyAspectHint" class="def">applyAspectHint</a> :: (<a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a>, <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a>) -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> <a href="src/XMonad.Operations.html#applyAspectHint" class="link">Source</a> <a href="#v:applyAspectHint" class="selflink">#</a></p><div class="doc"><p>Reduce the dimensions so their aspect ratio falls between the two given aspect ratios.</p></div></div><div class="top"><p class="src"><a id="v:applyResizeIncHint" class="def">applyResizeIncHint</a> :: <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> <a href="src/XMonad.Operations.html#applyResizeIncHint" class="link">Source</a> <a href="#v:applyResizeIncHint" class="selflink">#</a></p><div class="doc"><p>Reduce the dimensions so they are a multiple of the size increments.</p></div></div><div class="top"><p class="src"><a id="v:applyMaxSizeHint" class="def">applyMaxSizeHint</a> :: <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> -> <a href="XMonad-Operations.html#t:D" title="XMonad.Operations">D</a> <a href="src/XMonad.Operations.html#applyMaxSizeHint" class="link">Source</a> <a href="#v:applyMaxSizeHint" class="selflink">#</a></p><div class="doc"><p>Reduce the dimensions if they exceed the given maximum dimensions.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.20.0</p></div></body></html> |