Copyright | (c) José A. Romero L. |
---|---|
License | BSD3-style (see LICENSE) |
Maintainer | Ivan Malison <IvanMalison@gmail.com> |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
System.Taffybar.Widget.Windows
Contents
Description
Menu widget that shows the title of the currently focused window and that, when clicked, displays the list of all currently open windows allowing to switch to any of them.
- windowsNew :: WindowsConfig -> TaffyIO Widget
- data WindowsConfig = WindowsConfig {}
- defaultWindowsConfig :: WindowsConfig
- truncatedGetActiveLabel :: Int -> TaffyIO String
- truncatedGetMenuLabel :: Int -> X11Window -> TaffyIO String
Usage
The window switcher widget requires that the EwmhDesktops hook from the
XMonadContrib project be installed in your xmonad.hs
file:
import XMonad.Hooks.EwmhDesktops (ewmh) main = do xmonad $ ewmh $ defaultConfig ...
windowsNew :: WindowsConfig -> TaffyIO Widget Source #
Create a new Windows widget that will use the given Pager as its source of events.
data WindowsConfig Source #
Constructors
WindowsConfig | |
Fields
|