xmonad-contrib-0.7: Third party extensions for xmonadSource codeContentsIndex
XMonad.Hooks.EwmhDesktops
Portabilityunportable
Stabilityunstable
MaintainerJoachim Breitner <mail@joachim-breitner.de>
Contents
Usage
Description
Makes xmonad use the EWMH hints to tell panel applications about its workspaces and the windows therein. It also allows the user to interact with xmonad by clicking on panels and window lists.
Synopsis
ewmhDesktopsLogHook :: X ()
ewmhDesktopsLayout :: layout a -> HandleEvent EwmhDesktopsHook layout a
Usage

You can use this module with the following in your ~/.xmonad/xmonad.hs:

 import XMonad
 import XMonad.Hooks.EwmhDesktops

 myLogHook :: X ()
 myLogHook = do ewmhDesktopsLogHook
                return ()

 layoutHook = ewmhDesktopsLayout $ avoidStruts $ simpleTabbed ||| Full ||| etc..

 main = xmonad defaultConfig { layoutHook = myLayouts, logHook = myLogHook }

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#The_log_hook_and_external_status_bars

For more detailed instructions on editing the layoutHook see:

XMonad.Doc.Extending#Editing_the_layout_hook

ewmhDesktopsLogHook :: X ()Source
Notifies pagers and window lists, such as those in the gnome-panel of the current state of workspaces and windows.
ewmhDesktopsLayout :: layout a -> HandleEvent EwmhDesktopsHook layout aSource

Intercepts messages from pagers and similar applications and reacts on them. Currently supports:

  • _NET_CURRENT_DESKTOP (switching desktops)
  • _NET_WM_DESKTOP (move windows to other desktops)
  • _NET_ACTIVE_WINDOW (activate another window)
Produced by Haddock version 2.3.0