aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks (follow)
Commit message (Collapse)AuthorAgeFilesLines
* pull suppressWhen logic into main WithUrgencyHook handlerDevin Mullins2008-05-131-17/+18
| | | | | | | | In order for this to work, I added a new UrgencyHook method to communicate the SuppressWhen value. I'm not sure if this is actually better than just providing a convenience function, but it's an easy switch. darcs-hash:20080513075247-78224-760cd588622855d35f7acaae1084396f38b7b634.gz
* add suppressWhen option to dzenUrgencyHookDevin Mullins2008-05-131-11/+22
| | | | darcs-hash:20080513054615-78224-e0a1d29bd1c0fc6dff2b30649a30e803bc6ad040.gz
* UrgencyHook: doc typoDevin Mullins2008-05-121-2/+2
| | | | darcs-hash:20080512052137-78224-b4dd19b18fa2dd98bc1fc51aa3adaf8627d781d0.gz
* UrgencyHook: extract whenNotVisibleDevin Mullins2008-05-121-5/+10
| | | | darcs-hash:20080512041852-78224-4d0176999f15eeed84428ad20fec485c0af7d114.gz
* SpawnUrgencyHook, FWIWDevin Mullins2008-05-121-0/+9
| | | | darcs-hash:20080512040449-78224-22bf6a8ae3f956e58d4dc0142c88643dfcfea5f3.gz
* make UrgencyHook an EventHookDevin Mullins2008-05-121-39/+33
| | | | | | | | | | This gets rid of the stupid bug that led to a need for the clearBit hack, and allowed me to simplify the types (since EventHooks aren't required to parameterize on the window type). Config files need not change, unless they declare instances of UrgencyHook, in which case, they should remove "Window" as is seen in this patch. darcs-hash:20080512024822-78224-a40955a5860155950928422fe71192e044f4af27.gz
* 'xmobar' function added to DynamicLog for running xmobar with some defaultsIvan N. Veselov2008-05-081-5/+34
| | | | darcs-hash:20080508194918-98257-90af4d9fa986c220fbac658d04d14a8e78f231f9.gz
* Use the named constant 'none' rather than 0Spencer Janssen2008-05-071-1/+1
| | | | darcs-hash:20080507081854-a5988-e08995616a8cc9f3cc48b2ff9f25eb257240c19f.gz
* bug doco for UrgencyHookDevin Mullins2008-04-261-0/+4
| | | | darcs-hash:20080426203638-78224-a93e768bf2e8d94d1bef2f4df1d03fe164caf743.gz
* My monitor is larger now :)Spencer Janssen2008-04-301-1/+1
| | | | darcs-hash:20080430083026-a5988-e0ce89594d1fbce30d74a10c4477e12d44bf259b.gz
* XMonad.Hooks.ManageHelpers: quick&dirty support for _NET_WM_STATE_FULLSCREENLukas Mai2008-04-261-2/+21
| | | | darcs-hash:20080426132745-462cf-ebe055cea6b3fd583036d24280d1a739c714db1c.gz
* XMonad.Hooks.Script: haddock fixesLukas Mai2008-04-261-3/+3
| | | | darcs-hash:20080426132629-462cf-2a5a6fbbbc0b51ee9790da5a62d78b3e44be147c.gz
* Script-based hooksTrevor Elliott2008-04-161-0/+54
| | | | darcs-hash:20080416213024-5b2f6-adc47e1fc23870c99aca6eccf962a23932bd1eb8.gz
* Fix window order in EWMHJoachim Breitner2008-04-111-1/+2
| | | | | | | | | For pagers to draw the stacking order correctly, the focused window has to be the last in the list. Thus put an appropriate implementation of allWindows into the Module. This does not work perfectly with floating windows. darcs-hash:20080411134411-23c07-bcc62f5377a52855c941e86d6a7eca5451bef746.gz
* DynamicLog: resolve merge conflictLukas Mai2008-04-061-0/+3
| | | | darcs-hash:20080406020527-462cf-ed5f93a6e72de2b1e50863dafe7f19224e2fa926.gz
* Encode the entire DynamicLog output, instead of just window title.lithis2008-03-291-2/+2
| | | | darcs-hash:20080329031537-1c3cf-c68bcb7e9296b98cedbed1e18ceba05548122512.gz
* DynamicLog: add support for UTF-8 locales when compiled with XFT or UFT-8 ↵Andrea Rossato2008-03-131-3/+1
| | | | | | support darcs-hash:20080313102643-32816-e74a67dc512a001a766aa955f9a25915354c6e1e.gz
* XMonad.Hooks.ManageDocks: haddock fixLukas Mai2008-04-051-2/+2
| | | | darcs-hash:20080404220532-462cf-db8daa9e11afcd3725489a534f5ab89b2037f0b8.gz
* Document _NET_ACTIVE_WINDOW behaviour more exactlyJoachim Breitner2008-04-041-1/+1
| | | | darcs-hash:20080404072944-23c07-02b08389c3f11941874a0999e2e0b89acbd92ea4.gz
* UNDO: _NET_ACTIVE_WINDOW moves windows if necessaryJoachim Breitner2008-04-021-2/+2
| | | | | | | | | | This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here. darcs-hash:20080402143811-23c07-5a30ef14a264a4f8ea8534c7667e966c89479a42.gz
* onstartDon Stewart2008-04-031-1/+1
| | | | darcs-hash:20080403203425-cba2c-e6ab74ebeacb32b32141682426cfbe1dbcc7db93.gz
* have 'dzen' use autoStruts to detect the gapsDon Stewart2008-04-031-3/+25
| | | | darcs-hash:20080403003130-cba2c-9e65ec4e893127b66f17ffbc261472b675be1599.gz
* _NET_ACTIVE_WINDOW moves windows if necessaryJoachim Breitner2008-04-021-2/+2
| | | | | | | | | | This makes EWMH behave a bit more like metacity: If _NET_ACTIVE_WINDOW is received and the window is not on the current worspace, it is brought here (instead of the workspace switched to the other one). So for example, if you click on the pidgin icon in the panel and the buddy list is already open some where it is moved here. darcs-hash:20080402143811-23c07-f69d9958d0a08679329c21aa3855942dd7ffbb22.gz
* XMonad.Layout.Gaps: new contrib module for manual gap support, in the few ↵Brent Yorgey2008-04-021-1/+5
| | | | | | cases where ManageDocks is not appropriate (dock apps that don't set STRUTS properly, adjusting for a display that is cut off on one edge, etc.) darcs-hash:20080402003742-bd4d7-6a773f670180cc60118bca3a0d2a12fa3a445540.gz
* XMonad.Hooks.ManageDocks: export checkDocLukas Mai2008-03-311-2/+2
| | | | darcs-hash:20080331012911-462cf-ded8fe64cad63d4bfcc5448ed79420e9e794ec82.gz
* move Direction type from WindowNavigation to ManageDocks (ManageDocks will ↵Brent Yorgey2008-03-311-23/+28
| | | | | | move into the core, taking Direction with it) darcs-hash:20080331010127-bd4d7-972600c072354b2c07a227ade70d4abf80fe418c.gz
* ManageDocks: clean up + add more documentationBrent Yorgey2008-03-311-21/+23
| | | | darcs-hash:20080331002929-bd4d7-f7c1572196109f7205eef109460b35539fdc7b45.gz
* Util.Run, Hooks.DynamicLog: re-export hPutStrLn and hPutStr from Util.Run ↵Brent Yorgey2008-03-281-0/+2
| | | | | | for convenience, and update DynamicLog documentation to show proper imports darcs-hash:20080328205446-bd4d7-ae6c9a13c69620ec5edef7d34086236974c0c631.gz
* ManageDocks: add avoidStrutsOn, for covering some docks and not others by ↵Brent Yorgey2008-03-271-2/+17
| | | | | | default. darcs-hash:20080327203940-bd4d7-7ae319d50280cb13d32d8186d7d8f4b2113c4919.gz
* ManageDocks: add ability to toggle individual gaps independentlyBrent Yorgey2008-03-271-17/+39
| | | | darcs-hash:20080327111722-bd4d7-2bafc521feff2d36b641ed2ca6bcff79d684624a.gz
* Haddock fixRoman Cheplyaka2008-03-301-1/+1
| | | | darcs-hash:20080330134435-3ebed-a45d16ddc1ee6db2238af9b4c65b90eee53341f3.gz
* Remove stale status gaps codeSpencer Janssen2008-03-301-2/+1
| | | | darcs-hash:20080329230737-a5988-00c8ef14160f79347f4e40c12b2c84a9519b4d1a.gz
* ManageDocks: add warning about making sure gaps are set to zero before ↵Brent Yorgey2008-03-271-1/+7
| | | | | | switching to avoidStruts, since ToggleStruts won't work otherwise darcs-hash:20080326231928-bd4d7-fa951c2d9b7a26187a9316842c6cca67a234fa01.gz
* XMonad.Hooks.ManageHelpers: reformattingLukas Mai2008-03-261-21/+23
| | | | darcs-hash:20080326182707-462cf-1f486ea604d17f4da7fbd0393ea9e8f341884053.gz
* fix various compilation errorsLukas Mai2008-03-221-1/+1
| | | | darcs-hash:20080322074113-462cf-c25e0dd6e40b3c636a218a75e858c0c3673dcc9c.gz
* add ewmhDesktopsLayout for EWMH interactionJoachim Breitner2008-03-191-4/+58
| | | | | | | | | | | This is based on Andrea’s EventHook thingy. Note that I could not merge this with some of my earlier EWHM interaction patches (darcs was failing on me), so I copied some code. Do not try to merge it with those patches either. Note that the docs are saying what should work. There are still some bugs to be resolved, but it works sometimes and should work similar to what we have. darcs-hash:20080319195736-23c07-78be594f4352055d21d921eecab4312905124cf9.gz
* Export HandleEvent type to be able to use it in type annotationsJoachim Breitner2008-03-191-0/+1
| | | | darcs-hash:20080319195603-23c07-a25607a54f55c2842cdcd10cd9d645c5d6700b2a.gz
* EventHook: handle events after the underlying layout and moreAndrea Rossato2008-02-251-14/+14
| | | | | | | - check the first time the Bool is True - coding and naming style darcs-hash:20080224230854-32816-9ae0e111f33f6ea3d4ac1dae76ed4e4fab496742.gz
* Add Hooks.ServerMode: an event hook to execute commands sent by an external ↵Andrea Rossato2008-02-241-0/+103
| | | | | | client darcs-hash:20080224133706-32816-aa862084a86ac6769123c4d3760be42d857d3c8d.gz
* Add EventHook: a layout modifier to handle X eventsAndrea Rossato2008-02-241-0/+107
| | | | darcs-hash:20080224112432-32816-39c2c29649bfbf285107e019a4fb76ff535f6fbb.gz
* EwmhDesktops: advertise support for _NET_CLIENT_LIST_STACKINGAlec Berryman2008-03-151-0/+1
| | | | darcs-hash:20080315212631-39448-e4b0d64bd42bce083406338e73568215c0e3a0fa.gz
* LayoutModifier: reimplement ModifiedLayout using runLayout and moreAndrea Rossato2008-02-231-2/+2
| | | | | | | - change modifyLayout type to get the Workspace - updated ResizeScreen and ManageDocks accordingly. darcs-hash:20080223075610-32816-05f373cf73305ce5b41d0c250fb5d6413e72b3b4.gz
* Fix to work with "floats always use current screen" patchrobreim2008-03-081-1/+1
| | | | darcs-hash:20080308024928-d4c7e-ecac63a09d430efd75413e3148e42b38c4ec2503.gz
* Hooks.DynamicLog: export xmobarPPDmitry Kurochkin2008-03-031-1/+1
| | | | darcs-hash:20080303215637-903e8-9ac83679708058a1b7d040669b1f300191cda5dc.gz
* Haddock fix: Changed URL-MarkupDominik Bruhn2008-03-021-1/+1
| | | | darcs-hash:20080302185435-ae55e-9f354d574e799dd14fb1c6dfead04edb8621604d.gz
* Two new floating window ManageHooks.Braden Shepherdson2008-02-251-1/+17
| | | | | | | Adds doRectFloat, which floats the new window in the given rectangle; and doCenterFloat, which floats the new window with its original size, but centered. darcs-hash:20080225183337-d53a8-e9e6680266618483dec2cd900e9be8219e1e89f7.gz
* Small refactoring.Nils Anders Danielsson2008-02-101-21/+35
| | | | darcs-hash:20080210224756-9990f-b6287e5e35b83c7e6b13ed90d7f8b34720eada36.gz
* Fixed off-by-one error which broke strut handling for some panels.Nils Anders Danielsson2008-02-101-4/+19
| | | | darcs-hash:20080210222600-9990f-30f64da2f26b6673e57eb981fc4acfcbcb414744.gz
* DynamicLog.hs: haddock fixAndrea Rossato2008-02-201-1/+1
| | | | | | | | | | | | | | Someone forgot to check if her patch was going to break haddock docs generation or not. So, while I was recording a patch with quite a long description I had to manually write - sound strange? -, I found out that my patch did not pass the tests, because of this haddock problem left behind. And so I fixed it, recorded this patch, with the hope the my next description of the next patch I'm going to record will survive the test suite we created to avoid this kind of problems for. darcs-hash:20080220204033-32816-c937fe0e85fdd671c06991b0f2fc507222734c97.gz
* improvements to XMonad.Hooks.DynamicLog, and new contrib module ↵Brent Yorgey2008-02-191-63/+155
| | | | | | | | | | | | | | | | | | | XMonad.Util.Loggers Improvements to DynamicLog include: * Greatly expanded and improved documentation and examples * remove seemingly useless makeSimpleDzenConfig function * factor out xmobarPP * add new ppExtras field to PP record, for specifying 'extra' loggers which can supply information other than window title, layout, and workspace status to a status bar (for example, time and date, battery status, mail status, etc.) The new XMonad.Util.Loggers module provides some example loggers that can be used in the new ppExtras field of the PP record. Create your own, add them to this module, go crazy! darcs-hash:20080219210128-bd4d7-33f4bcf2732069a5b7cf7584efa6ee060604c40b.gz