aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Hooks/UrgencyHook.hs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-08-21change withUrgencyHookC apiDevin Mullins1-18/+21
Now it takes an UrgencyConfig record type. darcs-hash:20080821052046-78224-6c4d5419c421596ccd604e1851b0e2594ffd653c.gz
2008-08-16X.H.UrgencyHook: haddock fixesDevin Mullins1-2/+2
darcs-hash:20080816195220-78224-2d927cfd9f8a6bcd1b3edd22bcb1de2a0926c042.gz
2008-07-17XMonad.Hooks.UrgencyHook: +FocusHookgwern01-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
2008-07-14callUrgencyHook after adjustUrgentsDevin Mullins1-2/+2
So folks can readUrgents inside their urgencyHook, should they so desire. darcs-hash:20080714043020-78224-b75d65a74cda046369c256bcd3d0813c20219204.gz
2008-05-25more documentation for WindowNavigation and UrgencyHookDevin Mullins1-0/+26
darcs-hash:20080525050231-78224-669c83df86a8b585883d0fb3ef054e37670261e8.gz
2008-05-24doco tweaksDevin Mullins1-2/+2
darcs-hash:20080524211849-78224-630b08f09dcd25240be37a710801e595cae7476a.gz
2008-05-15UrgencyHook: removeVisiblesFromUrgents -> cleanupUrgentsDevin Mullins1-16/+22
Now only removes windows based on SuppressWhen setting. darcs-hash:20080515164436-78224-0ef49f8355ace31ddbef6b6264ae9f2a8a750c89.gz
2008-05-15decent documentation for UrgencyHookDevin Mullins1-34/+124
Blame it on lack of sleep. Or perhaps the causation is the reverse. darcs-hash:20080515082222-78224-3ad2870a4f5e56481131bd4898f0d3154bb89694.gz
2008-05-15X.A.WindowNavigation: have currentPosition handle axes independentlyDevin Mullins1-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
2008-05-14UrgencyHook: some documentation (more is needed)Devin Mullins1-5/+27
darcs-hash:20080514080104-78224-1f2c27c166eef8f9ec47b6a969991e8ab4f266d7.gz
2008-05-14UrgencyHook: got rid of the need for instances to know about suppressWhenDevin Mullins1-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
2008-05-13pull suppressWhen logic into main WithUrgencyHook handlerDevin Mullins1-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
2008-05-13add suppressWhen option to dzenUrgencyHookDevin Mullins1-11/+22
darcs-hash:20080513054615-78224-e0a1d29bd1c0fc6dff2b30649a30e803bc6ad040.gz
2008-05-12UrgencyHook: doc typoDevin Mullins1-2/+2
darcs-hash:20080512052137-78224-b4dd19b18fa2dd98bc1fc51aa3adaf8627d781d0.gz
2008-05-12UrgencyHook: extract whenNotVisibleDevin Mullins1-5/+10
darcs-hash:20080512041852-78224-4d0176999f15eeed84428ad20fec485c0af7d114.gz
2008-05-12SpawnUrgencyHook, FWIWDevin Mullins1-0/+9
darcs-hash:20080512040449-78224-22bf6a8ae3f956e58d4dc0142c88643dfcfea5f3.gz
2008-05-12make UrgencyHook an EventHookDevin Mullins1-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
2008-04-26bug doco for UrgencyHookDevin Mullins1-0/+4
darcs-hash:20080426203638-78224-a93e768bf2e8d94d1bef2f4df1d03fe164caf743.gz
2007-12-08Remove XMonad.Operations importsSpencer Janssen1-1/+0
darcs-hash:20071208000547-a5988-874ebc1bfa76ad6ec2191812240fa2303b2d531c.gz
2007-12-08Prune more importsSpencer Janssen1-2/+0
darcs-hash:20071207235116-a5988-563cabf7a60a879beb0eb54c9e352a1c27b7729f.gz
2007-12-08Remove redundant importsSpencer Janssen1-2/+0
darcs-hash:20071207233827-a5988-9e41d51120499637f14d115f2cf1428edaf326bb.gz
2007-12-01add to Droundy a non-working urgency hook and enable avoidStruts.David Roundy1-0/+1
darcs-hash:20071201132910-72aca-07e111e0721b34cfc038b59fa4d55622df05ae06.gz
2007-11-22UrgencyHook: haddock fixesDevin Mullins1-9/+13
darcs-hash:20071122065616-78224-24f6697f261b620b85d9ceb3aef0a05fe4e97a0c.gz
2007-11-14UrgencyHook.hs: small haddock fixAndrea Rossato1-0/+1
darcs-hash:20071114104844-32816-666b851e98e4503bf5d83add79d004c1d3be4ff9.gz
2007-11-12remove dead codeDevin Mullins1-4/+1
darcs-hash:20071112184857-78224-bbd65a006c4469349205e934d919480d60646160.gz
2007-11-12fix intro doco for UrgencyHookDevin Mullins1-9/+5
Ooh, this new XConfig l -> XConfig l' function makes the docs disappear! darcs-hash:20071112044102-78224-e7001d7115223273b73a9229f954db3f70541a1e.gz
2007-11-12revert UrgencyHook behavior back to ICCCM non-complianceDevin Mullins1-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
2007-11-12add StdoutUrgencyHook, to help debug weird client behaviorDevin Mullins1-3/+13
darcs-hash:20071112015855-78224-459555edb4a9acd4a06a1ae1960eb3b9e8a3d6ee.gz
2007-11-11let clients track their urgency, per ICCCMDevin Mullins1-22/+14
This removes the dependency on redoLayout -- now WithUrgencyHook defines handleMess only. darcs-hash:20071111021241-78224-fa4fa870f64f24bb4ea227242fc5775dd68a151a.gz
2007-11-11wrap user code in userCode, go figureDevin Mullins1-3/+2
(thanks à shachaf for that suggestion) darcs-hash:20071111002617-78224-7920bc75560383513979d9e550025eb6a19654fb.gz
2007-11-11add LANGUAGE PatternGuards to UrgencyHookDevin Mullins1-1/+1
darcs-hash:20071111002238-78224-c3a9e8f63f65457fce5a8c17c936fc84f0484d16.gz
2007-11-11remove dead docoDevin Mullins1-4/+2
darcs-hash:20071111001443-78224-5360b6c99b67f3f725005b770fde5909701f3f80.gz
2007-11-11clarify config code... a bitDevin Mullins1-4/+3
darcs-hash:20071111000933-78224-9706f2df9492cadb87966ef33f03002240b25e1a.gz
2007-11-11fix doco for UrgencyHookDevin Mullins1-22/+14
darcs-hash:20071111000046-78224-eff903bd0323eaf7e66b73f4a21ffe5d8138f6aa.gz
2007-11-11add NoUrgencyHook, for shachaf's sakeDevin Mullins1-0/+6
darcs-hash:20071110235857-78224-5b1417dbede07c8850509972e45dc93db106df62.gz
2007-11-11oops, export the configuration optionsDevin Mullins1-1/+2
darcs-hash:20071110233313-78224-a21b063c44049f269d4f43d86fc427dbf6484f1e.gz
2007-11-11add dzenUrgencyHook backDevin Mullins1-4/+27
TODO: fix all the doco darcs-hash:20071110232706-78224-44f4f2a6c3cdefa2313cd684ce3a526bd78babf1.gz
2007-11-10get UrgencyHook to compileDevin Mullins1-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
2007-11-01HierarchifySpencer Janssen1-5/+5
darcs-hash:20071101201059-a5988-fc1f1262bec1b69e13ba18ae7cefeafc8c4471d4.gz
2007-11-03clean up destroyed windows from urgents listDevin Mullins1-2/+5
darcs-hash:20071103150358-78224-3ebb06a664f46b5277cd9fb84b76820a45eb0cc2.gz
2007-11-03add focusUrgent action, for those too lazy to readDevin Mullins1-0/+9
darcs-hash:20071103055458-78224-9fb8fee624a5d2bde6747a20980dc88c6b68b2ca.gz
2007-11-03changed urgent state from Set to listDevin Mullins1-8/+9
darcs-hash:20071103055143-78224-378f8e91e98699668529ea8d407e3562a31c2ef2.gz
2007-10-27use a global IORef to keep list of urgent windowsDevin Mullins1-15/+55
darcs-hash:20071027064810-78224-0ce0d902f9d8c5988bbd5f0d4d8e354acf478943.gz
2007-10-22Fix pragmas in XMonadContribShachaf Ben-Kiki1-0/+2
darcs-hash:20071022011738-bffde-f9e478770d4eb6900b4dff171fb950551aac85f5.gz
2007-10-19update UrgencyHook example config to reflect changes to WindowNavigation and ↵Brent Yorgey1-2/+2
core Config.hs darcs-hash:20071019145526-bd4d7-047adebfe8ec017ea89afd1fcf1c89473e412c6c.gz
2007-10-18change example to dzenUrgencyHookDevin Mullins1-12/+5
darcs-hash:20071018022026-78224-801dce0f1fb3cf4affa918665ec8195e50a98c1e.gz
2007-10-16rename LayoutSelect & defaultLayout in commentsDevin Mullins1-2/+2
darcs-hash:20071016051819-78224-bbfccd2607836f38a703ec40f85dbc2fdf89a0fd.gz
2007-10-12add import to comments, for clarityDevin Mullins1-0/+3
darcs-hash:20071012044555-78224-148a20c5ce8c05146293d3b28c1c16119caccb04.gz
2007-10-12documentation for UrgencyHookDevin Mullins1-2/+54
darcs-hash:20071012034506-78224-696f65ee0ba491fc134abd7c29b61e041a4e99b9.gz
2007-10-12d'oh, minor UrgencyHook cleanupDevin Mullins1-1/+1
darcs-hash:20071012032558-78224-183ef82b5abb7f3e9f0feeafec1b5b48d68a0123.gz