Copyright | Devin Mullins <devin.mullins@gmail.com> |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | Devin Mullins <devin.mullins@gmail.com> |
Stability | unstable |
Portability | unportable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
XMonad.Config.Prime
Description
Deprecated: This module is a perpetual draft and will therefore be removed from xmonad-contrib in the near future.
This is a draft of a brand new config syntax for xmonad. It aims to be:
- easier to copy/paste snippets from the docs
- easier to get the gist for what's going on, for you imperative programmers
It's brand new, so it's pretty much guaranteed to break or change syntax. But what's the worst that could happen? Xmonad crashes and logs you out? It probably won't do that. Give it a try.
Synopsis
- xmonad :: (Default a, Read (l Window), LayoutClass l Window) => (a -> IO (XConfig l)) -> IO ()
- nothing :: Prime l l
- normalBorderColor :: Settable String (XConfig l)
- focusedBorderColor :: Settable String (XConfig l)
- terminal :: Settable String (XConfig l)
- modMask :: Settable KeyMask (XConfig l)
- borderWidth :: Settable Dimension (XConfig l)
- focusFollowsMouse :: Settable Bool (XConfig l)
- clickJustFocuses :: Settable Bool (XConfig l)
- class SettableClass s x y | s -> x y where
- class UpdateableClass s x y | s -> x y where
- manageHook :: Summable ManageHook ManageHook (XConfig l)
- handleEventHook :: Summable (Event -> X All) (Event -> X All) (XConfig l)
- workspaces :: Summable [String] [String] (XConfig l)
- logHook :: Summable (X ()) (X ()) (XConfig l)
- startupHook :: Summable (X ()) (X ()) (XConfig l)
- clientMask :: Summable EventMask EventMask (XConfig l)
- rootMask :: Summable EventMask EventMask (XConfig l)
- class SummableClass s y | s -> y where
- keys :: Keys (XConfig l)
- mouseBindings :: MouseBindings (XConfig l)
- class RemovableClass r y | r -> y where
- withWorkspaces :: Arr WorkspaceConfig WorkspaceConfig -> Prime l l
- wsNames :: Settable [String] WorkspaceConfig
- wsKeys :: Summable [String] [String] WorkspaceConfig
- wsActions :: Summable [(String, String -> X ())] [(String, String -> X ())] WorkspaceConfig
- wsSetName :: Int -> String -> Arr WorkspaceConfig WorkspaceConfig
- withScreens :: Arr ScreenConfig ScreenConfig -> Prime l l
- sKeys :: Summable [String] [String] ScreenConfig
- sActions :: Summable [(String, ScreenId -> X ())] [(String, ScreenId -> X ())] ScreenConfig
- onScreens :: Eq s => (i -> StackSet i l a s sd -> StackSet i l a s sd) -> s -> StackSet i l a s sd -> StackSet i l a s sd
- addLayout :: (LayoutClass l Window, LayoutClass r Window) => r Window -> Prime l (Choose l r)
- resetLayout :: LayoutClass r Window => r Window -> Prime l r
- modifyLayout :: LayoutClass r Window => (l Window -> r Window) -> Prime l r
- startWith :: XConfig l' -> Prime l l'
- apply :: (XConfig l -> XConfig l') -> Prime l l'
- applyIO :: (XConfig l -> IO (XConfig l')) -> Prime l l'
- class Typeable (a :: k)
- class Monad m => MonadIO (m :: Type -> Type) where
- (.|.) :: Bits a => a -> a -> a
- class Monad m => MonadState s (m :: Type -> Type) | m -> s where
- modify :: MonadState s m => (s -> s) -> m ()
- gets :: MonadState s m => (s -> a) -> m a
- class Monad m => MonadReader r (m :: Type -> Type) | m -> r where
- asks :: MonadReader r m => (r -> a) -> m a
- allocAll :: ColormapAlloc
- allocNone :: ColormapAlloc
- alreadyGrabbed :: GrabStatus
- always :: BackingStore
- anyModifier :: Modifier
- arcChord :: ArcMode
- arcPieSlice :: ArcMode
- asyncBoth :: AllowEvents
- asyncKeyboard :: AllowEvents
- asyncPointer :: AllowEvents
- badAccess :: ErrorCode
- badAlloc :: ErrorCode
- badAtom :: ErrorCode
- badColor :: ErrorCode
- badCursor :: ErrorCode
- badDrawable :: ErrorCode
- badFont :: ErrorCode
- badGC :: ErrorCode
- badIDChoice :: ErrorCode
- badImplementation :: ErrorCode
- badLength :: ErrorCode
- badMatch :: ErrorCode
- badName :: ErrorCode
- badPixmap :: ErrorCode
- badRequest :: ErrorCode
- badValue :: ErrorCode
- badWindow :: ErrorCode
- button1 :: Button
- button1Mask :: ButtonMask
- button1MotionMask :: EventMask
- button2 :: Button
- button2Mask :: ButtonMask
- button2MotionMask :: EventMask
- button3 :: Button
- button3Mask :: ButtonMask
- button3MotionMask :: EventMask
- button4 :: Button
- button4Mask :: ButtonMask
- button4MotionMask :: EventMask
- button5 :: Button
- button5Mask :: ButtonMask
- button5MotionMask :: EventMask
- buttonMotionMask :: EventMask
- buttonPress :: EventType
- buttonPressMask :: EventMask
- buttonRelease :: EventType
- buttonReleaseMask :: EventMask
- cWBackPixel :: AttributeMask
- cWBackPixmap :: AttributeMask
- cWBackingPixel :: AttributeMask
- cWBackingPlanes :: AttributeMask
- cWBackingStore :: AttributeMask
- cWBitGravity :: AttributeMask
- cWBorderPixel :: AttributeMask
- cWBorderPixmap :: AttributeMask
- cWColormap :: AttributeMask
- cWCursor :: AttributeMask
- cWDontPropagate :: AttributeMask
- cWEventMask :: AttributeMask
- cWOverrideRedirect :: AttributeMask
- cWSaveUnder :: AttributeMask
- cWWinGravity :: AttributeMask
- capButt :: CapStyle
- capNotLast :: CapStyle
- capProjecting :: CapStyle
- capRound :: CapStyle
- centerGravity :: BitGravity
- circulateNotify :: EventType
- circulateRequest :: EventType
- clientMessage :: EventType
- clipByChildren :: SubWindowMode
- colormapChangeMask :: EventMask
- colormapInstalled :: ColormapNotification
- colormapNotify :: EventType
- colormapUninstalled :: ColormapNotification
- complex :: PolygonShape
- configureNotify :: EventType
- configureRequest :: EventType
- controlMapIndex :: Modifier
- controlMask :: KeyMask
- convex :: PolygonShape
- coordModeOrigin :: CoordinateMode
- coordModePrevious :: CoordinateMode
- copyFromParent :: WindowClass
- createNotify :: EventType
- cursorShape :: QueryBestSizeClass
- destroyAll :: CloseDownMode
- destroyNotify :: EventType
- doBlue :: Word8
- doGreen :: Word8
- doRed :: Word8
- eastGravity :: BitGravity
- enterNotify :: EventType
- enterWindowMask :: EventMask
- evenOddRule :: FillRule
- expose :: EventType
- exposureMask :: EventMask
- familyChaos :: Protocol
- familyDECnet :: Protocol
- familyInternet :: Protocol
- fillOpaqueStippled :: FillStyle
- fillSolid :: FillStyle
- fillStippled :: FillStyle
- fillTiled :: FillStyle
- firstExtensionError :: ErrorCode
- focusChangeMask :: EventMask
- focusIn :: EventType
- focusOut :: EventType
- fontLeftToRight :: FontDirection
- fontRightToLeft :: FontDirection
- forgetGravity :: BitGravity
- gCArcMode :: GCMask
- gCBackground :: GCMask
- gCCapStyle :: GCMask
- gCClipMask :: GCMask
- gCClipXOrigin :: GCMask
- gCClipYOrigin :: GCMask
- gCDashList :: GCMask
- gCDashOffset :: GCMask
- gCFillRule :: GCMask
- gCFillStyle :: GCMask
- gCFont :: GCMask
- gCForeground :: GCMask
- gCFunction :: GCMask
- gCGraphicsExposures :: GCMask
- gCJoinStyle :: GCMask
- gCLastBit :: GCMask
- gCLineStyle :: GCMask
- gCLineWidth :: GCMask
- gCPlaneMask :: GCMask
- gCStipple :: GCMask
- gCSubwindowMode :: GCMask
- gCTile :: GCMask
- gCTileStipXOrigin :: GCMask
- gCTileStipYOrigin :: GCMask
- gXand :: GXFunction
- gXandInverted :: GXFunction
- gXandReverse :: GXFunction
- gXclear :: GXFunction
- gXcopy :: GXFunction
- gXcopyInverted :: GXFunction
- gXequiv :: GXFunction
- gXinvert :: GXFunction
- gXnand :: GXFunction
- gXnoop :: GXFunction
- gXnor :: GXFunction
- gXor :: GXFunction
- gXorInverted :: GXFunction
- gXorReverse :: GXFunction
- gXset :: GXFunction
- gXxor :: GXFunction
- grabFrozen :: GrabStatus
- grabInvalidTime :: GrabStatus
- grabModeAsync :: GrabMode
- grabModeSync :: GrabMode
- grabNotViewable :: GrabStatus
- grabSuccess :: GrabStatus
- graphicsExpose :: EventType
- gravityNotify :: EventType
- includeInferiors :: SubWindowMode
- inputOnly :: WindowClass
- inputOutput :: WindowClass
- joinBevel :: JoinStyle
- joinMiter :: JoinStyle
- joinRound :: JoinStyle
- keyPress :: EventType
- keyPressMask :: EventMask
- keyRelease :: EventType
- keyReleaseMask :: EventMask
- keymapNotify :: EventType
- keymapStateMask :: EventMask
- lASTEvent :: EventType
- lSBFirst :: ByteOrder
- lastExtensionError :: ErrorCode
- leaveNotify :: EventType
- leaveWindowMask :: EventMask
- lineDoubleDash :: LineStyle
- lineOnOffDash :: LineStyle
- lineSolid :: LineStyle
- lockMapIndex :: Modifier
- lockMask :: KeyMask
- lowerHighest :: CirculationDirection
- mSBFirst :: ByteOrder
- mapNotify :: EventType
- mapRequest :: EventType
- mappingKeyboard :: MappingRequest
- mappingModifier :: MappingRequest
- mappingNotify :: EventType
- mappingPointer :: MappingRequest
- mod1MapIndex :: Modifier
- mod1Mask :: KeyMask
- mod2MapIndex :: Modifier
- mod2Mask :: KeyMask
- mod3MapIndex :: Modifier
- mod3Mask :: KeyMask
- mod4MapIndex :: Modifier
- mod4Mask :: KeyMask
- mod5MapIndex :: Modifier
- mod5Mask :: KeyMask
- motionNotify :: EventType
- noEventMask :: EventMask
- noExpose :: EventType
- noModMask :: KeyMask
- nonconvex :: PolygonShape
- northEastGravity :: BitGravity
- northGravity :: BitGravity
- northWestGravity :: BitGravity
- notUseful :: BackingStore
- notifyAncestor :: NotifyDetail
- notifyDetailNone :: NotifyDetail
- notifyGrab :: NotifyMode
- notifyHint :: NotifyMode
- notifyInferior :: NotifyDetail
- notifyNonlinear :: NotifyDetail
- notifyNonlinearVirtual :: NotifyDetail
- notifyNormal :: NotifyMode
- notifyPointer :: NotifyDetail
- notifyPointerRoot :: NotifyDetail
- notifyUngrab :: NotifyMode
- notifyVirtual :: NotifyDetail
- notifyWhileGrabbed :: NotifyMode
- ownerGrabButtonMask :: EventMask
- placeOnBottom :: Place
- placeOnTop :: Place
- pointerMotionHintMask :: EventMask
- pointerMotionMask :: EventMask
- propertyChangeMask :: EventMask
- propertyDelete :: PropertyNotification
- propertyNewValue :: PropertyNotification
- propertyNotify :: EventType
- raiseLowest :: CirculationDirection
- reparentNotify :: EventType
- replayKeyboard :: AllowEvents
- replayPointer :: AllowEvents
- resizeRedirectMask :: EventMask
- resizeRequest :: EventType
- retainPermanent :: CloseDownMode
- retainTemporary :: CloseDownMode
- revertToNone :: FocusMode
- revertToParent :: FocusMode
- revertToPointerRoot :: FocusMode
- rrCrtcChangeNotifyMask :: EventMask
- rrNotify :: EventType
- rrNotifyCrtcChange :: EventType
- rrNotifyOutputChange :: EventType
- rrNotifyOutputProperty :: EventType
- rrOutputChangeNotifyMask :: EventMask
- rrOutputPropertyNotifyMask :: EventMask
- rrScreenChangeNotify :: EventType
- rrScreenChangeNotifyMask :: EventMask
- screenSaverCycleMask :: EventMask
- screenSaverNotify :: EventType
- screenSaverNotifyMask :: EventMask
- selectionClear :: EventType
- selectionNotify :: EventType
- selectionRequest :: EventType
- setModeDelete :: ChangeSaveSetMode
- setModeInsert :: ChangeSaveSetMode
- shiftMapIndex :: Modifier
- shiftMask :: KeyMask
- southEastGravity :: BitGravity
- southGravity :: BitGravity
- southWestGravity :: BitGravity
- staticGravity :: BitGravity
- stippleShape :: QueryBestSizeClass
- structureNotifyMask :: EventMask
- substructureNotifyMask :: EventMask
- substructureRedirectMask :: EventMask
- success :: ErrorCode
- syncBoth :: AllowEvents
- syncKeyboard :: AllowEvents
- syncPointer :: AllowEvents
- throwIfZero :: String -> IO Status -> IO ()
- tileShape :: QueryBestSizeClass
- unmapGravity :: WindowGravity
- unmapNotify :: EventType
- visibilityChangeMask :: EventMask
- visibilityFullyObscured :: Visibility
- visibilityNotify :: EventType
- visibilityPartiallyObscured :: Visibility
- visibilityUnobscured :: Visibility
- westGravity :: BitGravity
- whenMapped :: BackingStore
- windingRule :: FillRule
- xK_0 :: KeySym
- xK_1 :: KeySym
- xK_2 :: KeySym
- xK_3 :: KeySym
- xK_4 :: KeySym
- xK_5 :: KeySym
- xK_6 :: KeySym
- xK_7 :: KeySym
- xK_8 :: KeySym
- xK_9 :: KeySym
- xK_A :: KeySym
- xK_AE :: KeySym
- xK_Aacute :: KeySym
- xK_Acircumflex :: KeySym
- xK_Adiaeresis :: KeySym
- xK_Agrave :: KeySym
- xK_Alt_L :: KeySym
- xK_Alt_R :: KeySym
- xK_Aring :: KeySym
- xK_Atilde :: KeySym
- xK_B :: KeySym
- xK_BackSpace :: KeySym
- xK_Begin :: KeySym
- xK_Break :: KeySym
- xK_C :: KeySym
- xK_Cancel :: KeySym
- xK_Caps_Lock :: KeySym
- xK_Ccedilla :: KeySym
- xK_Clear :: KeySym
- xK_Codeinput :: KeySym
- xK_Control_L :: KeySym
- xK_Control_R :: KeySym
- xK_D :: KeySym
- xK_Delete :: KeySym
- xK_Down :: KeySym
- xK_E :: KeySym
- xK_ETH :: KeySym
- xK_Eacute :: KeySym
- xK_Ecircumflex :: KeySym
- xK_Ediaeresis :: KeySym
- xK_Egrave :: KeySym
- xK_End :: KeySym
- xK_Escape :: KeySym
- xK_Eth :: KeySym
- xK_Execute :: KeySym
- xK_F :: KeySym
- xK_F1 :: KeySym
- xK_F10 :: KeySym
- xK_F11 :: KeySym
- xK_F12 :: KeySym
- xK_F13 :: KeySym
- xK_F14 :: KeySym
- xK_F15 :: KeySym
- xK_F16 :: KeySym
- xK_F17 :: KeySym
- xK_F18 :: KeySym
- xK_F19 :: KeySym
- xK_F2 :: KeySym
- xK_F20 :: KeySym
- xK_F21 :: KeySym
- xK_F22 :: KeySym
- xK_F23 :: KeySym
- xK_F24 :: KeySym
- xK_F25 :: KeySym
- xK_F26 :: KeySym
- xK_F27 :: KeySym
- xK_F28 :: KeySym
- xK_F29 :: KeySym
- xK_F3 :: KeySym
- xK_F30 :: KeySym
- xK_F31 :: KeySym
- xK_F32 :: KeySym
- xK_F33 :: KeySym
- xK_F34 :: KeySym
- xK_F35 :: KeySym
- xK_F4 :: KeySym
- xK_F5 :: KeySym
- xK_F6 :: KeySym
- xK_F7 :: KeySym
- xK_F8 :: KeySym
- xK_F9 :: KeySym
- xK_Find :: KeySym
- xK_G :: KeySym
- xK_H :: KeySym
- xK_Help :: KeySym
- xK_Home :: KeySym
- xK_Hyper_L :: KeySym
- xK_Hyper_R :: KeySym
- xK_I :: KeySym
- xK_Iacute :: KeySym
- xK_Icircumflex :: KeySym
- xK_Idiaeresis :: KeySym
- xK_Igrave :: KeySym
- xK_Insert :: KeySym
- xK_J :: KeySym
- xK_K :: KeySym
- xK_KP_0 :: KeySym
- xK_KP_1 :: KeySym
- xK_KP_2 :: KeySym
- xK_KP_3 :: KeySym
- xK_KP_4 :: KeySym
- xK_KP_5 :: KeySym
- xK_KP_6 :: KeySym
- xK_KP_7 :: KeySym
- xK_KP_8 :: KeySym
- xK_KP_9 :: KeySym
- xK_KP_Add :: KeySym
- xK_KP_Begin :: KeySym
- xK_KP_Decimal :: KeySym
- xK_KP_Delete :: KeySym
- xK_KP_Divide :: KeySym
- xK_KP_Down :: KeySym
- xK_KP_End :: KeySym
- xK_KP_Enter :: KeySym
- xK_KP_Equal :: KeySym
- xK_KP_F1 :: KeySym
- xK_KP_F2 :: KeySym
- xK_KP_F3 :: KeySym
- xK_KP_F4 :: KeySym
- xK_KP_Home :: KeySym
- xK_KP_Insert :: KeySym
- xK_KP_Left :: KeySym
- xK_KP_Multiply :: KeySym
- xK_KP_Next :: KeySym
- xK_KP_Page_Down :: KeySym
- xK_KP_Page_Up :: KeySym
- xK_KP_Prior :: KeySym
- xK_KP_Right :: KeySym
- xK_KP_Separator :: KeySym
- xK_KP_Space :: KeySym
- xK_KP_Subtract :: KeySym
- xK_KP_Tab :: KeySym
- xK_KP_Up :: KeySym
- xK_L :: KeySym
- xK_L1 :: KeySym
- xK_L10 :: KeySym
- xK_L2 :: KeySym
- xK_L3 :: KeySym
- xK_L4 :: KeySym
- xK_L5 :: KeySym
- xK_L6 :: KeySym
- xK_L7 :: KeySym
- xK_L8 :: KeySym
- xK_L9 :: KeySym
- xK_Left :: KeySym
- xK_Linefeed :: KeySym
- xK_M :: KeySym
- xK_Menu :: KeySym
- xK_Meta_L :: KeySym
- xK_Meta_R :: KeySym
- xK_Mode_switch :: KeySym
- xK_Multi_key :: KeySym
- xK_MultipleCandidate :: KeySym
- xK_N :: KeySym
- xK_Next :: KeySym
- xK_Ntilde :: KeySym
- xK_Num_Lock :: KeySym
- xK_O :: KeySym
- xK_Oacute :: KeySym
- xK_Ocircumflex :: KeySym
- xK_Odiaeresis :: KeySym
- xK_Ograve :: KeySym
- xK_Ooblique :: KeySym
- xK_Otilde :: KeySym
- xK_P :: KeySym
- xK_Page_Down :: KeySym
- xK_Page_Up :: KeySym
- xK_Pause :: KeySym
- xK_PreviousCandidate :: KeySym
- xK_Print :: KeySym
- xK_Prior :: KeySym
- xK_Q :: KeySym
- xK_R :: KeySym
- xK_R1 :: KeySym
- xK_R10 :: KeySym
- xK_R11 :: KeySym
- xK_R12 :: KeySym
- xK_R13 :: KeySym
- xK_R14 :: KeySym
- xK_R15 :: KeySym
- xK_R2 :: KeySym
- xK_R3 :: KeySym
- xK_R4 :: KeySym
- xK_R5 :: KeySym
- xK_R6 :: KeySym
- xK_R7 :: KeySym
- xK_R8 :: KeySym
- xK_R9 :: KeySym
- xK_Redo :: KeySym
- xK_Return :: KeySym
- xK_Right :: KeySym
- xK_S :: KeySym
- xK_Scroll_Lock :: KeySym
- xK_Select :: KeySym
- xK_Shift_L :: KeySym
- xK_Shift_Lock :: KeySym
- xK_Shift_R :: KeySym
- xK_SingleCandidate :: KeySym
- xK_Super_L :: KeySym
- xK_Super_R :: KeySym
- xK_Sys_Req :: KeySym
- xK_T :: KeySym
- xK_THORN :: KeySym
- xK_Tab :: KeySym
- xK_Thorn :: KeySym
- xK_U :: KeySym
- xK_Uacute :: KeySym
- xK_Ucircumflex :: KeySym
- xK_Udiaeresis :: KeySym
- xK_Ugrave :: KeySym
- xK_Undo :: KeySym
- xK_Up :: KeySym
- xK_V :: KeySym
- xK_VoidSymbol :: KeySym
- xK_W :: KeySym
- xK_X :: KeySym
- xK_Y :: KeySym
- xK_Yacute :: KeySym
- xK_Z :: KeySym
- xK_a :: KeySym
- xK_aacute :: KeySym
- xK_acircumflex :: KeySym
- xK_acute :: KeySym
- xK_adiaeresis :: KeySym
- xK_ae :: KeySym
- xK_agrave :: KeySym
- xK_ampersand :: KeySym
- xK_apostrophe :: KeySym
- xK_aring :: KeySym
- xK_asciicircum :: KeySym
- xK_asciitilde :: KeySym
- xK_asterisk :: KeySym
- xK_at :: KeySym
- xK_atilde :: KeySym
- xK_b :: KeySym
- xK_backslash :: KeySym
- xK_bar :: KeySym
- xK_braceleft :: KeySym
- xK_braceright :: KeySym
- xK_bracketleft :: KeySym
- xK_bracketright :: KeySym
- xK_brokenbar :: KeySym
- xK_c :: KeySym
- xK_ccedilla :: KeySym
- xK_cedilla :: KeySym
- xK_cent :: KeySym
- xK_colon :: KeySym
- xK_comma :: KeySym
- xK_copyright :: KeySym
- xK_currency :: KeySym
- xK_d :: KeySym
- xK_degree :: KeySym
- xK_diaeresis :: KeySym
- xK_division :: KeySym
- xK_dollar :: KeySym
- xK_e :: KeySym
- xK_eacute :: KeySym
- xK_ecircumflex :: KeySym
- xK_ediaeresis :: KeySym
- xK_egrave :: KeySym
- xK_equal :: KeySym
- xK_eth :: KeySym
- xK_exclam :: KeySym
- xK_exclamdown :: KeySym
- xK_f :: KeySym
- xK_g :: KeySym
- xK_grave :: KeySym
- xK_greater :: KeySym
- xK_guillemotleft :: KeySym
- xK_guillemotright :: KeySym
- xK_h :: KeySym
- xK_hyphen :: KeySym
- xK_i :: KeySym
- xK_iacute :: KeySym
- xK_icircumflex :: KeySym
- xK_idiaeresis :: KeySym
- xK_igrave :: KeySym
- xK_j :: KeySym
- xK_k :: KeySym
- xK_l :: KeySym
- xK_less :: KeySym
- xK_m :: KeySym
- xK_macron :: KeySym
- xK_masculine :: KeySym
- xK_minus :: KeySym
- xK_mu :: KeySym
- xK_multiply :: KeySym
- xK_n :: KeySym
- xK_nobreakspace :: KeySym
- xK_notsign :: KeySym
- xK_ntilde :: KeySym
- xK_numbersign :: KeySym
- xK_o :: KeySym
- xK_oacute :: KeySym
- xK_ocircumflex :: KeySym
- xK_odiaeresis :: KeySym
- xK_ograve :: KeySym
- xK_onehalf :: KeySym
- xK_onequarter :: KeySym
- xK_onesuperior :: KeySym
- xK_ordfeminine :: KeySym
- xK_oslash :: KeySym
- xK_otilde :: KeySym
- xK_p :: KeySym
- xK_paragraph :: KeySym
- xK_parenleft :: KeySym
- xK_parenright :: KeySym
- xK_percent :: KeySym
- xK_period :: KeySym
- xK_periodcentered :: KeySym
- xK_plus :: KeySym
- xK_plusminus :: KeySym
- xK_q :: KeySym
- xK_question :: KeySym
- xK_questiondown :: KeySym
- xK_quotedbl :: KeySym
- xK_quoteleft :: KeySym
- xK_quoteright :: KeySym
- xK_r :: KeySym
- xK_registered :: KeySym
- xK_s :: KeySym
- xK_script_switch :: KeySym
- xK_section :: KeySym
- xK_semicolon :: KeySym
- xK_slash :: KeySym
- xK_space :: KeySym
- xK_ssharp :: KeySym
- xK_sterling :: KeySym
- xK_t :: KeySym
- xK_thorn :: KeySym
- xK_threequarters :: KeySym
- xK_threesuperior :: KeySym
- xK_twosuperior :: KeySym
- xK_u :: KeySym
- xK_uacute :: KeySym
- xK_ucircumflex :: KeySym
- xK_udiaeresis :: KeySym
- xK_ugrave :: KeySym
- xK_underscore :: KeySym
- xK_v :: KeySym
- xK_w :: KeySym
- xK_x :: KeySym
- xK_y :: KeySym
- xK_yacute :: KeySym
- xK_ydiaeresis :: KeySym
- xK_yen :: KeySym
- xK_z :: KeySym
- xRR_Connected :: Connection
- xRR_Disconnected :: Connection
- xRR_Reflect_X :: Reflection
- xRR_Reflect_Y :: Reflection
- xRR_Rotate_0 :: Rotation
- xRR_Rotate_180 :: Rotation
- xRR_Rotate_270 :: Rotation
- xRR_Rotate_90 :: Rotation
- xRR_UnknownConnection :: Connection
- xyBitmap :: ImageFormat
- xyPixmap :: ImageFormat
- zPixmap :: ImageFormat
- aRC :: Atom
- aTOM :: Atom
- bITMAP :: Atom
- cAP_HEIGHT :: Atom
- cARDINAL :: Atom
- cOLORMAP :: Atom
- cOPYRIGHT :: Atom
- cURSOR :: Atom
- cUT_BUFFER0 :: Atom
- cUT_BUFFER1 :: Atom
- cUT_BUFFER2 :: Atom
- cUT_BUFFER3 :: Atom
- cUT_BUFFER4 :: Atom
- cUT_BUFFER5 :: Atom
- cUT_BUFFER6 :: Atom
- cUT_BUFFER7 :: Atom
- dRAWABLE :: Atom
- eND_SPACE :: Atom
- fAMILY_NAME :: Atom
- fONT :: Atom
- fONT_NAME :: Atom
- fULL_NAME :: Atom
- getAtomName :: Display -> Atom -> IO (Maybe String)
- getAtomNames :: Display -> [Atom] -> IO [String]
- iNTEGER :: Atom
- iTALIC_ANGLE :: Atom
- internAtom :: Display -> String -> Bool -> IO Atom
- lAST_PREDEFINED :: Atom
- mAX_SPACE :: Atom
- mIN_SPACE :: Atom
- nORM_SPACE :: Atom
- nOTICE :: Atom
- pIXMAP :: Atom
- pOINT :: Atom
- pOINT_SIZE :: Atom
- pRIMARY :: Atom
- qUAD_WIDTH :: Atom
- rECTANGLE :: Atom
- rESOLUTION :: Atom
- rESOURCE_MANAGER :: Atom
- rGB_BEST_MAP :: Atom
- rGB_BLUE_MAP :: Atom
- rGB_COLOR_MAP :: Atom
- rGB_DEFAULT_MAP :: Atom
- rGB_GRAY_MAP :: Atom
- rGB_GREEN_MAP :: Atom
- rGB_RED_MAP :: Atom
- sECONDARY :: Atom
- sTRIKEOUT_ASCENT :: Atom
- sTRIKEOUT_DESCENT :: Atom
- sTRING :: Atom
- sUBSCRIPT_X :: Atom
- sUBSCRIPT_Y :: Atom
- sUPERSCRIPT_X :: Atom
- sUPERSCRIPT_Y :: Atom
- uNDERLINE_POSITION :: Atom
- uNDERLINE_THICKNESS :: Atom
- vISUALID :: Atom
- wEIGHT :: Atom
- wINDOW :: Atom
- wM_CLASS :: Atom
- wM_CLIENT_MACHINE :: Atom
- wM_COMMAND :: Atom
- wM_HINTS :: Atom
- wM_ICON_NAME :: Atom
- wM_ICON_SIZE :: Atom
- wM_NAME :: Atom
- wM_NORMAL_HINTS :: Atom
- wM_SIZE_HINTS :: Atom
- wM_TRANSIENT_FOR :: Atom
- wM_ZOOM_HINTS :: Atom
- x_HEIGHT :: Atom
- allocColor :: Display -> Colormap -> Color -> IO Color
- allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color)
- copyColormapAndFree :: Display -> Colormap -> IO Colormap
- createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap
- freeColormap :: Display -> Colormap -> IO ()
- freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO ()
- installColormap :: Display -> Colormap -> IO ()
- lookupColor :: Display -> Colormap -> String -> IO (Color, Color)
- parseColor :: Display -> Colormap -> String -> IO Color
- queryColor :: Display -> Colormap -> Color -> IO Color
- queryColors :: Display -> Colormap -> [Color] -> IO [Color]
- storeColor :: Display -> Colormap -> Color -> IO ()
- uninstallColormap :: Display -> Colormap -> IO ()
- copyGC :: Display -> GC -> Mask -> GC -> IO ()
- createGC :: Display -> Drawable -> IO GC
- flushGC :: Display -> GC -> IO ()
- freeGC :: Display -> GC -> IO ()
- gContextFromGC :: GC -> GContext
- setArcMode :: Display -> GC -> ArcMode -> IO ()
- setBackground :: Display -> GC -> Pixel -> IO ()
- setClipMask :: Display -> GC -> Pixmap -> IO ()
- setClipOrigin :: Display -> GC -> Position -> Position -> IO ()
- setDashes :: Display -> GC -> CInt -> String -> CInt -> IO ()
- setFillRule :: Display -> GC -> FillRule -> IO ()
- setFillStyle :: Display -> GC -> FillStyle -> IO ()
- setFont :: Display -> GC -> Font -> IO ()
- setForeground :: Display -> GC -> Pixel -> IO ()
- setFunction :: Display -> GC -> GXFunction -> IO ()
- setGraphicsExposures :: Display -> GC -> Bool -> IO ()
- setLineAttributes :: Display -> GC -> CInt -> LineStyle -> CapStyle -> JoinStyle -> IO ()
- setPlaneMask :: Display -> GC -> Pixel -> IO ()
- setState :: Display -> GC -> Pixel -> Pixel -> GXFunction -> Pixel -> IO ()
- setStipple :: Display -> GC -> Pixmap -> IO ()
- setSubwindowMode :: Display -> GC -> SubWindowMode -> IO ()
- setTSOrigin :: Display -> GC -> Position -> Position -> IO ()
- setTile :: Display -> GC -> Pixmap -> IO ()
- xC_X_cursor :: Glyph
- xC_arrow :: Glyph
- xC_based_arrow_down :: Glyph
- xC_based_arrow_up :: Glyph
- xC_boat :: Glyph
- xC_bogosity :: Glyph
- xC_bottom_left_corner :: Glyph
- xC_bottom_right_corner :: Glyph
- xC_bottom_side :: Glyph
- xC_bottom_tee :: Glyph
- xC_box_spiral :: Glyph
- xC_center_ptr :: Glyph
- xC_circle :: Glyph
- xC_clock :: Glyph
- xC_coffee_mug :: Glyph
- xC_cross :: Glyph
- xC_cross_reverse :: Glyph
- xC_crosshair :: Glyph
- xC_diamond_cross :: Glyph
- xC_dot :: Glyph
- xC_dotbox :: Glyph
- xC_double_arrow :: Glyph
- xC_draft_large :: Glyph
- xC_draft_small :: Glyph
- xC_draped_box :: Glyph
- xC_exchange :: Glyph
- xC_fleur :: Glyph
- xC_gobbler :: Glyph
- xC_gumby :: Glyph
- xC_hand1 :: Glyph
- xC_hand2 :: Glyph
- xC_heart :: Glyph
- xC_icon :: Glyph
- xC_iron_cross :: Glyph
- xC_left_ptr :: Glyph
- xC_left_side :: Glyph
- xC_left_tee :: Glyph
- xC_leftbutton :: Glyph
- xC_ll_angle :: Glyph
- xC_lr_angle :: Glyph
- xC_man :: Glyph
- xC_mouse :: Glyph
- xC_pencil :: Glyph
- xC_pirate :: Glyph
- xC_plus :: Glyph
- xC_question_arrow :: Glyph
- xC_right_ptr :: Glyph
- xC_right_side :: Glyph
- xC_right_tee :: Glyph
- xC_rightbutton :: Glyph
- xC_rtl_logo :: Glyph
- xC_sailboat :: Glyph
- xC_sb_down_arrow :: Glyph
- xC_sb_h_double_arrow :: Glyph
- xC_sb_left_arrow :: Glyph
- xC_sb_right_arrow :: Glyph
- xC_sb_up_arrow :: Glyph
- xC_sb_v_double_arrow :: Glyph
- xC_shuttle :: Glyph
- xC_sizing :: Glyph
- xC_spider :: Glyph
- xC_spraycan :: Glyph
- xC_star :: Glyph
- xC_target :: Glyph
- xC_tcross :: Glyph
- xC_top_left_arrow :: Glyph
- xC_top_left_corner :: Glyph
- xC_top_right_corner :: Glyph
- xC_top_side :: Glyph
- xC_top_tee :: Glyph
- xC_trek :: Glyph
- xC_ul_angle :: Glyph
- xC_umbrella :: Glyph
- xC_ur_angle :: Glyph
- xC_watch :: Glyph
- xC_xterm :: Glyph
- allPlanes_aux :: Pixel
- blackPixel :: Display -> ScreenNumber -> Pixel
- closeDisplay :: Display -> IO ()
- connectionNumber :: Display -> CInt
- defaultColormap :: Display -> ScreenNumber -> Colormap
- defaultDepth :: Display -> ScreenNumber -> CInt
- defaultGC :: Display -> ScreenNumber -> GC
- defaultRootWindow :: Display -> Window
- defaultScreen :: Display -> ScreenNumber
- defaultScreenOfDisplay :: Display -> Screen
- defaultVisual :: Display -> ScreenNumber -> Visual
- displayCells :: Display -> ScreenNumber -> CInt
- displayHeight :: Display -> ScreenNumber -> CInt
- displayHeightMM :: Display -> ScreenNumber -> CInt
- displayMotionBufferSize :: Display -> CInt
- displayPlanes :: Display -> ScreenNumber -> CInt
- displayString :: Display -> String
- displayWidth :: Display -> ScreenNumber -> CInt
- displayWidthMM :: Display -> ScreenNumber -> CInt
- imageByteOrder :: Display -> CInt
- maxRequestSize :: Display -> CInt
- noOp :: Display -> IO ()
- openDisplay :: String -> IO Display
- protocolRevision :: Display -> CInt
- protocolVersion :: Display -> CInt
- qLength :: Display -> IO CInt
- resourceManagerString :: Display -> String
- rootWindow :: Display -> ScreenNumber -> IO Window
- screenCount :: Display -> CInt
- screenOfDisplay :: Display -> ScreenNumber -> Screen
- screenResourceString :: Screen -> String
- serverVendor :: Display -> String
- whitePixel :: Display -> ScreenNumber -> Pixel
- allocaXEvent :: (XEventPtr -> IO a) -> IO a
- allowEvents :: Display -> AllowEvents -> Time -> IO ()
- asKeyEvent :: XEventPtr -> XKeyEventPtr
- checkMaskEvent :: Display -> EventMask -> XEventPtr -> IO Bool
- checkTypedEvent :: Display -> EventType -> XEventPtr -> IO Bool
- checkTypedWindowEvent :: Display -> Window -> EventType -> XEventPtr -> IO Bool
- checkWindowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO Bool
- eventsQueued :: Display -> QueuedMode -> IO CInt
- flush :: Display -> IO ()
- get_ButtonEvent :: XEventPtr -> IO XButtonEvent
- get_ConfigureEvent :: XEventPtr -> IO XConfigureEvent
- get_EventType :: XEventPtr -> IO EventType
- get_ExposeEvent :: XEventPtr -> IO XExposeEvent
- get_KeyEvent :: XEventPtr -> IO XKeyEvent
- get_MotionEvent :: XEventPtr -> IO XMotionEvent
- get_Window :: XEventPtr -> IO Window
- gettimeofday_in_milliseconds :: IO Integer
- maskEvent :: Display -> EventMask -> XEventPtr -> IO ()
- nextEvent :: Display -> XEventPtr -> IO ()
- peekEvent :: Display -> XEventPtr -> IO ()
- pending :: Display -> IO CInt
- putBackEvent :: Display -> XEventPtr -> IO ()
- queuedAfterFlush :: QueuedMode
- queuedAfterReading :: QueuedMode
- queuedAlready :: QueuedMode
- selectInput :: Display -> Window -> EventMask -> IO ()
- sendEvent :: Display -> Window -> Bool -> EventMask -> XEventPtr -> IO ()
- sync :: Display -> Bool -> IO ()
- waitForEvent :: Display -> Word32 -> IO Bool
- windowEvent :: Display -> Window -> EventMask -> XEventPtr -> IO ()
- _xSetErrorHandler :: FunPtr CXErrorHandler -> IO (FunPtr CXErrorHandler)
- allHintsBitmask :: CLong
- anyButton :: Button
- anyKey :: KeyCode
- anyPropertyType :: Atom
- changeProperty16 :: Display -> Window -> Atom -> Atom -> CInt -> [CShort] -> IO ()
- changeProperty32 :: Display -> Window -> Atom -> Atom -> CInt -> [CLong] -> IO ()
- changeProperty8 :: Display -> Window -> Atom -> Atom -> CInt -> [CChar] -> IO ()
- changeWindowAttributes :: Display -> Window -> AttributeMask -> Ptr SetWindowAttributes -> IO ()
- configureWindow :: Display -> Window -> CULong -> WindowChanges -> IO ()
- createFontSet :: Display -> String -> IO ([String], String, FontSet)
- currentTime :: Time
- deleteProperty :: Display -> Window -> Atom -> IO ()
- eventName :: Event -> String
- eventTable :: [(EventType, String)]
- fetchName :: Display -> Window -> IO (Maybe String)
- freeFontSet :: Display -> FontSet -> IO ()
- freeStringList :: Ptr CString -> IO ()
- getClassHint :: Display -> Window -> IO ClassHint
- getCommand :: Display -> Window -> IO [String]
- getErrorEvent :: XErrorEventPtr -> IO ErrorEvent
- getEvent :: XEventPtr -> IO Event
- getModifierMapping :: Display -> IO [(Modifier, [KeyCode])]
- getTextProperty :: Display -> Window -> Atom -> IO TextProperty
- getTransientForHint :: Display -> Window -> IO (Maybe Window)
- getWMHints :: Display -> Window -> IO WMHints
- getWMNormalHints :: Display -> Window -> IO SizeHints
- getWMProtocols :: Display -> Window -> IO [Atom]
- getWindowAttributes :: Display -> Window -> IO WindowAttributes
- getWindowProperty16 :: Display -> Atom -> Window -> IO (Maybe [CShort])
- getWindowProperty32 :: Display -> Atom -> Window -> IO (Maybe [CLong])
- getWindowProperty8 :: Display -> Atom -> Window -> IO (Maybe [CChar])
- getXErrorHandler :: FunPtr CXErrorHandler -> CXErrorHandler
- iconMaskHintBit :: Int
- iconPixmapHintBit :: Int
- iconPositionHintBit :: Int
- iconWindowHintBit :: Int
- iconicState :: Int
- inputHintBit :: Int
- isCursorKey :: KeySym -> Bool
- isFunctionKey :: KeySym -> Bool
- isKeypadKey :: KeySym -> Bool
- isMiscFunctionKey :: KeySym -> Bool
- isModifierKey :: KeySym -> Bool
- isPFKey :: KeySym -> Bool
- isPrivateKeypadKey :: KeySym -> Bool
- killClient :: Display -> Window -> IO CInt
- mapRaised :: Display -> Window -> IO CInt
- mkXErrorHandler :: CXErrorHandler -> IO (FunPtr CXErrorHandler)
- none :: XID
- normalState :: Int
- pAspectBit :: Int
- pBaseSizeBit :: Int
- pMaxSizeBit :: Int
- pMinSizeBit :: Int
- pResizeIncBit :: Int
- pWinGravityBit :: Int
- propModeAppend :: CInt
- propModePrepend :: CInt
- propModeReplace :: CInt
- queryTree :: Display -> Window -> IO (Window, Window, [Window])
- rawGetWindowProperty :: Storable a => Int -> Display -> Atom -> Window -> IO (Maybe [a])
- refreshKeyboardMapping :: Event -> IO ()
- setClassHint :: Display -> Window -> ClassHint -> IO ()
- setClientMessageEvent :: XEventPtr -> Window -> Atom -> CInt -> Atom -> Time -> IO ()
- setClientMessageEvent' :: XEventPtr -> Window -> Atom -> CInt -> [CInt] -> IO ()
- setConfigureEvent :: XEventPtr -> Window -> Window -> CInt -> CInt -> CInt -> CInt -> CInt -> Window -> Bool -> IO ()
- setErrorHandler :: XErrorHandler -> IO ()
- setEventType :: XEventPtr -> EventType -> IO ()
- setKeyEvent :: XEventPtr -> Window -> Window -> Window -> KeyMask -> KeyCode -> Bool -> IO ()
- setSelectionNotify :: XEventPtr -> Window -> Atom -> Atom -> Atom -> Time -> IO ()
- setWMHints :: Display -> Window -> WMHints -> IO Status
- stateHintBit :: Int
- unmapWindow :: Display -> Window -> IO ()
- urgencyHintBit :: Int
- waIsUnmapped :: CInt
- waIsUnviewable :: CInt
- waIsViewable :: CInt
- wcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO ()
- wcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO ()
- wcFreeStringList :: Ptr CWString -> IO ()
- wcTextEscapement :: FontSet -> String -> Int32
- wcTextExtents :: FontSet -> String -> (Rectangle, Rectangle)
- wcTextPropertyToTextList :: Display -> TextProperty -> IO [String]
- windowGroupHintBit :: Int
- withServer :: Display -> IO () -> IO ()
- withdrawnState :: Int
- xAllocWMHints :: IO (Ptr WMHints)
- xChangeProperty :: Display -> Window -> Atom -> Atom -> CInt -> CInt -> Ptr CUChar -> CInt -> IO Status
- xConfigureWindow :: Display -> Window -> CULong -> Ptr WindowChanges -> IO CInt
- xConvertSelection :: Display -> Atom -> Atom -> Atom -> Window -> Time -> IO ()
- xCreateFontSet :: Display -> CString -> Ptr (Ptr CString) -> Ptr CInt -> Ptr CString -> IO (Ptr FontSet)
- xDeleteProperty :: Display -> Window -> Atom -> IO Status
- xFetchName :: Display -> Window -> Ptr CString -> IO Status
- xFreeModifiermap :: Ptr () -> IO (Ptr CInt)
- xGetClassHint :: Display -> Window -> Ptr ClassHint -> IO Status
- xGetCommand :: Display -> Window -> Ptr (Ptr CWString) -> Ptr CInt -> IO Status
- xGetModifierMapping :: Display -> IO (Ptr ())
- xGetSelectionOwner :: Display -> Atom -> IO Window
- xGetTextProperty :: Display -> Window -> Ptr TextProperty -> Atom -> IO Status
- xGetTransientForHint :: Display -> Window -> Ptr Window -> IO Status
- xGetWMHints :: Display -> Window -> IO (Ptr WMHints)
- xGetWMNormalHints :: Display -> Window -> Ptr SizeHints -> Ptr CLong -> IO Status
- xGetWMProtocols :: Display -> Window -> Ptr (Ptr Atom) -> Ptr CInt -> IO Status
- xGetWindowAttributes :: Display -> Window -> Ptr WindowAttributes -> IO Status
- xGetWindowProperty :: Display -> Window -> Atom -> CLong -> CLong -> Bool -> Atom -> Ptr Atom -> Ptr CInt -> Ptr CULong -> Ptr CULong -> Ptr (Ptr CUChar) -> IO Status
- xQueryTree :: Display -> Window -> Ptr Window -> Ptr Window -> Ptr (Ptr Window) -> Ptr CInt -> IO Status
- xRefreshKeyboardMapping :: Ptr () -> IO CInt
- xSetClassHint :: Display -> Window -> Ptr ClassHint -> IO ()
- xSetErrorHandler :: IO ()
- xSetSelectionOwner :: Display -> Atom -> Window -> Time -> IO ()
- xSetWMHints :: Display -> Window -> Ptr WMHints -> IO Status
- xUnmapWindow :: Display -> Window -> IO CInt
- xwcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO ()
- xwcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO ()
- xwcTextEscapement :: FontSet -> CWString -> CInt -> IO Int32
- xwcTextExtents :: FontSet -> CWString -> CInt -> Ptr Rectangle -> Ptr Rectangle -> IO CInt
- xwcTextPropertyToTextList :: Display -> Ptr TextProperty -> Ptr (Ptr CWString) -> Ptr CInt -> IO CInt
- ascentFromFontStruct :: FontStruct -> Int32
- descentFromFontStruct :: FontStruct -> Int32
- fontFromFontStruct :: FontStruct -> Font
- fontFromGC :: Display -> GC -> IO Font
- freeFont :: Display -> FontStruct -> IO ()
- loadQueryFont :: Display -> String -> IO FontStruct
- queryFont :: Display -> Font -> IO FontStruct
- textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct)
- textWidth :: FontStruct -> String -> Int32
- createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image
- destroyImage :: Image -> IO ()
- getImage :: Display -> Drawable -> CInt -> CInt -> CUInt -> CUInt -> CULong -> ImageFormat -> IO Image
- getPixel :: Image -> CInt -> CInt -> CULong
- putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO ()
- xGetPixel :: Image -> CInt -> CInt -> IO CULong
- xFree :: Ptr a -> IO CInt
- activateScreenSaver :: Display -> IO ()
- allocaSetWindowAttributes :: (Ptr SetWindowAttributes -> IO a) -> IO a
- allowExposures :: AllowExposuresMode
- autoRepeatOff :: Display -> IO ()
- autoRepeatOn :: Display -> IO ()
- bell :: Display -> CInt -> IO ()
- bitmapBitOrder :: Display -> ByteOrder
- bitmapPad :: Display -> CInt
- bitmapUnit :: Display -> CInt
- copyArea :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO ()
- copyPlane :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> Pixel -> IO ()
- createFontCursor :: Display -> Glyph -> IO Cursor
- createGlyphCursor :: Display -> Font -> Font -> Glyph -> Glyph -> Color -> Color -> IO Cursor
- createPixmap :: Display -> Drawable -> Dimension -> Dimension -> CInt -> IO Pixmap
- createPixmapCursor :: Display -> Pixmap -> Pixmap -> Color -> Color -> Dimension -> Dimension -> IO Cursor
- defaultBlanking :: PreferBlankingMode
- defaultExposures :: AllowExposuresMode
- defineCursor :: Display -> Window -> Cursor -> IO ()
- displayKeycodes :: Display -> (CInt, CInt)
- displayName :: String -> String
- dontAllowExposures :: AllowExposuresMode
- dontPreferBlanking :: PreferBlankingMode
- drawArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO ()
- drawArcs :: Display -> Drawable -> GC -> [Arc] -> IO ()
- drawImageString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO ()
- drawLine :: Display -> Drawable -> GC -> Position -> Position -> Position -> Position -> IO ()
- drawLines :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO ()
- drawPoint :: Display -> Drawable -> GC -> Position -> Position -> IO ()
- drawPoints :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO ()
- drawRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO ()
- drawRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO ()
- drawSegments :: Display -> Drawable -> GC -> [Segment] -> IO ()
- drawString :: Display -> Drawable -> GC -> Position -> Position -> String -> IO ()
- fetchBuffer :: Display -> CInt -> IO String
- fetchBytes :: Display -> IO String
- fillArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO ()
- fillArcs :: Display -> Drawable -> GC -> [Arc] -> IO ()
- fillPolygon :: Display -> Drawable -> GC -> [Point] -> PolygonShape -> CoordinateMode -> IO ()
- fillRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO ()
- fillRectangles :: Display -> Drawable -> GC -> [Rectangle] -> IO ()
- forceScreenSaver :: Display -> ScreenSaverMode -> IO ()
- freeCursor :: Display -> Font -> IO ()
- freePixmap :: Display -> Pixmap -> IO ()
- geometry :: Display -> CInt -> String -> String -> Dimension -> Dimension -> Dimension -> CInt -> CInt -> IO (CInt, Position, Position, Dimension, Dimension)
- getGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt)
- getIconName :: Display -> Window -> IO String
- getInputFocus :: Display -> IO (Window, FocusMode)
- getPointerControl :: Display -> IO (CInt, CInt, CInt)
- getScreenSaver :: Display -> IO (CInt, CInt, PreferBlankingMode, AllowExposuresMode)
- getVisualInfo :: Display -> VisualInfoMask -> VisualInfo -> IO [VisualInfo]
- grabButton :: Display -> Button -> ButtonMask -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> IO ()
- grabKey :: Display -> KeyCode -> KeyMask -> Window -> Bool -> GrabMode -> GrabMode -> IO ()
- grabKeyboard :: Display -> Window -> Bool -> GrabMode -> GrabMode -> Time -> IO GrabStatus
- grabPointer :: Display -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> Time -> IO GrabStatus
- grabServer :: Display -> IO ()
- initThreads :: IO Status
- keycodeToKeysym :: Display -> KeyCode -> CInt -> IO KeySym
- keysymToKeycode :: Display -> KeySym -> IO KeyCode
- keysymToString :: KeySym -> String
- lastKnownRequestProcessed :: Display -> IO CInt
- lockDisplay :: Display -> IO ()
- lookupKeysym :: XKeyEventPtr -> CInt -> IO KeySym
- lookupString :: XKeyEventPtr -> IO (Maybe KeySym, String)
- matchVisualInfo :: Display -> ScreenNumber -> CInt -> CInt -> IO (Maybe VisualInfo)
- noSymbol :: KeySym
- preferBlanking :: PreferBlankingMode
- queryBestCursor :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryBestSize :: Display -> QueryBestSizeClass -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryBestStipple :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryBestTile :: Display -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension)
- queryPointer :: Display -> Window -> IO (Bool, Window, Window, CInt, CInt, CInt, CInt, Modifier)
- readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt))
- recolorCursor :: Display -> Cursor -> Color -> Color -> IO ()
- resetScreenSaver :: Display -> IO ()
- rmInitialize :: IO ()
- rotateBuffers :: Display -> CInt -> IO ()
- screenSaverActive :: ScreenSaverMode
- screenSaverReset :: ScreenSaverMode
- setCloseDownMode :: Display -> CloseDownMode -> IO ()
- setDefaultErrorHandler :: IO ()
- setIconName :: Display -> Window -> String -> IO ()
- setInputFocus :: Display -> Window -> FocusMode -> Time -> IO ()
- setLocaleModifiers :: String -> IO String
- setScreenSaver :: Display -> CInt -> CInt -> PreferBlankingMode -> AllowExposuresMode -> IO ()
- setTextProperty :: Display -> Window -> String -> Atom -> IO ()
- setWMProtocols :: Display -> Window -> [Atom] -> IO ()
- set_background_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_background_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO ()
- set_backing_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_backing_planes :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_backing_store :: Ptr SetWindowAttributes -> BackingStore -> IO ()
- set_bit_gravity :: Ptr SetWindowAttributes -> BitGravity -> IO ()
- set_border_pixel :: Ptr SetWindowAttributes -> Pixel -> IO ()
- set_border_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO ()
- set_colormap :: Ptr SetWindowAttributes -> Colormap -> IO ()
- set_cursor :: Ptr SetWindowAttributes -> Cursor -> IO ()
- set_do_not_propagate_mask :: Ptr SetWindowAttributes -> EventMask -> IO ()
- set_event_mask :: Ptr SetWindowAttributes -> EventMask -> IO ()
- set_override_redirect :: Ptr SetWindowAttributes -> Bool -> IO ()
- set_save_under :: Ptr SetWindowAttributes -> Bool -> IO ()
- set_win_gravity :: Ptr SetWindowAttributes -> WindowGravity -> IO ()
- storeBuffer :: Display -> String -> CInt -> IO ()
- storeBytes :: Display -> String -> IO ()
- stringToKeysym :: String -> KeySym
- supportsLocale :: IO Bool
- undefineCursor :: Display -> Window -> IO ()
- ungrabButton :: Display -> Button -> ButtonMask -> Window -> IO ()
- ungrabKey :: Display -> KeyCode -> KeyMask -> Window -> IO ()
- ungrabKeyboard :: Display -> Time -> IO ()
- ungrabPointer :: Display -> Time -> IO ()
- ungrabServer :: Display -> IO ()
- unlockDisplay :: Display -> IO ()
- visualAllMask :: VisualInfoMask
- visualBitsPerRGBMask :: VisualInfoMask
- visualBlueMaskMask :: VisualInfoMask
- visualClassMask :: VisualInfoMask
- visualColormapSizeMask :: VisualInfoMask
- visualDepthMask :: VisualInfoMask
- visualGreenMaskMask :: VisualInfoMask
- visualIDFromVisual :: Visual -> IO VisualID
- visualIDMask :: VisualInfoMask
- visualNoMask :: VisualInfoMask
- visualRedMaskMask :: VisualInfoMask
- visualScreenMask :: VisualInfoMask
- warpPointer :: Display -> Window -> Window -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO ()
- clipBox :: Region -> IO (Rectangle, CInt)
- createRegion :: IO Region
- emptyRegion :: Region -> IO Bool
- equalRegion :: Region -> Region -> IO Bool
- intersectRegion :: Region -> Region -> Region -> IO CInt
- offsetRegion :: Region -> Point -> IO CInt
- pointInRegion :: Region -> Point -> IO Bool
- polygonRegion :: [Point] -> FillRule -> IO Region
- rectInRegion :: Region -> Rectangle -> IO RectInRegionResult
- rectangleIn :: RectInRegionResult
- rectangleOut :: RectInRegionResult
- rectanglePart :: RectInRegionResult
- setRegion :: Display -> GC -> Region -> IO CInt
- shrinkRegion :: Region -> Point -> IO CInt
- subtractRegion :: Region -> Region -> Region -> IO CInt
- unionRectWithRegion :: Rectangle -> Region -> Region -> IO CInt
- unionRegion :: Region -> Region -> Region -> IO CInt
- xorRegion :: Region -> Region -> Region -> IO CInt
- blackPixelOfScreen :: Screen -> Pixel
- cellsOfScreen :: Screen -> CInt
- defaultColormapOfScreen :: Screen -> Colormap
- defaultDepthOfScreen :: Screen -> CInt
- defaultGCOfScreen :: Screen -> GC
- defaultVisualOfScreen :: Screen -> Visual
- displayOfScreen :: Screen -> Display
- doesBackingStore :: Screen -> Bool
- doesSaveUnders :: Screen -> Bool
- eventMaskOfScreen :: Screen -> EventMask
- heightMMOfScreen :: Screen -> Dimension
- heightOfScreen :: Screen -> Dimension
- maxCmapsOfScreen :: Screen -> CInt
- minCmapsOfScreen :: Screen -> CInt
- planesOfScreen :: Screen -> CInt
- rootWindowOfScreen :: Screen -> Window
- screenNumberOfScreen :: Screen -> ScreenNumber
- whitePixelOfScreen :: Screen -> Pixel
- widthMMOfScreen :: Screen -> Dimension
- widthOfScreen :: Screen -> Dimension
- addToSaveSet :: Display -> Window -> IO ()
- changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO ()
- circulateSubwindows :: Display -> Window -> CirculationDirection -> IO ()
- circulateSubwindowsDown :: Display -> Window -> IO ()
- circulateSubwindowsUp :: Display -> Window -> IO ()
- clearArea :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> Bool -> IO ()
- clearWindow :: Display -> Window -> IO ()
- createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window
- createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window
- destroySubwindows :: Display -> Window -> IO ()
- destroyWindow :: Display -> Window -> IO ()
- iconifyWindow :: Display -> Window -> ScreenNumber -> IO ()
- lowerWindow :: Display -> Window -> IO ()
- mapSubwindows :: Display -> Window -> IO ()
- mapWindow :: Display -> Window -> IO ()
- moveResizeWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> IO ()
- moveWindow :: Display -> Window -> Position -> Position -> IO ()
- raiseWindow :: Display -> Window -> IO ()
- removeFromSaveSet :: Display -> Window -> IO ()
- reparentWindow :: Display -> Window -> Window -> Position -> Position -> IO ()
- resizeWindow :: Display -> Window -> Dimension -> Dimension -> IO ()
- restackWindows :: Display -> [Window] -> IO ()
- setWindowBackground :: Display -> Window -> Pixel -> IO ()
- setWindowBackgroundPixmap :: Display -> Window -> Pixmap -> IO ()
- setWindowBorder :: Display -> Window -> Pixel -> IO ()
- setWindowBorderPixmap :: Display -> Window -> Pixmap -> IO ()
- setWindowBorderWidth :: Display -> Window -> Dimension -> IO ()
- setWindowColormap :: Display -> Window -> Colormap -> IO ()
- storeName :: Display -> Window -> String -> IO ()
- translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window)
- unmapSubwindows :: Display -> Window -> IO ()
- withdrawWindow :: Display -> Window -> ScreenNumber -> IO ()
- defaultConfig :: XConfig (Choose Tall (Choose (Mirror Tall) Full))
- atom_WM_DELETE_WINDOW :: X Atom
- atom_WM_PROTOCOLS :: X Atom
- atom_WM_STATE :: X Atom
- atom_WM_TAKE_FOCUS :: X Atom
- binFileName :: Directories -> FilePath
- catchIO :: MonadIO m => IO () -> m ()
- catchX :: X a -> X a -> X a
- fromMessage :: Message m => SomeMessage -> Maybe m
- getAtom :: String -> X Atom
- getDirectories :: IO Directories
- getXMonadCacheDir :: X String
- getXMonadDataDir :: X String
- getXMonadDir :: X String
- installSignalHandlers :: MonadIO m => m ()
- io :: MonadIO m => IO a -> m a
- isRoot :: Window -> X Bool
- readsLayout :: Layout a -> String -> [(Layout a, String)]
- recompile :: MonadIO m => Directories -> Bool -> m Bool
- runOnWorkspaces :: (WindowSpace -> X WindowSpace) -> X ()
- runQuery :: Query a -> Window -> X a
- runX :: XConf -> XState -> X a -> IO (a, XState)
- spawn :: MonadIO m => String -> m ()
- spawnPID :: MonadIO m => String -> m ProcessID
- stateFileName :: Directories -> FilePath
- trace :: MonadIO m => String -> m ()
- uninstallSignalHandlers :: MonadIO m => m ()
- userCode :: X a -> X (Maybe a)
- userCodeDef :: a -> X a -> X a
- whenJust :: Monad m => Maybe a -> (a -> m ()) -> m ()
- whenX :: X Bool -> X () -> X ()
- withDisplay :: (Display -> X a) -> X a
- withWindowAttributes :: Display -> Window -> (WindowAttributes -> X ()) -> X ()
- withWindowSet :: (WindowSet -> X a) -> X a
- xfork :: MonadIO m => IO () -> m ProcessID
- xmessage :: MonadIO m => String -> m ()
- mirrorRect :: Rectangle -> Rectangle
- splitHorizontally :: Int -> Rectangle -> [Rectangle]
- splitHorizontallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)
- splitVertically :: Int -> Rectangle -> [Rectangle]
- splitVerticallyBy :: RealFrac r => r -> Rectangle -> (Rectangle, Rectangle)
- tile :: Rational -> Rectangle -> Int -> Int -> [Rectangle]
- (|||) :: l a -> r a -> Choose l r a
- launch :: forall (l :: Type -> Type). (LayoutClass l Window, Read (l Window)) => XConfig l -> Directories -> IO ()
- (-->) :: (Monad m, Monoid a) => m Bool -> m a -> m a
- (<&&>) :: Monad m => m Bool -> m Bool -> m Bool
- (<+>) :: Monoid m => m -> m -> m
- (<||>) :: Monad m => m Bool -> m Bool -> m Bool
- (=?) :: Eq a => Query a -> a -> Query Bool
- appName :: Query String
- className :: Query String
- composeAll :: Monoid m => [m] -> m
- doF :: (s -> s) -> Query (Endo s)
- doFloat :: ManageHook
- doIgnore :: ManageHook
- doShift :: WorkspaceId -> ManageHook
- getStringProperty :: Display -> Window -> String -> X (Maybe String)
- idHook :: Monoid m => m
- ifM :: Monad m => m Bool -> m a -> m a -> m a
- liftX :: X a -> Query a
- resource :: Query String
- stringProperty :: String -> Query String
- title :: Query String
- willFloat :: Query Bool
- applyAspectHint :: (D, D) -> D -> D
- applyMaxSizeHint :: D -> D -> D
- applyResizeIncHint :: D -> D -> D
- applySizeHints :: Integral a => Dimension -> SizeHints -> (a, a) -> D
- applySizeHints' :: SizeHints -> D -> D
- applySizeHintsContents :: Integral a => SizeHints -> (a, a) -> D
- broadcastMessage :: Message a => a -> X ()
- cacheNumlockMask :: X ()
- cleanMask :: KeyMask -> X KeyMask
- clearEvents :: EventMask -> X ()
- containedIn :: Rectangle -> Rectangle -> Bool
- extraModifiers :: X [KeyMask]
- float :: Window -> X ()
- floatLocation :: Window -> X (ScreenId, RationalRect)
- focus :: Window -> X ()
- getCleanedScreenInfo :: MonadIO m => Display -> m [Rectangle]
- hide :: Window -> X ()
- initColor :: Display -> String -> IO (Maybe Pixel)
- isClient :: Window -> X Bool
- isFixedSizeOrTransient :: Display -> Window -> X Bool
- kill :: X ()
- killWindow :: Window -> X ()
- manage :: Window -> X ()
- mkAdjust :: Window -> X (D -> D)
- mkGrabs :: [(KeyMask, KeySym)] -> X [(KeyMask, KeyCode)]
- modifyWindowSet :: (WindowSet -> WindowSet) -> X ()
- mouseDrag :: (Position -> Position -> X ()) -> X () -> X ()
- mouseMoveWindow :: Window -> X ()
- mouseResizeWindow :: Window -> X ()
- nubScreens :: [Rectangle] -> [Rectangle]
- pointScreen :: Position -> Position -> X (Maybe (Screen WorkspaceId (Layout Window) Window ScreenId ScreenDetail))
- pointWithin :: Position -> Position -> Rectangle -> Bool
- readStateFile :: forall (l :: Type -> Type). (LayoutClass l Window, Read (l Window)) => XConfig l -> X (Maybe XState)
- refresh :: X ()
- rescreen :: X ()
- restart :: String -> Bool -> X ()
- reveal :: Window -> X ()
- scaleRationalRect :: Rectangle -> RationalRect -> Rectangle
- screenWorkspace :: ScreenId -> X (Maybe WorkspaceId)
- sendMessage :: Message a => a -> X ()
- sendMessageWithNoRefresh :: Message a => a -> WindowSpace -> X ()
- setButtonGrab :: Bool -> Window -> X ()
- setFocusX :: Window -> X ()
- setInitialProperties :: Window -> X ()
- setLayout :: Layout Window -> X ()
- setTopFocus :: X ()
- setWMState :: Window -> Int -> X ()
- setWindowBorderWithFallback :: Display -> Window -> String -> Pixel -> X ()
- tileWindow :: Window -> Rectangle -> X ()
- unmanage :: Window -> X ()
- updateLayout :: WorkspaceId -> Maybe (Layout Window) -> X ()
- windowBracket :: (a -> Bool) -> X a -> X a
- windowBracket_ :: X Any -> X ()
- windows :: (WindowSet -> WindowSet) -> X ()
- withFocused :: (Window -> X ()) -> X ()
- withUnfocused :: (Window -> X ()) -> X ()
- writeStateToFile :: X ()
- type AllowEvents = CInt
- type ArcMode = CInt
- type Atom = Word64
- type AttributeMask = Mask
- type BackingStore = CInt
- type BitGravity = CInt
- type Button = Word32
- type ButtonMask = Modifier
- type ByteOrder = CInt
- type CapStyle = CInt
- type ChangeSaveSetMode = CInt
- type CirculationDirection = CInt
- type CloseDownMode = CInt
- type Colormap = XID
- type ColormapAlloc = CInt
- type ColormapNotification = CInt
- type Connection = Word16
- type CoordinateMode = CInt
- type Cursor = XID
- type Drawable = XID
- type ErrorCode = CInt
- type EventMask = Mask
- type EventType = Word32
- type FillRule = CInt
- type FillStyle = CInt
- type FocusMode = CInt
- type Font = XID
- type FontDirection = CInt
- type GCMask = CInt
- type GContext = XID
- type GXFunction = CInt
- type GrabMode = CInt
- type GrabStatus = CInt
- type ImageFormat = CInt
- type JoinStyle = CInt
- type KeyCode = Word8
- type KeyMask = Modifier
- type KeySym = XID
- type LineStyle = CInt
- type MappingRequest = CInt
- type Mask = Word64
- type Modifier = CUInt
- type NotifyDetail = CInt
- type NotifyMode = CInt
- type Pixmap = XID
- type Place = CInt
- type PolygonShape = CInt
- type PropertyNotification = CInt
- type Protocol = CInt
- type QueryBestSizeClass = CInt
- type RRCrtc = Word64
- type RRMode = Word64
- type RROutput = Word64
- type Reflection = Word16
- type Rotation = Word16
- type SizeID = Word16
- type Status = CInt
- type SubWindowMode = CInt
- type SubpixelOrder = Word16
- type Time = Word64
- type Visibility = CInt
- type VisualID = Word64
- type Window = XID
- type WindowClass = CInt
- type WindowGravity = CInt
- type XID = Word64
- type XRRModeFlags = Word64
- type QueuedMode = CInt
- type XButtonEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, Button, Bool)
- type XConfigureEvent = (Position, Position, Dimension, Dimension)
- newtype XEvent = XEvent XEventPtr
- type XEventPtr = Ptr XEvent
- type XExposeEvent = (Position, Position, Dimension, Dimension, CInt)
- type XKeyEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, KeyCode, Bool)
- type XKeyEventPtr = Ptr XKeyEvent
- type XMappingEvent = (MappingRequest, KeyCode, CInt)
- type XMotionEvent = (Window, Window, Time, CInt, CInt, CInt, CInt, Modifier, NotifyMode, Bool)
- type CXErrorHandler = Display -> XErrorEventPtr -> IO CInt
- data ClassHint = ClassHint {}
- data ErrorEvent = ErrorEvent {
- ev_type :: !CInt
- ev_display :: Display
- ev_serialnum :: !CULong
- ev_error_code :: !CUChar
- ev_request_code :: !CUChar
- ev_minor_code :: !CUChar
- ev_resourceid :: !XID
- data Event
- = AnyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- | ConfigureRequestEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_parent :: !Window
- ev_window :: !Window
- ev_x :: !CInt
- ev_y :: !CInt
- ev_width :: !CInt
- ev_height :: !CInt
- ev_border_width :: !CInt
- ev_above :: !Window
- ev_detail :: !NotifyDetail
- ev_value_mask :: !CULong
- | ConfigureEvent { }
- | MapRequestEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_parent :: !Window
- ev_window :: !Window
- | KeyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_root :: !Window
- ev_subwindow :: !Window
- ev_time :: !Time
- ev_x :: !CInt
- ev_y :: !CInt
- ev_x_root :: !CInt
- ev_y_root :: !CInt
- ev_state :: !KeyMask
- ev_keycode :: !KeyCode
- ev_same_screen :: !Bool
- | ButtonEvent { }
- | MotionEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_x :: !CInt
- ev_y :: !CInt
- ev_window :: !Window
- | DestroyWindowEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_event :: !Window
- ev_window :: !Window
- | UnmapEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_event :: !Window
- ev_window :: !Window
- ev_from_configure :: !Bool
- | MapNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_event :: !Window
- ev_window :: !Window
- ev_override_redirect :: !Bool
- | MappingNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_request :: !MappingRequest
- ev_first_keycode :: !KeyCode
- ev_count :: !CInt
- | CrossingEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_root :: !Window
- ev_subwindow :: !Window
- ev_time :: !Time
- ev_x :: !CInt
- ev_y :: !CInt
- ev_x_root :: !CInt
- ev_y_root :: !CInt
- ev_mode :: !NotifyMode
- ev_detail :: !NotifyDetail
- ev_same_screen :: !Bool
- ev_focus :: !Bool
- ev_state :: !Modifier
- | SelectionRequest {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_owner :: !Window
- ev_requestor :: !Window
- ev_selection :: !Atom
- ev_target :: !Atom
- ev_property :: !Atom
- ev_time :: !Time
- | SelectionClear {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_selection :: !Atom
- ev_time :: !Time
- | PropertyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_atom :: !Atom
- ev_time :: !Time
- ev_propstate :: !CInt
- | ExposeEvent { }
- | ClientMessageEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_message_type :: !Atom
- ev_data :: ![CInt]
- | RRScreenChangeNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_root :: !Window
- ev_timestamp :: !Time
- ev_config_timestamp :: !Time
- ev_size_index :: !SizeID
- ev_subpixel_order :: !SubpixelOrder
- ev_rotation :: !Rotation
- ev_width :: !CInt
- ev_height :: !CInt
- ev_mwidth :: !CInt
- ev_mheight :: !CInt
- | RRNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- | RRCrtcChangeNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- ev_crtc :: !RRCrtc
- ev_rr_mode :: !RRMode
- ev_rotation :: !Rotation
- ev_x :: !CInt
- ev_y :: !CInt
- ev_rr_width :: !CUInt
- ev_rr_height :: !CUInt
- | RROutputChangeNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- ev_output :: !RROutput
- ev_crtc :: !RRCrtc
- ev_rr_mode :: !RRMode
- ev_rotation :: !Rotation
- ev_connection :: !Connection
- ev_subpixel_order :: !SubpixelOrder
- | RROutputPropertyNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- ev_output :: !RROutput
- ev_property :: !Atom
- ev_timestamp :: !Time
- ev_rr_state :: !CInt
- | ScreenSaverNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_root :: !Window
- ev_ss_state :: !XScreenSaverState
- ev_ss_kind :: !XScreenSaverKind
- ev_forced :: !Bool
- ev_time :: !Time
- = AnyEvent {
- newtype FontSet = FontSet (Ptr FontSet)
- data SizeHints = SizeHints {
- sh_min_size :: Maybe (Dimension, Dimension)
- sh_max_size :: Maybe (Dimension, Dimension)
- sh_resize_inc :: Maybe (Dimension, Dimension)
- sh_aspect :: Maybe ((Dimension, Dimension), (Dimension, Dimension))
- sh_base_size :: Maybe (Dimension, Dimension)
- sh_win_gravity :: Maybe BitGravity
- data TextProperty = TextProperty {}
- data WMHints = WMHints {}
- data WindowAttributes = WindowAttributes {}
- data WindowChanges = WindowChanges {
- wc_x :: CInt
- wc_y :: CInt
- wc_width :: CInt
- wc_height :: CInt
- wc_border_width :: CInt
- wc_sibling :: Window
- wc_stack_mode :: CInt
- type XErrorEventPtr = Ptr ()
- type XErrorHandler = Display -> XErrorEventPtr -> IO ()
- type CharStruct = (CInt, CInt, CInt, CInt, CInt)
- data FontStruct
- type Glyph = Word16
- type AllowExposuresMode = CInt
- type PreferBlankingMode = CInt
- type ScreenSaverMode = CInt
- type VisualInfoMask = CLong
- type RectInRegionResult = CInt
- data Region
- type Angle = CInt
- data Arc = Arc {
- arc_x :: Position
- arc_y :: Position
- arc_width :: Dimension
- arc_height :: Dimension
- arc_angle1 :: Angle
- arc_angle2 :: Angle
- type Buffer = CInt
- data Color = Color {
- color_pixel :: Pixel
- color_red :: Word16
- color_green :: Word16
- color_blue :: Word16
- color_flags :: Word8
- type Dimension = Word32
- newtype Display = Display (Ptr Display)
- data GC
- data Image
- type Pixel = Word64
- data Point = Point {}
- type Position = Int32
- data Rectangle = Rectangle {
- rect_x :: !Position
- rect_y :: !Position
- rect_width :: !Dimension
- rect_height :: !Dimension
- data Screen
- type ScreenNumber = Word32
- data Segment = Segment {}
- data SetWindowAttributes
- data Visual
- data VisualInfo = VisualInfo {}
- class Default a where
- def :: a
- data ConfExtension = Typeable a => ConfExtension a
- type Directories = Directories' FilePath
- data Directories' a = Directories {}
- class Typeable a => ExtensionClass a where
- initialValue :: a
- extensionType :: a -> StateExtension
- data Layout a = (LayoutClass l a, Read (l a)) => Layout (l a)
- class (Show (layout a), Typeable layout) => LayoutClass (layout :: Type -> Type) a where
- runLayout :: Workspace WorkspaceId (layout a) a -> Rectangle -> X ([(a, Rectangle)], Maybe (layout a))
- doLayout :: layout a -> Rectangle -> Stack a -> X ([(a, Rectangle)], Maybe (layout a))
- pureLayout :: layout a -> Rectangle -> Stack a -> [(a, Rectangle)]
- emptyLayout :: layout a -> Rectangle -> X ([(a, Rectangle)], Maybe (layout a))
- handleMessage :: layout a -> SomeMessage -> X (Maybe (layout a))
- pureMessage :: layout a -> SomeMessage -> Maybe (layout a)
- description :: layout a -> String
- data LayoutMessages
- type ManageHook = Query (Endo WindowSet)
- class Typeable a => Message a
- newtype Query a = Query (ReaderT Window X a)
- newtype ScreenDetail = SD {}
- newtype ScreenId = S Int
- data SomeMessage = Message a => SomeMessage a
- data StateExtension
- = ExtensionClass a => StateExtension a
- | (Read a, Show a, ExtensionClass a) => PersistentExtension a
- type WindowSet = StackSet WorkspaceId (Layout Window) Window ScreenId ScreenDetail
- type WindowSpace = Workspace WorkspaceId (Layout Window) Window
- type WorkspaceId = String
- data X a
- data XConf = XConf {
- display :: Display
- config :: !(XConfig Layout)
- theRoot :: !Window
- normalBorder :: !Pixel
- focusedBorder :: !Pixel
- keyActions :: !(Map (KeyMask, KeySym) (X ()))
- buttonActions :: !(Map (KeyMask, Button) (Window -> X ()))
- mouseFocused :: !Bool
- mousePosition :: !(Maybe (Position, Position))
- currentEvent :: !(Maybe Event)
- directories :: !Directories
- data XConfig (l :: Type -> Type) = XConfig !String !String !String !(l Window) !ManageHook !(Event -> X All) ![String] !KeyMask !(XConfig Layout -> Map (ButtonMask, KeySym) (X ())) !(XConfig Layout -> Map (ButtonMask, Button) (Window -> X ())) !Dimension !(X ()) !(X ()) !Bool !Bool !EventMask !EventMask !([String] -> XConfig Layout -> IO (XConfig Layout)) !(Map TypeRep ConfExtension)
- data XState = XState {}
- data CLR
- data ChangeLayout
- data Choose (l :: Type -> Type) (r :: Type -> Type) a = Choose CLR (l a) (r a)
- data Full a = Full
- newtype IncMasterN = IncMasterN Int
- newtype JumpToLayout = JumpToLayout String
- newtype Mirror (l :: Type -> Type) a = Mirror (l a)
- data Resize
- data Tall a = Tall {
- tallNMaster :: !Int
- tallRatioIncrement :: !Rational
- tallRatio :: !Rational
- type D = (Dimension, Dimension)
- data StateFile = StateFile {
- sfWins :: StackSet WorkspaceId String Window ScreenId ScreenDetail
- sfExt :: [(String, String)]
- (++) :: [a] -> [a] -> [a]
- seq :: forall {r :: RuntimeRep} a (b :: TYPE r). a -> b -> b
- filter :: (a -> Bool) -> [a] -> [a]
- zip :: [a] -> [b] -> [(a, b)]
- print :: Show a => a -> IO ()
- fst :: (a, b) -> a
- snd :: (a, b) -> b
- otherwise :: Bool
- map :: (a -> b) -> [a] -> [b]
- ($) :: forall (r :: RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b
- fromIntegral :: (Integral a, Num b) => a -> b
- realToFrac :: (Real a, Fractional b) => a -> b
- class Bounded a where
- class Enum a where
- succ :: a -> a
- pred :: a -> a
- toEnum :: Int -> a
- fromEnum :: a -> Int
- enumFrom :: a -> [a]
- enumFromThen :: a -> a -> [a]
- enumFromTo :: a -> a -> [a]
- enumFromThenTo :: a -> a -> a -> [a]
- class Eq a where
- class Fractional a => Floating a where
- class Num a => Fractional a where
- (/) :: a -> a -> a
- recip :: a -> a
- fromRational :: Rational -> a
- class (Real a, Enum a) => Integral a where
- class Applicative m => Monad (m :: Type -> Type) where
- class Functor (f :: Type -> Type) where
- class Num a where
- class Eq a => Ord a where
- class Read a where
- class (Num a, Ord a) => Real a where
- toRational :: a -> Rational
- class (RealFrac a, Floating a) => RealFloat a where
- floatRadix :: a -> Integer
- floatDigits :: a -> Int
- floatRange :: a -> (Int, Int)
- decodeFloat :: a -> (Integer, Int)
- encodeFloat :: Integer -> Int -> a
- exponent :: a -> Int
- significand :: a -> a
- scaleFloat :: Int -> a -> a
- isNaN :: a -> Bool
- isInfinite :: a -> Bool
- isDenormalized :: a -> Bool
- isNegativeZero :: a -> Bool
- isIEEE :: a -> Bool
- atan2 :: a -> a -> a
- class (Real a, Fractional a) => RealFrac a where
- class Show a where
- class Monad m => MonadFail (m :: Type -> Type) where
- class Functor f => Applicative (f :: Type -> Type) where
- class Foldable (t :: Type -> Type) where
- foldMap :: Monoid m => (a -> m) -> t a -> m
- foldr :: (a -> b -> b) -> b -> t a -> b
- foldl :: (b -> a -> b) -> b -> t a -> b
- foldr1 :: (a -> a -> a) -> t a -> a
- foldl1 :: (a -> a -> a) -> t a -> a
- null :: t a -> Bool
- length :: t a -> Int
- elem :: Eq a => a -> t a -> Bool
- maximum :: Ord a => t a -> a
- minimum :: Ord a => t a -> a
- sum :: Num a => t a -> a
- product :: Num a => t a -> a
- class (Functor t, Foldable t) => Traversable (t :: Type -> Type) where
- traverse :: Applicative f => (a -> f b) -> t a -> f (t b)
- sequenceA :: Applicative f => t (f a) -> f (t a)
- mapM :: Monad m => (a -> m b) -> t a -> m (t b)
- sequence :: Monad m => t (m a) -> m (t a)
- class Semigroup a where
- (<>) :: a -> a -> a
- class Semigroup a => Monoid a where
- data Bool
- type String = [Char]
- data Char
- data Double
- data Float
- data Int
- data Integer
- data Maybe a
- data Ordering
- type Rational = Ratio Integer
- data IO a
- data Word
- data Either a b
- writeFile :: FilePath -> String -> IO ()
- readLn :: Read a => IO a
- readIO :: Read a => String -> IO a
- readFile :: FilePath -> IO String
- putStrLn :: String -> IO ()
- putStr :: String -> IO ()
- putChar :: Char -> IO ()
- interact :: (String -> String) -> IO ()
- getLine :: IO String
- getContents :: IO String
- getChar :: IO Char
- appendFile :: FilePath -> String -> IO ()
- ioError :: IOError -> IO a
- type FilePath = String
- type IOError = IOException
- userError :: String -> IOError
- sequence_ :: (Foldable t, Monad m) => t (m a) -> m ()
- or :: Foldable t => t Bool -> Bool
- notElem :: (Foldable t, Eq a) => a -> t a -> Bool
- mapM_ :: (Foldable t, Monad m) => (a -> m b) -> t a -> m ()
- concatMap :: Foldable t => (a -> [b]) -> t a -> [b]
- concat :: Foldable t => t [a] -> [a]
- any :: Foldable t => (a -> Bool) -> t a -> Bool
- and :: Foldable t => t Bool -> Bool
- all :: Foldable t => (a -> Bool) -> t a -> Bool
- words :: String -> [String]
- unwords :: [String] -> String
- unlines :: [String] -> String
- lines :: String -> [String]
- reads :: Read a => ReadS a
- read :: Read a => String -> a
- either :: (a -> c) -> (b -> c) -> Either a b -> c
- readParen :: Bool -> ReadS a -> ReadS a
- lex :: ReadS String
- type ReadS a = String -> [(a, String)]
- odd :: Integral a => a -> Bool
- lcm :: Integral a => a -> a -> a
- gcd :: Integral a => a -> a -> a
- even :: Integral a => a -> Bool
- (^^) :: (Fractional a, Integral b) => a -> b -> a
- (^) :: (Num a, Integral b) => a -> b -> a
- type ShowS = String -> String
- shows :: Show a => a -> ShowS
- showString :: String -> ShowS
- showParen :: Bool -> ShowS -> ShowS
- showChar :: Char -> ShowS
- zipWith3 :: (a -> b -> c -> d) -> [a] -> [b] -> [c] -> [d]
- zipWith :: (a -> b -> c) -> [a] -> [b] -> [c]
- zip3 :: [a] -> [b] -> [c] -> [(a, b, c)]
- unzip3 :: [(a, b, c)] -> ([a], [b], [c])
- unzip :: [(a, b)] -> ([a], [b])
- takeWhile :: (a -> Bool) -> [a] -> [a]
- take :: Int -> [a] -> [a]
- tail :: [a] -> [a]
- splitAt :: Int -> [a] -> ([a], [a])
- span :: (a -> Bool) -> [a] -> ([a], [a])
- scanr1 :: (a -> a -> a) -> [a] -> [a]
- scanr :: (a -> b -> b) -> b -> [a] -> [b]
- scanl1 :: (a -> a -> a) -> [a] -> [a]
- scanl :: (b -> a -> b) -> b -> [a] -> [b]
- reverse :: [a] -> [a]
- replicate :: Int -> a -> [a]
- repeat :: a -> [a]
- lookup :: Eq a => a -> [(a, b)] -> Maybe b
- last :: [a] -> a
- iterate :: (a -> a) -> a -> [a]
- init :: [a] -> [a]
- head :: [a] -> a
- dropWhile :: (a -> Bool) -> [a] -> [a]
- drop :: Int -> [a] -> [a]
- cycle :: [a] -> [a]
- break :: (a -> Bool) -> [a] -> ([a], [a])
- (!!) :: [a] -> Int -> a
- maybe :: b -> (a -> b) -> Maybe a -> b
- (<$>) :: Functor f => (a -> b) -> f a -> f b
- uncurry :: (a -> b -> c) -> (a, b) -> c
- curry :: ((a, b) -> c) -> a -> b -> c
- subtract :: Num a => a -> a -> a
- until :: (a -> Bool) -> (a -> a) -> a -> a
- id :: a -> a
- flip :: (a -> b -> c) -> b -> a -> c
- const :: a -> b -> a
- asTypeOf :: a -> a -> a
- (=<<) :: Monad m => (a -> m b) -> m a -> m b
- (.) :: (b -> c) -> (a -> b) -> a -> c
- ($!) :: forall (r :: RuntimeRep) a (b :: TYPE r). (a -> b) -> a -> b
- undefined :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => a
- errorWithoutStackTrace :: forall (r :: RuntimeRep) (a :: TYPE r). [Char] -> a
- error :: forall (r :: RuntimeRep) (a :: TYPE r). HasCallStack => [Char] -> a
- (&&) :: Bool -> Bool -> Bool
- not :: Bool -> Bool
- (||) :: Bool -> Bool -> Bool
- type Prime l l' = Arr (XConfig l) (XConfig l')
- type Arr x y = x -> IO y
- (>>) :: Arr x y -> Arr y z -> Arr x z
- ifThenElse :: Bool -> a -> a -> a
Start here
To start with, create a ~/.xmonad/xmonad.hs
that looks like this:
{-# LANGUAGE RebindableSyntax #-} import XMonad.Config.Prime -- Imports go here. main = xmonad $ do nothing -- Configs go here.
This will give you a default xmonad install, with room to grow. The lines starting with double dashes are comments. You may delete them. Note that Haskell is a bit precise about indentation. Make sure all the statements in your do-block start at the same column, and make sure that any multi-line statements are formatted with a hanging indent. (For an example, see the 'keys =+' statement in the Example config section, below.)
After changing your config file, restart xmonad with mod-q (where, by default, "mod" == "alt").
xmonad :: (Default a, Read (l Window), LayoutClass l Window) => (a -> IO (XConfig l)) -> IO () Source #
This doesn't modify the config in any way. It's just here for your initial config because Haskell doesn't allow empty do-blocks. Feel free to delete it once you've added other stuff.
Attributes you can set
These are a bunch of attributes that you can set. Syntax looks like this:
terminal =: "urxvt"
Strings are double quoted, Dimensions are unquoted integers, booleans are
True
or False
(case-sensitive), and modMask
is usually mod1Mask
or
mod4Mask
.
normalBorderColor :: Settable String (XConfig l) Source #
Non-focused windows border color. Default: "#dddddd"
focusedBorderColor :: Settable String (XConfig l) Source #
Focused windows border color. Default: "#ff0000"
terminal :: Settable String (XConfig l) Source #
The preferred terminal application. Default: "xterm"
modMask :: Settable KeyMask (XConfig l) Source #
The mod modifier, as used by key bindings. Default: mod1Mask
(which is
probably alt on your computer).
borderWidth :: Settable Dimension (XConfig l) Source #
The border width (in pixels). Default: 1
focusFollowsMouse :: Settable Bool (XConfig l) Source #
Whether window focus follows the mouse cursor on move, or requires a mouse
click. (Mouse? What's that?) Default: True
clickJustFocuses :: Settable Bool (XConfig l) Source #
If True, a mouse click on an inactive window focuses it, but the click is
not passed to the window. If False, the click is also passed to the window.
Default True
class SettableClass s x y | s -> x y where Source #
Instances
UpdateableClass s x y => SettableClass s x y Source # | |
Defined in XMonad.Config.Prime |
class UpdateableClass s x y | s -> x y where Source #
Attributes you can add to
In addition to being able to set these attributes, they have a special
syntax for being able to add to them. The operator is =+
(the plus comes
after the equals), but each attribute has a different syntax for what
comes after the operator.
manageHook :: Summable ManageHook ManageHook (XConfig l) Source #
The action to run when a new window is opened. Default:
manageHook =: composeAll [className =? "MPlayer" --> doFloat, className =? "Gimp" --> doFloat]
To add more rules to this list, you can say, for instance:
import XMonad.StackSet ... manageHook =+ (className =? "Emacs" --> doF kill) manageHook =+ (className =? "Vim" --> doF shiftMaster)
Note that operator precedence mandates the parentheses here.
handleEventHook :: Summable (Event -> X All) (Event -> X All) (XConfig l) Source #
Custom X event handler. Return All True
if the default handler should
also be run afterwards. Default does nothing. To add an event handler:
import XMonad.Hooks.ServerMode ... handleEventHook =+ serverModeEventHook
workspaces :: Summable [String] [String] (XConfig l) Source #
List of workspaces' names. Default: map show [1 .. 9 :: Int]
. Adding
appends to the end:
workspaces =+ ["0"]
This is useless unless you also create keybindings for this.
logHook :: Summable (X ()) (X ()) (XConfig l) Source #
The action to perform when the windows set is changed. This happens
whenever focus change, a window is moved, etc. logHook =+
takes an X ()
and appends it via (>>)
. For instance:
import XMonad.Hooks.ICCCMFocus ... logHook =+ takeTopFocus
Note that if your expression is parametrically typed (e.g. of type
MonadIO m => m ()
), you'll need to explicitly annotate it, like so:
logHook =+ (io $ putStrLn "Hello, world!" :: X ())
startupHook :: Summable (X ()) (X ()) (XConfig l) Source #
The action to perform on startup. startupHook =+
takes an X ()
and
appends it via (>>)
. For instance:
import XMonad.Hooks.SetWMName ... startupHook =+ setWMName "LG3D"
Note that if your expression is parametrically typed (e.g. of type
MonadIO m => m ()
), you'll need to explicitly annotate it, as documented
in logHook
.
clientMask :: Summable EventMask EventMask (XConfig l) Source #
The client events that xmonad is interested in. This is useful in
combination with handleEventHook. Default: structureNotifyMask .|.
enterWindowMask .|. propertyChangeMask
clientMask =+ keyPressMask .|. keyReleaseMask
rootMask :: Summable EventMask EventMask (XConfig l) Source #
The root events that xmonad is interested in. This is useful in
combination with handleEventHook. Default: substructureRedirectMask .|.
substructureNotifyMask .|. enterWindowMask .|. leaveWindowMask .|.
structureNotifyMask .|. buttonPressMask
class SummableClass s y | s -> y where Source #
Attributes you can add to or remove from
The following support the the =+
for adding items and the =-
operator
for removing items.
mouseBindings :: MouseBindings (XConfig l) Source #
Mouse button bindings to an X
actions on a window. Default: see `man
xmonad`
. To make mod-scrollwheel switch workspaces:
import XMonad.Actions.CycleWS (nextWS, prevWS) ... mouseBindings =+ [((mod4Mask, button4), const prevWS), ((mod4Mask, button5), const nextWS)]
Note that you need to specify the numbered mod-mask e.g. mod4Mask
instead
of just modMask
.
class RemovableClass r y | r -> y where Source #
Modifying the list of workspaces
Workspaces can be configured through workspaces
, but then the keys
need
to be set, and this can be a bit laborious. withWorkspaces
provides a
convenient mechanism for common workspace updates.
withWorkspaces :: Arr WorkspaceConfig WorkspaceConfig -> Prime l l Source #
Configure workspaces through a Prime-like interface. Example:
withWorkspaces $ do wsKeys =+ ["0"] wsActions =+ [("M-M1-", windows . swapWithCurrent)] wsSetName 1 "mail"
This will set workspaces
and add the necessary keybindings to keys
. Note
that it won't remove old keybindings; it's just not that clever.
wsNames :: Settable [String] WorkspaceConfig Source #
The list of workspace names, like workspaces
but with two differences:
- If any entry is the empty string, it'll be replaced with the
corresponding entry in
wsKeys
. - The list is truncated to the size of
wsKeys
.
The default value is
.repeat
""
If you'd like to create workspaces without associated keyspecs, you can do
that afterwards, outside the withWorkspaces
block, with
.workspaces
=+
wsKeys :: Summable [String] [String] WorkspaceConfig Source #
The list of workspace keys. These are combined with the modifiers in
wsActions
to form the keybindings for navigating to workspaces. Default:
["1","2",...,"9"]
.
wsActions :: Summable [(String, String -> X ())] [(String, String -> X ())] WorkspaceConfig Source #
Mapping from key prefix to command. Its type is [(String, String ->
X())]
. The key prefix may be a modifier such as "M-"
, or a submap
prefix such as "M-a "
, or both, as in "M-a M-"
. The command is a
function that takes a workspace name and returns an X ()
. withWorkspaces
creates keybindings for the cartesian product of wsKeys
and wsActions
.
Default:
[("M-", windows . W.greedyView), ("M-S-", windows . W.shift)]
wsSetName :: Int -> String -> Arr WorkspaceConfig WorkspaceConfig Source #
A convenience for just modifying one entry in wsNames
, in case you only
want a few named workspaces. Example:
wsSetName 1 "mail" wsSetName 2 "web"
Modifying the screen keybindings
withScreens
provides a convenient mechanism to set keybindings for moving
between screens, much like withWorkspaces
.
withScreens :: Arr ScreenConfig ScreenConfig -> Prime l l Source #
Configure screen keys through a Prime-like interface:
withScreens $ do sKeys =: ["e", "r"]
This will add the necessary keybindings to keys
. Note that it won't remove
old keybindings; it's just not that clever.
sKeys :: Summable [String] [String] ScreenConfig Source #
The list of screen keys. These are combined with the modifiers in
sActions
to form the keybindings for navigating to workspaces. Default:
["w","e","r"]
.
sActions :: Summable [(String, ScreenId -> X ())] [(String, ScreenId -> X ())] ScreenConfig Source #
Mapping from key prefix to command. Its type is [(String, ScreenId ->
X())]
. Works the same as wsActions
except for a different function type.
Default:
[("M-", windows . onScreens W.view), ("M-S-", windows . onScreens W.shift)]
onScreens :: Eq s => (i -> StackSet i l a s sd -> StackSet i l a s sd) -> s -> StackSet i l a s sd -> StackSet i l a s sd Source #
Converts a stackset transformer parameterized on the workspace type into one
parameterized on the screen type. For example, you can use onScreens W.view
0
to navigate to the workspace on the 0th screen. If the screen id is not
recognized, the returned transformer acts as an identity function.
Modifying the layoutHook
Layouts are special. You can't modify them using the =:
or =.
operator.
You need to use the following functions.
addLayout :: (LayoutClass l Window, LayoutClass r Window) => r Window -> Prime l (Choose l r) Source #
Add a layout to the list of layouts choosable with mod-space. For instance:
import XMonad.Layout.Tabbed ... addLayout simpleTabbed
resetLayout :: LayoutClass r Window => r Window -> Prime l r Source #
Reset the layoutHook from scratch. For instance, to get rid of the wide layout:
resetLayout $ Tall 1 (3/100) (1/2) ||| Full
(The dollar is like an auto-closing parenthesis, so all the stuff to the right of it is treated like an argument to resetLayout.)
modifyLayout :: LayoutClass r Window => (l Window -> r Window) -> Prime l r Source #
Modify your layoutHook
with some wrapper function. You probably want to call
this after you're done calling addLayout
. Example:
import XMonad.Layout.NoBorders ... modifyLayout smartBorders
Updating the XConfig en masse
Finally, there are a few contrib modules that bundle multiple attribute updates together. There are three types: 1) wholesale replacements for the default config, 2) pure functions on the config, and 3) IO actions on the config. The syntax for each is different. Examples:
1) To start with a gnomeConfig
instead of the default,
we use startWith
:
import XMonad.Config.Gnome ... startWith gnomeConfig
2) withUrgencyHook
is a pure function, so we need
to use apply
:
import XMonad.Hooks.UrgencyHook ... apply $ withUrgencyHook dzenUrgencyHook
3) xmobar
returns an IO (XConfig l)
, so we need
to use applyIO
:
import XMonad.Hooks.DynamicLog ... applyIO xmobar
startWith :: XConfig l' -> Prime l l' Source #
Replace the current XConfig
with the given one. If you use this, you
probably want it to be the first line of your config.
The rest of the world
Everything you know and love from the core XMonad module is available for use in your config file, too.
The class Typeable
allows a concrete representation of a type to
be calculated.
Minimal complete definition
typeRep#
class Monad m => MonadIO (m :: Type -> Type) where #
Monads in which IO
computations may be embedded.
Any monad built by applying a sequence of monad transformers to the
IO
monad will be an instance of this class.
Instances should satisfy the following laws, which state that liftIO
is a transformer of monads:
Methods
Lift a computation from the IO
monad.
This allows us to run IO computations in any monadic stack, so long as it supports these kinds of operations
(i.e. IO
is the base monad for the stack).
Example
import Control.Monad.Trans.State -- from the "transformers" library printState :: Show s => StateT s IO () printState = do state <- get liftIO $ print state
Had we omitted
, we would have ended up with this error:liftIO
• Couldn't match type ‘IO’ with ‘StateT s IO’ Expected type: StateT s IO () Actual type: IO ()
The important part here is the mismatch between StateT s IO ()
and
.IO
()
Luckily, we know of a function that takes an
and returns an IO
a(m a)
:
,
enabling us to run the program and see the expected results:liftIO
> evalStateT printState "hello" "hello" > evalStateT printState 3 3
Instances
class Monad m => MonadState s (m :: Type -> Type) | m -> s where #
Minimal definition is either both of get
and put
or just state
Methods
Return the state from the internals of the monad.
Replace the state inside the monad.
state :: (s -> (a, s)) -> m a #
Embed a simple state action into the monad.
Instances
MonadState XState X | |
MonadState XState PureX Source # | |
MonadState s m => MonadState s (ListT m) | |
MonadState s m => MonadState s (MaybeT m) | |
(Error e, MonadState s m) => MonadState s (ErrorT e m) | |
MonadState s m => MonadState s (ExceptT e m) | Since: mtl-2.2 |
MonadState s m => MonadState s (IdentityT m) | |
MonadState s m => MonadState s (ReaderT r m) | |
Monad m => MonadState s (StateT s m) | |
Monad m => MonadState s (StateT s m) | |
(Monoid w, MonadState s m) => MonadState s (WriterT w m) | |
(Monoid w, MonadState s m) => MonadState s (WriterT w m) | |
MonadState s m => MonadState s (ContT r m) | |
(Monad m, Monoid w) => MonadState s (RWST r w s m) | |
(Monad m, Monoid w) => MonadState s (RWST r w s m) | |
MonadState (TwoDState a) (TwoD a) Source # | |
(Show s, Read s, Typeable s) => MonadState (Maybe s) (StateQuery s) Source # | Instance of MonadState for StateQuery. |
Defined in XMonad.Util.WindowState Methods get :: StateQuery s (Maybe s) # put :: Maybe s -> StateQuery s () # state :: (Maybe s -> (a, Maybe s)) -> StateQuery s a # |
modify :: MonadState s m => (s -> s) -> m () #
Monadic state transformer.
Maps an old state to a new state inside a state monad. The old state is thrown away.
Main> :t modify ((+1) :: Int -> Int) modify (...) :: (MonadState Int a) => a ()
This says that modify (+1)
acts over any
Monad that is a member of the MonadState
class,
with an Int
state.
gets :: MonadState s m => (s -> a) -> m a #
Gets specific component of the state, using a projection function supplied.
class Monad m => MonadReader r (m :: Type -> Type) | m -> r where #
See examples in Control.Monad.Reader.
Note, the partially applied function type (->) r
is a simple reader monad.
See the instance
declaration below.
Methods
Retrieves the monad environment.
Arguments
:: (r -> r) | The function to modify the environment. |
-> m a |
|
-> m a |
Executes a computation in a modified environment.
Arguments
:: (r -> a) | The selector function to apply to the environment. |
-> m a |
Retrieves a function of the current environment.
Instances
MonadReader Window Query | |
MonadReader XConf X | |
MonadReader XConf PureX Source # | |
MonadReader Focus FocusQuery Source # | |
Defined in XMonad.Hooks.Focus Methods ask :: FocusQuery Focus # local :: (Focus -> Focus) -> FocusQuery a -> FocusQuery a # reader :: (Focus -> a) -> FocusQuery a # | |
MonadReader r m => MonadReader r (ListT m) | |
MonadReader r m => MonadReader r (MaybeT m) | |
(Error e, MonadReader r m) => MonadReader r (ErrorT e m) | |
MonadReader r m => MonadReader r (ExceptT e m) | Since: mtl-2.2 |
MonadReader r m => MonadReader r (IdentityT m) | |
Monad m => MonadReader r (ReaderT r m) | |
MonadReader r m => MonadReader r (StateT s m) | |
MonadReader r m => MonadReader r (StateT s m) | |
(Monoid w, MonadReader r m) => MonadReader r (WriterT w m) | |
(Monoid w, MonadReader r m) => MonadReader r (WriterT w m) | |
MonadReader r ((->) r) | |
MonadReader r' m => MonadReader r' (ContT r m) | |
(Monad m, Monoid w) => MonadReader r (RWST r w s m) | |
(Monad m, Monoid w) => MonadReader r (RWST r w s m) | |
Arguments
:: MonadReader r m | |
=> (r -> a) | The selector function to apply to the environment. |
-> m a |
Retrieves a function of the current environment.
always :: BackingStore #
anyModifier :: Modifier #
arcPieSlice :: ArcMode #
badRequest :: ErrorCode #
capNotLast :: CapStyle #
complex :: PolygonShape #
controlMask :: KeyMask #
convex :: PolygonShape #
evenOddRule :: FillRule #
familyChaos :: Protocol #
gCBackground :: GCMask #
gCCapStyle :: GCMask #
gCClipMask :: GCMask #
gCClipXOrigin :: GCMask #
gCClipYOrigin :: GCMask #
gCDashList :: GCMask #
gCDashOffset :: GCMask #
gCFillRule :: GCMask #
gCFillStyle :: GCMask #
gCForeground :: GCMask #
gCFunction :: GCMask #
gCJoinStyle :: GCMask #
gCLineStyle :: GCMask #
gCLineWidth :: GCMask #
gCPlaneMask :: GCMask #
gXand :: GXFunction #
gXclear :: GXFunction #
gXcopy :: GXFunction #
gXequiv :: GXFunction #
gXinvert :: GXFunction #
gXnand :: GXFunction #
gXnoop :: GXFunction #
gXnor :: GXFunction #
gXor :: GXFunction #
gXset :: GXFunction #
gXxor :: GXFunction #
keyRelease :: EventType #
mapRequest :: EventType #
placeOnBottom :: Place #
placeOnTop :: Place #
syncBoth :: AllowEvents #
windingRule :: FillRule #
xK_Adiaeresis :: KeySym #
xK_BackSpace :: KeySym #
xK_Caps_Lock :: KeySym #
xK_Ccedilla :: KeySym #
xK_Codeinput :: KeySym #
xK_Control_L :: KeySym #
xK_Control_R :: KeySym #
xK_Ediaeresis :: KeySym #
xK_Execute :: KeySym #
xK_Hyper_L :: KeySym #
xK_Hyper_R :: KeySym #
xK_Idiaeresis :: KeySym #
xK_KP_Begin :: KeySym #
xK_KP_Decimal :: KeySym #
xK_KP_Delete :: KeySym #
xK_KP_Divide :: KeySym #
xK_KP_Down :: KeySym #
xK_KP_Enter :: KeySym #
xK_KP_Equal :: KeySym #
xK_KP_Home :: KeySym #
xK_KP_Insert :: KeySym #
xK_KP_Left :: KeySym #
xK_KP_Next :: KeySym #
xK_KP_Page_Up :: KeySym #
xK_KP_Prior :: KeySym #
xK_KP_Right :: KeySym #
xK_KP_Space :: KeySym #
xK_Linefeed :: KeySym #
xK_Multi_key :: KeySym #
xK_Num_Lock :: KeySym #
xK_Odiaeresis :: KeySym #
xK_Ooblique :: KeySym #
xK_Page_Down :: KeySym #
xK_Page_Up :: KeySym #
xK_Shift_L :: KeySym #
xK_Shift_Lock :: KeySym #
xK_Shift_R :: KeySym #
xK_Super_L :: KeySym #
xK_Super_R :: KeySym #
xK_Sys_Req :: KeySym #
xK_Udiaeresis :: KeySym #
xK_VoidSymbol :: KeySym #
xK_adiaeresis :: KeySym #
xK_ampersand :: KeySym #
xK_apostrophe :: KeySym #
xK_asciitilde :: KeySym #
xK_asterisk :: KeySym #
xK_backslash :: KeySym #
xK_braceleft :: KeySym #
xK_braceright :: KeySym #
xK_brokenbar :: KeySym #
xK_ccedilla :: KeySym #
xK_cedilla :: KeySym #
xK_copyright :: KeySym #
xK_currency :: KeySym #
xK_diaeresis :: KeySym #
xK_division :: KeySym #
xK_ediaeresis :: KeySym #
xK_exclamdown :: KeySym #
xK_greater :: KeySym #
xK_idiaeresis :: KeySym #
xK_masculine :: KeySym #
xK_multiply :: KeySym #
xK_notsign :: KeySym #
xK_numbersign :: KeySym #
xK_odiaeresis :: KeySym #
xK_onehalf :: KeySym #
xK_onequarter :: KeySym #
xK_paragraph :: KeySym #
xK_parenleft :: KeySym #
xK_parenright :: KeySym #
xK_percent :: KeySym #
xK_plusminus :: KeySym #
xK_question :: KeySym #
xK_quotedbl :: KeySym #
xK_quoteleft :: KeySym #
xK_quoteright :: KeySym #
xK_registered :: KeySym #
xK_section :: KeySym #
xK_semicolon :: KeySym #
xK_sterling :: KeySym #
xK_udiaeresis :: KeySym #
xK_underscore :: KeySym #
xK_ydiaeresis :: KeySym #
xyBitmap :: ImageFormat #
xyPixmap :: ImageFormat #
zPixmap :: ImageFormat #
cAP_HEIGHT :: Atom #
cUT_BUFFER0 :: Atom #
cUT_BUFFER1 :: Atom #
cUT_BUFFER2 :: Atom #
cUT_BUFFER3 :: Atom #
cUT_BUFFER4 :: Atom #
cUT_BUFFER5 :: Atom #
cUT_BUFFER6 :: Atom #
cUT_BUFFER7 :: Atom #
fAMILY_NAME :: Atom #
iTALIC_ANGLE :: Atom #
lAST_PREDEFINED :: Atom #
nORM_SPACE :: Atom #
pOINT_SIZE :: Atom #
qUAD_WIDTH :: Atom #
rESOLUTION :: Atom #
rGB_BEST_MAP :: Atom #
rGB_BLUE_MAP :: Atom #
rGB_COLOR_MAP :: Atom #
rGB_DEFAULT_MAP :: Atom #
rGB_GRAY_MAP :: Atom #
rGB_GREEN_MAP :: Atom #
rGB_RED_MAP :: Atom #
sUBSCRIPT_X :: Atom #
sUBSCRIPT_Y :: Atom #
sUPERSCRIPT_X :: Atom #
sUPERSCRIPT_Y :: Atom #
wM_COMMAND :: Atom #
wM_ICON_NAME :: Atom #
wM_ICON_SIZE :: Atom #
wM_NORMAL_HINTS :: Atom #
wM_SIZE_HINTS :: Atom #
wM_ZOOM_HINTS :: Atom #
createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap #
freeColormap :: Display -> Colormap -> IO () #
installColormap :: Display -> Colormap -> IO () #
uninstallColormap :: Display -> Colormap -> IO () #
gContextFromGC :: GC -> GContext #
setFunction :: Display -> GC -> GXFunction -> IO () #
setSubwindowMode :: Display -> GC -> SubWindowMode -> IO () #
xC_X_cursor :: Glyph #
xC_bogosity :: Glyph #
xC_bottom_side :: Glyph #
xC_bottom_tee :: Glyph #
xC_box_spiral :: Glyph #
xC_center_ptr :: Glyph #
xC_coffee_mug :: Glyph #
xC_crosshair :: Glyph #
xC_draft_large :: Glyph #
xC_draft_small :: Glyph #
xC_draped_box :: Glyph #
xC_exchange :: Glyph #
xC_gobbler :: Glyph #
xC_iron_cross :: Glyph #
xC_left_ptr :: Glyph #
xC_left_side :: Glyph #
xC_left_tee :: Glyph #
xC_leftbutton :: Glyph #
xC_ll_angle :: Glyph #
xC_lr_angle :: Glyph #
xC_right_ptr :: Glyph #
xC_right_side :: Glyph #
xC_right_tee :: Glyph #
xC_rightbutton :: Glyph #
xC_rtl_logo :: Glyph #
xC_sailboat :: Glyph #
xC_sb_up_arrow :: Glyph #
xC_shuttle :: Glyph #
xC_spraycan :: Glyph #
xC_top_side :: Glyph #
xC_top_tee :: Glyph #
xC_ul_angle :: Glyph #
xC_umbrella :: Glyph #
xC_ur_angle :: Glyph #
allPlanes_aux :: Pixel #
blackPixel :: Display -> ScreenNumber -> Pixel #
closeDisplay :: Display -> IO () #
connectionNumber :: Display -> CInt #
defaultColormap :: Display -> ScreenNumber -> Colormap #
defaultDepth :: Display -> ScreenNumber -> CInt #
defaultGC :: Display -> ScreenNumber -> GC #
defaultRootWindow :: Display -> Window #
defaultScreen :: Display -> ScreenNumber #
defaultScreenOfDisplay :: Display -> Screen #
defaultVisual :: Display -> ScreenNumber -> Visual #
displayCells :: Display -> ScreenNumber -> CInt #
displayHeight :: Display -> ScreenNumber -> CInt #
displayHeightMM :: Display -> ScreenNumber -> CInt #
displayMotionBufferSize :: Display -> CInt #
displayPlanes :: Display -> ScreenNumber -> CInt #
displayString :: Display -> String #
displayWidth :: Display -> ScreenNumber -> CInt #
displayWidthMM :: Display -> ScreenNumber -> CInt #
imageByteOrder :: Display -> CInt #
maxRequestSize :: Display -> CInt #
openDisplay :: String -> IO Display #
protocolRevision :: Display -> CInt #
protocolVersion :: Display -> CInt #
resourceManagerString :: Display -> String #
rootWindow :: Display -> ScreenNumber -> IO Window #
screenCount :: Display -> CInt #
screenOfDisplay :: Display -> ScreenNumber -> Screen #
screenResourceString :: Screen -> String #
serverVendor :: Display -> String #
whitePixel :: Display -> ScreenNumber -> Pixel #
allocaXEvent :: (XEventPtr -> IO a) -> IO a #
allowEvents :: Display -> AllowEvents -> Time -> IO () #
asKeyEvent :: XEventPtr -> XKeyEventPtr #
eventsQueued :: Display -> QueuedMode -> IO CInt #
get_ButtonEvent :: XEventPtr -> IO XButtonEvent #
get_EventType :: XEventPtr -> IO EventType #
get_ExposeEvent :: XEventPtr -> IO XExposeEvent #
get_KeyEvent :: XEventPtr -> IO XKeyEvent #
get_MotionEvent :: XEventPtr -> IO XMotionEvent #
get_Window :: XEventPtr -> IO Window #
putBackEvent :: Display -> XEventPtr -> IO () #
anyPropertyType :: Atom #
changeWindowAttributes :: Display -> Window -> AttributeMask -> Ptr SetWindowAttributes -> IO () #
configureWindow :: Display -> Window -> CULong -> WindowChanges -> IO () #
currentTime :: Time #
eventTable :: [(EventType, String)] #
freeFontSet :: Display -> FontSet -> IO () #
freeStringList :: Ptr CString -> IO () #
getErrorEvent :: XErrorEventPtr -> IO ErrorEvent #
getTextProperty :: Display -> Window -> Atom -> IO TextProperty #
getWindowAttributes :: Display -> Window -> IO WindowAttributes #
iconMaskHintBit :: Int #
iconicState :: Int #
inputHintBit :: Int #
isCursorKey :: KeySym -> Bool #
isFunctionKey :: KeySym -> Bool #
isKeypadKey :: KeySym -> Bool #
isMiscFunctionKey :: KeySym -> Bool #
isModifierKey :: KeySym -> Bool #
isPrivateKeypadKey :: KeySym -> Bool #
mkXErrorHandler :: CXErrorHandler -> IO (FunPtr CXErrorHandler) #
normalState :: Int #
pAspectBit :: Int #
pBaseSizeBit :: Int #
pMaxSizeBit :: Int #
pMinSizeBit :: Int #
pResizeIncBit :: Int #
pWinGravityBit :: Int #
propModeAppend :: CInt #
propModePrepend :: CInt #
propModeReplace :: CInt #
refreshKeyboardMapping :: Event -> IO () #
setConfigureEvent :: XEventPtr -> Window -> Window -> CInt -> CInt -> CInt -> CInt -> CInt -> Window -> Bool -> IO () #
setErrorHandler :: XErrorHandler -> IO () #
setEventType :: XEventPtr -> EventType -> IO () #
stateHintBit :: Int #
unmapWindow :: Display -> Window -> IO () #
urgencyHintBit :: Int #
waIsUnmapped :: CInt #
waIsUnviewable :: CInt #
waIsViewable :: CInt #
wcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO () #
wcFreeStringList :: Ptr CWString -> IO () #
wcTextEscapement :: FontSet -> String -> Int32 #
wcTextPropertyToTextList :: Display -> TextProperty -> IO [String] #
withServer :: Display -> IO () -> IO () #
withdrawnState :: Int #
xAllocWMHints :: IO (Ptr WMHints) #
xChangeProperty :: Display -> Window -> Atom -> Atom -> CInt -> CInt -> Ptr CUChar -> CInt -> IO Status #
xConfigureWindow :: Display -> Window -> CULong -> Ptr WindowChanges -> IO CInt #
xCreateFontSet :: Display -> CString -> Ptr (Ptr CString) -> Ptr CInt -> Ptr CString -> IO (Ptr FontSet) #
xGetModifierMapping :: Display -> IO (Ptr ()) #
xGetTextProperty :: Display -> Window -> Ptr TextProperty -> Atom -> IO Status #
xGetWindowAttributes :: Display -> Window -> Ptr WindowAttributes -> IO Status #
xGetWindowProperty :: Display -> Window -> Atom -> CLong -> CLong -> Bool -> Atom -> Ptr Atom -> Ptr CInt -> Ptr CULong -> Ptr CULong -> Ptr (Ptr CUChar) -> IO Status #
xQueryTree :: Display -> Window -> Ptr Window -> Ptr Window -> Ptr (Ptr Window) -> Ptr CInt -> IO Status #
xRefreshKeyboardMapping :: Ptr () -> IO CInt #
xSetErrorHandler :: IO () #
xwcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO () #
xwcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO () #
xwcTextPropertyToTextList :: Display -> Ptr TextProperty -> Ptr (Ptr CWString) -> Ptr CInt -> IO CInt #
ascentFromFontStruct :: FontStruct -> Int32 #
fontFromFontStruct :: FontStruct -> Font #
freeFont :: Display -> FontStruct -> IO () #
loadQueryFont :: Display -> String -> IO FontStruct #
textExtents :: FontStruct -> String -> (FontDirection, Int32, Int32, CharStruct) #
textWidth :: FontStruct -> String -> Int32 #
createImage :: Display -> Visual -> CInt -> ImageFormat -> CInt -> Ptr CChar -> Dimension -> Dimension -> CInt -> CInt -> IO Image #
destroyImage :: Image -> IO () #
getImage :: Display -> Drawable -> CInt -> CInt -> CUInt -> CUInt -> CULong -> ImageFormat -> IO Image #
putImage :: Display -> Drawable -> GC -> Image -> Position -> Position -> Position -> Position -> Dimension -> Dimension -> IO () #
activateScreenSaver :: Display -> IO () #
allocaSetWindowAttributes :: (Ptr SetWindowAttributes -> IO a) -> IO a #
autoRepeatOff :: Display -> IO () #
autoRepeatOn :: Display -> IO () #
bitmapBitOrder :: Display -> ByteOrder #
bitmapUnit :: Display -> CInt #
copyArea :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO () #
copyPlane :: Display -> Drawable -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> Pixel -> IO () #
createPixmapCursor :: Display -> Pixmap -> Pixmap -> Color -> Color -> Dimension -> Dimension -> IO Cursor #
displayKeycodes :: Display -> (CInt, CInt) #
displayName :: String -> String #
drawArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO () #
drawPoints :: Display -> Drawable -> GC -> [Point] -> CoordinateMode -> IO () #
drawRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO () #
fetchBytes :: Display -> IO String #
fillArc :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> Angle -> Angle -> IO () #
fillPolygon :: Display -> Drawable -> GC -> [Point] -> PolygonShape -> CoordinateMode -> IO () #
fillRectangle :: Display -> Drawable -> GC -> Position -> Position -> Dimension -> Dimension -> IO () #
forceScreenSaver :: Display -> ScreenSaverMode -> IO () #
freeCursor :: Display -> Font -> IO () #
freePixmap :: Display -> Pixmap -> IO () #
geometry :: Display -> CInt -> String -> String -> Dimension -> Dimension -> Dimension -> CInt -> CInt -> IO (CInt, Position, Position, Dimension, Dimension) #
getGeometry :: Display -> Drawable -> IO (Window, Position, Position, Dimension, Dimension, Dimension, CInt) #
getScreenSaver :: Display -> IO (CInt, CInt, PreferBlankingMode, AllowExposuresMode) #
getVisualInfo :: Display -> VisualInfoMask -> VisualInfo -> IO [VisualInfo] #
grabButton :: Display -> Button -> ButtonMask -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> IO () #
grabKeyboard :: Display -> Window -> Bool -> GrabMode -> GrabMode -> Time -> IO GrabStatus #
grabPointer :: Display -> Window -> Bool -> EventMask -> GrabMode -> GrabMode -> Window -> Cursor -> Time -> IO GrabStatus #
grabServer :: Display -> IO () #
initThreads :: IO Status #
keysymToString :: KeySym -> String #
lastKnownRequestProcessed :: Display -> IO CInt #
lockDisplay :: Display -> IO () #
lookupKeysym :: XKeyEventPtr -> CInt -> IO KeySym #
lookupString :: XKeyEventPtr -> IO (Maybe KeySym, String) #
matchVisualInfo :: Display -> ScreenNumber -> CInt -> CInt -> IO (Maybe VisualInfo) #
queryBestSize :: Display -> QueryBestSizeClass -> Drawable -> Dimension -> Dimension -> IO (Dimension, Dimension) #
readBitmapFile :: Display -> Drawable -> String -> IO (Either String (Dimension, Dimension, Pixmap, Maybe CInt, Maybe CInt)) #
resetScreenSaver :: Display -> IO () #
rmInitialize :: IO () #
rotateBuffers :: Display -> CInt -> IO () #
setCloseDownMode :: Display -> CloseDownMode -> IO () #
setDefaultErrorHandler :: IO () #
setLocaleModifiers :: String -> IO String #
setScreenSaver :: Display -> CInt -> CInt -> PreferBlankingMode -> AllowExposuresMode -> IO () #
set_background_pixel :: Ptr SetWindowAttributes -> Pixel -> IO () #
set_background_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO () #
set_backing_pixel :: Ptr SetWindowAttributes -> Pixel -> IO () #
set_backing_planes :: Ptr SetWindowAttributes -> Pixel -> IO () #
set_backing_store :: Ptr SetWindowAttributes -> BackingStore -> IO () #
set_bit_gravity :: Ptr SetWindowAttributes -> BitGravity -> IO () #
set_border_pixel :: Ptr SetWindowAttributes -> Pixel -> IO () #
set_border_pixmap :: Ptr SetWindowAttributes -> Pixmap -> IO () #
set_colormap :: Ptr SetWindowAttributes -> Colormap -> IO () #
set_cursor :: Ptr SetWindowAttributes -> Cursor -> IO () #
set_do_not_propagate_mask :: Ptr SetWindowAttributes -> EventMask -> IO () #
set_event_mask :: Ptr SetWindowAttributes -> EventMask -> IO () #
set_override_redirect :: Ptr SetWindowAttributes -> Bool -> IO () #
set_save_under :: Ptr SetWindowAttributes -> Bool -> IO () #
set_win_gravity :: Ptr SetWindowAttributes -> WindowGravity -> IO () #
storeBytes :: Display -> String -> IO () #
stringToKeysym :: String -> KeySym #
supportsLocale :: IO Bool #
undefineCursor :: Display -> Window -> IO () #
ungrabButton :: Display -> Button -> ButtonMask -> Window -> IO () #
ungrabKeyboard :: Display -> Time -> IO () #
ungrabPointer :: Display -> Time -> IO () #
ungrabServer :: Display -> IO () #
unlockDisplay :: Display -> IO () #
visualIDFromVisual :: Visual -> IO VisualID #
warpPointer :: Display -> Window -> Window -> Position -> Position -> Dimension -> Dimension -> Position -> Position -> IO () #
createRegion :: IO Region #
emptyRegion :: Region -> IO Bool #
rectInRegion :: Region -> Rectangle -> IO RectInRegionResult #
blackPixelOfScreen :: Screen -> Pixel #
cellsOfScreen :: Screen -> CInt #
defaultDepthOfScreen :: Screen -> CInt #
defaultGCOfScreen :: Screen -> GC #
defaultVisualOfScreen :: Screen -> Visual #
displayOfScreen :: Screen -> Display #
doesBackingStore :: Screen -> Bool #
doesSaveUnders :: Screen -> Bool #
eventMaskOfScreen :: Screen -> EventMask #
heightMMOfScreen :: Screen -> Dimension #
heightOfScreen :: Screen -> Dimension #
maxCmapsOfScreen :: Screen -> CInt #
minCmapsOfScreen :: Screen -> CInt #
planesOfScreen :: Screen -> CInt #
rootWindowOfScreen :: Screen -> Window #
whitePixelOfScreen :: Screen -> Pixel #
widthMMOfScreen :: Screen -> Dimension #
widthOfScreen :: Screen -> Dimension #
addToSaveSet :: Display -> Window -> IO () #
changeSaveSet :: Display -> Window -> ChangeSaveSetMode -> IO () #
circulateSubwindows :: Display -> Window -> CirculationDirection -> IO () #
circulateSubwindowsDown :: Display -> Window -> IO () #
circulateSubwindowsUp :: Display -> Window -> IO () #
clearWindow :: Display -> Window -> IO () #
createSimpleWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> Pixel -> Pixel -> IO Window #
createWindow :: Display -> Window -> Position -> Position -> Dimension -> Dimension -> CInt -> CInt -> WindowClass -> Visual -> AttributeMask -> Ptr SetWindowAttributes -> IO Window #
destroySubwindows :: Display -> Window -> IO () #
destroyWindow :: Display -> Window -> IO () #
iconifyWindow :: Display -> Window -> ScreenNumber -> IO () #
lowerWindow :: Display -> Window -> IO () #
mapSubwindows :: Display -> Window -> IO () #
raiseWindow :: Display -> Window -> IO () #
removeFromSaveSet :: Display -> Window -> IO () #
restackWindows :: Display -> [Window] -> IO () #
translateCoordinates :: Display -> Window -> Window -> Position -> Position -> IO (Bool, Position, Position, Window) #
unmapSubwindows :: Display -> Window -> IO () #
withdrawWindow :: Display -> Window -> ScreenNumber -> IO () #
atom_WM_PROTOCOLS :: X Atom #
atom_WM_STATE :: X Atom #
atom_WM_TAKE_FOCUS :: X Atom #
binFileName :: Directories -> FilePath #
fromMessage :: Message m => SomeMessage -> Maybe m #
getXMonadDataDir :: X String #
getXMonadDir :: X String #
installSignalHandlers :: MonadIO m => m () #
runOnWorkspaces :: (WindowSpace -> X WindowSpace) -> X () #
stateFileName :: Directories -> FilePath #
uninstallSignalHandlers :: MonadIO m => m () #
userCodeDef :: a -> X a -> X a #
withDisplay :: (Display -> X a) -> X a #
withWindowAttributes :: Display -> Window -> (WindowAttributes -> X ()) -> X () #
withWindowSet :: (WindowSet -> X a) -> X a #
mirrorRect :: Rectangle -> Rectangle #
splitHorizontally :: Int -> Rectangle -> [Rectangle] #
splitVertically :: Int -> Rectangle -> [Rectangle] #
launch :: forall (l :: Type -> Type). (LayoutClass l Window, Read (l Window)) => XConfig l -> Directories -> IO () #
composeAll :: Monoid m => [m] -> m #
doFloat :: ManageHook #
doIgnore :: ManageHook #
doShift :: WorkspaceId -> ManageHook #
stringProperty :: String -> Query String