diff options
author | Jochen Keil <jochen.keil@gmail.com> | 2012-08-22 21:27:57 +0200 |
---|---|---|
committer | Jochen Keil <jochen.keil@gmail.com> | 2012-08-22 21:27:57 +0200 |
commit | a05c57f7aed141a8d6dc9038be177712be432b9d (patch) | |
tree | 1d456df5ae4a49d63460102da13c2ec54421d8bd /src/Main.hs | |
parent | fefeae79de28446d46dc21e193aa34fcd4fe9002 (diff) | |
download | xmobar-a05c57f7aed141a8d6dc9038be177712be432b9d.tar.gz xmobar-a05c57f7aed141a8d6dc9038be177712be432b9d.tar.bz2 |
Configuration example for XMonad using the DBus interface
Mainly code from my config which does the following:
When I press my modifier key (which is xK_Alt_L) then xmobar appears.
When I keep the key pressed for longer than 400ms (which is often the
when tabbing through windows, changing workspaces, etc), then upon
release xmobar will be hidden immediately. If I press xK_Alt_L for less
than 400ms (very briefly), then xmobar pops up, and will automatically
disappear after 2 seconds.
Diffstat (limited to 'src/Main.hs')
0 files changed, 0 insertions, 0 deletions