| Copyright | (c) Ivan Malison |
|---|---|
| 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 a menu from which the user may select a window to which to switch the focus.
Synopsis
- 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
| |