Commit Graph

591 Commits

Author SHA1 Message Date
Joachim Fasting
8a614b8328 Hooks/DynamicLog.hs: minor typo. 2007-11-19 13:12:18 +00:00
Devin Mullins
334ab53672 remove MessageHooks
Duplicating xmonad-core and working around static-linking issues was getting
old quick. MessageHooks is now a branch of core, located at:
  http://code.haskell.org/~twifkak/xmonad-MessageHooks
2007-11-19 07:04:17 +00:00
Devin Mullins
494fb4c419 make handle Just Another Message Hook 2007-11-19 04:17:31 +00:00
Shachaf Ben-Kiki
6302d0b0b9 Miscellaneous spell-checking 2007-11-18 23:03:19 +00:00
Don Stewart
e640def6d7 needs pattern guards 2007-11-18 05:32:04 +00:00
Devin Mullins
0cb0d3eef4 experimental MessageHooks "branch" of main
Doesn't do much now, but is enough to allow me to define noFollow again. :)
I believe the need to change XConfig may force this to be an *actual* branch of
xmonad core, but I'm not sure yet.
2007-11-18 01:08:36 +00:00
David Roundy
ffed7c0e02 remove unneeded Data.Bits imports. 2007-11-15 16:13:46 +00:00
"Valery V. Vorotyntsev"
d4f8502807 Tabbed.hs, SetWMName.hs: the modules need bitwise "or"
Tabbed.hs cleaned of trailing whitespace.
2007-11-15 14:37:58 +00:00
Don Stewart
964a511cd9 no need to import Data.Bits 2007-11-14 18:39:55 +00:00
Andrea Rossato
61b795d2e2 ManageDocks.hs: haddock fixes 2007-11-14 19:13:27 +00:00
Andrea Rossato
1eb69c2fdc UrgencyHook.hs: small haddock fix 2007-11-14 10:48:44 +00:00
Devin Mullins
7712f02ef8 remove dead code 2007-11-12 18:48:57 +00:00
Don Stewart
8d03f9d5d7 pattern guards and newtype deriving required for ManageDocks.hs to build! 2007-11-14 03:26:25 +00:00
David Roundy
de6b1feabf add ToggleStruts capability to avoidStruts. 2007-11-13 20:34:34 +00:00
Devin Mullins
fe5b0a0af1 fix intro doco for UrgencyHook
Ooh, this new XConfig l -> XConfig l' function makes the docs disappear!
2007-11-12 04:41:02 +00:00
Devin Mullins
5552c8c86d revert UrgencyHook behavior back to ICCCM non-compliance
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
2007-11-12 04:33:25 +00:00
Devin Mullins
a35b7ab6f3 add StdoutUrgencyHook, to help debug weird client behavior 2007-11-12 01:58:55 +00:00
David Roundy
e423e3eb34 changes to work with XConfig of kind * -> *. 2007-11-11 00:56:29 +00:00
Don Stewart
929e0b8638 font size 15 pixels is the dzen default 2007-11-09 19:03:28 +00:00
Devin Mullins
4835a3be3f let clients track their urgency, per ICCCM
This removes the dependency on redoLayout -- now WithUrgencyHook defines handleMess only.
2007-11-11 02:12:41 +00:00
Devin Mullins
92490057b4 wrap user code in userCode, go figure
(thanks à shachaf for that suggestion)
2007-11-11 00:26:17 +00:00
Devin Mullins
e31599860e add LANGUAGE PatternGuards to UrgencyHook 2007-11-11 00:22:38 +00:00
Devin Mullins
f4a5a3dc0c remove dead doco 2007-11-11 00:14:43 +00:00
Devin Mullins
c5410f7ee6 clarify config code... a bit 2007-11-11 00:09:33 +00:00
Devin Mullins
9d99b06220 fix doco for UrgencyHook 2007-11-11 00:00:46 +00:00
Devin Mullins
899bb99fad add NoUrgencyHook, for shachaf's sake 2007-11-10 23:58:57 +00:00
Devin Mullins
6a3e6d787f oops, export the configuration options 2007-11-10 23:33:13 +00:00
Devin Mullins
e4fe6c8994 add dzenUrgencyHook back
TODO: fix all the doco
2007-11-10 23:27:06 +00:00
Devin Mullins
4ec92c5054 get UrgencyHook to compile
(The boilerplate, it burns!) Still isn't useful (to me) yet, as I haven't
ported dzenUrgencyHook to the new UrgencyHook class.
2007-11-10 22:43:03 +00:00
David Roundy
48f23960be fix bug in avoidStruts. 2007-11-10 21:42:05 +00:00
David Roundy
39445183bc fix types to work with Mats fix to X11. 2007-11-08 19:23:18 +00:00
Mats Jansborg
107a957ff6 Change the type of properties from Word32 to CLong 2007-11-01 19:27:30 +00:00
David Roundy
7540b14963 fix bug in avoidStruts.
I've now tested this module, and it works on x86--but doesn't work on
x86-64, because ManageDocks doesn't work on 64-bit.  But in any case, it
works almost perfectly, with no user intervention needed (and no special
hooks).  The only catch is that it doesn't notice when a panel disappears,
so the layout won't adjust until the next refresh (e.g. if you change
focus, layout or workspace).
2007-11-08 17:52:50 +00:00
Andrea Rossato
c6c377a325 DynamicLog: typo in docs 2007-11-08 01:01:04 +00:00
Don Stewart
901522fc10 add higher order 'dzen' function
The intent is that:

    main = dzen xmonad

should just work, and indeed it does now, for launching a cool status
bar with minimal effort.
2007-11-07 18:31:07 +00:00
Spencer Janssen
e34a880460 Set defaultGaps for makeSimpleDzenConfig 2007-11-07 09:20:37 +00:00
Eric Mertens
4bfbc43023 DynamicLog: Add makeSimpleDzenConfig function
This function serves as an example for spawning a dzen2 instance and printing
the defaultPP to it.
2007-11-07 08:55:14 +00:00
Eric Mertens
68b04cba15 DynamicLog: add ppOutput field to PP
This allows the user to specify an alternate destination for logging output
instead of outputing to stdout (which is still the default).
2007-11-07 05:58:05 +00:00
gwern0
e13f9849ae EwmhDesktops: move to correct name, update so it compiles 2007-11-06 19:17:51 +00:00
Spencer Janssen
c1572fe940 Add LANGUAGE pragmas for ManageDocks 2007-11-06 02:15:07 +00:00
Spencer Janssen
cd1884466a Hierarchify 2007-11-01 20:10:59 +00:00