aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/UrgencyHook.hs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix UrgencyHook docs (\a -> \\a in Haddock)Brent Yorgey2009-08-091-1/+1
| | | | | | Ignore-this: a1fcfe2446184a8cea4553fd68565b58 darcs-hash:20090809184016-1e371-6dd9048634ffaccfbebb1461f5f8bad774dee82d.gz
* Adjustments to use the new event hook feature instead of Hooks.EventHookDaniel Schoepe2009-02-031-9/+9
| | | | | | Ignore-this: f8c239bc8e301cbd6fa509ef748af542 darcs-hash:20090203160046-cb1c6-d66821c5b8a5a60e3b76148654c6e28806b37749.gz
* Adjustments to new userCode functionDaniel Schoepe2009-01-101-2/+2
| | | | darcs-hash:20090110221310-cb1c6-9692cf87a3e5c140204a20f2923d2b0dd8913cde.gz
* Work around ghc 6.10 bug #2738Don Stewart2008-11-041-1/+1
| | | | | | Ignore-this: c75da9693fa642025eac0d074869423d darcs-hash:20081104034819-cba2c-b28013626f02b7ef10f7f2b7a35f5e66e93fb256.gz
* UrgencyHook bug fix: cleanupUrgents should clean up reminders, tooDevin Mullins2008-09-201-6/+6
| | | | darcs-hash:20080920062117-78224-2d5e96e00a63d20c8957f4cd1e2850ca207112b8.gz
* add clearUrgents for your keysDevin Mullins2008-09-091-3/+10
| | | | darcs-hash:20080909055425-78224-8e7f84338523dd20d96de740137b10e3e9666bd1.gz
* add reminder functionality to UrgencyHookDevin Mullins2008-08-241-33/+91
| | | | | | I'm considering rewriting remindWhen and suppressWhen as UrgencyHookModifiers, so to speak. Bleh. darcs-hash:20080824200548-78224-8589b08cc15bcb9506c0e86df832c1d7a73efaa8.gz
* change withUrgencyHookC apiDevin Mullins2008-08-211-18/+21
| | | | | | Now it takes an UrgencyConfig record type. darcs-hash:20080821052046-78224-6c4d5419c421596ccd604e1851b0e2594ffd653c.gz
* X.H.UrgencyHook: haddock fixesDevin Mullins2008-08-161-2/+2
| | | | darcs-hash:20080816195220-78224-2d927cfd9f8a6bcd1b3edd22bcb1de2a0926c042.gz
* XMonad.Hooks.UrgencyHook: +FocusHookgwern02008-07-171-1/+12
| | | | | | This is a hook for simply traveling to whatever window has just set an urgent flag, instead of doing something more involved like printing to a status bar and letting the user do something manually. darcs-hash:20080716224745-f7719-4fa145f9754e829bea78c89ede58ca01e3187e14.gz
* callUrgencyHook after adjustUrgentsDevin Mullins2008-07-141-2/+2
| | | | | | So folks can readUrgents inside their urgencyHook, should they so desire. darcs-hash:20080714043020-78224-b75d65a74cda046369c256bcd3d0813c20219204.gz
* more documentation for WindowNavigation and UrgencyHookDevin Mullins2008-05-251-0/+26
| | | | darcs-hash:20080525050231-78224-669c83df86a8b585883d0fb3ef054e37670261e8.gz
* doco tweaksDevin Mullins2008-05-241-2/+2
| | | | darcs-hash:20080524211849-78224-630b08f09dcd25240be37a710801e595cae7476a.gz
* UrgencyHook: removeVisiblesFromUrgents -> cleanupUrgentsDevin Mullins2008-05-151-16/+22
| | | | | | Now only removes windows based on SuppressWhen setting. darcs-hash:20080515164436-78224-0ef49f8355ace31ddbef6b6264ae9f2a8a750c89.gz
* decent documentation for UrgencyHookDevin Mullins2008-05-151-34/+124
| | | | | | Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
* X.A.WindowNavigation: have currentPosition handle axes independentlyDevin Mullins2008-05-151-0/+2
| | | | | | | This improves some subtle interactions between mod-j/k and mod-w/a/s/d, though that might not become very apparent until I fix setPosition. darcs-hash:20080515053330-78224-2ba67cefda58b7c079b23f93441859e30c539c73.gz
* UrgencyHook: some documentation (more is needed)Devin Mullins2008-05-141-5/+27
| | | | darcs-hash:20080514080104-78224-1f2c27c166eef8f9ec47b6a969991e8ab4f266d7.gz
* UrgencyHook: got rid of the need for instances to know about suppressWhenDevin Mullins2008-05-141-28/+30
| | | | | | This changes the API a little bit, but that's what you get for using a day-old feature from darcs. darcs-hash:20080514072217-78224-b625ee9ab6b9ff69bd1e0cc68f0a15b8724e3a06.gz
* 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
* bug doco for UrgencyHookDevin Mullins2008-04-261-0/+4
| | | | darcs-hash:20080426203638-78224-a93e768bf2e8d94d1bef2f4df1d03fe164caf743.gz
* Remove XMonad.Operations importsSpencer Janssen2007-12-081-1/+0
| | | | darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
* Prune more importsSpencer Janssen2007-12-081-2/+0
| | | | darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
* Remove redundant importsSpencer Janssen2007-12-081-2/+0
| | | | darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
* add to Droundy a non-working urgency hook and enable avoidStruts.David Roundy2007-12-011-0/+1
| | | | darcs-hash:20071201132910-72aca-07e111e0721b34cfc038b59fa4d55622df05ae06.gz
* UrgencyHook: haddock fixesDevin Mullins2007-11-221-9/+13
| | | | darcs-hash:20071122065616-78224-24f6697f261b620b85d9ceb3aef0a05fe4e97a0c.gz
* UrgencyHook.hs: small haddock fixAndrea Rossato2007-11-141-0/+1
| | | | darcs-hash:20071114104844-32816-666b851e98e4503bf5d83add79d004c1d3be4ff9.gz
* remove dead codeDevin Mullins2007-11-121-4/+1
| | | | darcs-hash:20071112184857-78224-bbd65a006c4469349205e934d919480d60646160.gz
* fix intro doco for UrgencyHookDevin Mullins2007-11-121-9/+5
| | | | | | Ooh, this new XConfig l -> XConfig l' function makes the docs disappear! darcs-hash:20071112044102-78224-e7001d7115223273b73a9229f954db3f70541a1e.gz
* revert UrgencyHook behavior back to ICCCM non-complianceDevin Mullins2007-11-121-21/+53
| | | | | | | | | | | | | | Note: If you're using UrgencyHook, this will break your config. @withUrgencyHook SomeUrgencyHook@ is XConfig -> XConfig, now. The layout hook has been renamed to urgencyLayoutHook. It may also be worth noting that, in order to recreate the old behavior without using redoLayout (so that this may be ported to an eventHook), I had to hijack logHook. Shouldn't harm anything, though. TODO: update main docs darcs-hash:20071112043325-78224-ce6010e269c19113dd7a1b736e1e520d2980aa58.gz
* add StdoutUrgencyHook, to help debug weird client behaviorDevin Mullins2007-11-121-3/+13
| | | | darcs-hash:20071112015855-78224-459555edb4a9acd4a06a1ae1960eb3b9e8a3d6ee.gz
* let clients track their urgency, per ICCCMDevin Mullins2007-11-111-22/+14
| | | | | | This removes the dependency on redoLayout -- now WithUrgencyHook defines handleMess only. darcs-hash:20071111021241-78224-fa4fa870f64f24bb4ea227242fc5775dd68a151a.gz
* wrap user code in userCode, go figureDevin Mullins2007-11-111-3/+2
| | | | | | (thanks à shachaf for that suggestion) darcs-hash:20071111002617-78224-7920bc75560383513979d9e550025eb6a19654fb.gz
* add LANGUAGE PatternGuards to UrgencyHookDevin Mullins2007-11-111-1/+1
| | | | darcs-hash:20071111002238-78224-c3a9e8f63f65457fce5a8c17c936fc84f0484d16.gz
* remove dead docoDevin Mullins2007-11-111-4/+2
| | | | darcs-hash:20071111001443-78224-5360b6c99b67f3f725005b770fde5909701f3f80.gz
* clarify config code... a bitDevin Mullins2007-11-111-4/+3
| | | | darcs-hash:20071111000933-78224-9706f2df9492cadb87966ef33f03002240b25e1a.gz
* fix doco for UrgencyHookDevin Mullins2007-11-111-22/+14
| | | | darcs-hash:20071111000046-78224-eff903bd0323eaf7e66b73f4a21ffe5d8138f6aa.gz
* add NoUrgencyHook, for shachaf's sakeDevin Mullins2007-11-111-0/+6
| | | | darcs-hash:20071110235857-78224-5b1417dbede07c8850509972e45dc93db106df62.gz
* oops, export the configuration optionsDevin Mullins2007-11-111-1/+2
| | | | darcs-hash:20071110233313-78224-a21b063c44049f269d4f43d86fc427dbf6484f1e.gz
* add dzenUrgencyHook backDevin Mullins2007-11-111-4/+27
| | | | | | TODO: fix all the doco darcs-hash:20071110232706-78224-44f4f2a6c3cdefa2313cd684ce3a526bd78babf1.gz
* get UrgencyHook to compileDevin Mullins2007-11-101-10/+17
| | | | | | | (The boilerplate, it burns!) Still isn't useful (to me) yet, as I haven't ported dzenUrgencyHook to the new UrgencyHook class. darcs-hash:20071110224303-78224-54e4049d4a3fcb1d97b87fe29bb3fc08697aadd0.gz
* HierarchifySpencer Janssen2007-11-011-0/+134
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz