19 Commits

Author SHA1 Message Date
Christian Thiemann
830945336f Move runXXX functions to one module
This patch takes runProcessWithInput out of Dmenu, runProcessWithInputAndWait
out of Dzen, and runInXTerm out of RunInXTerm and collects them in one central
module called Run.  This way, other modules may include Run instead of Dmenu
to get what they want without giving the impression of making use of dmenu.
2007-10-12 14:52:33 +00:00
Spencer Janssen
067bda6f29 defaultLayouts -> layouts 2007-10-15 20:55:42 +00:00
Don Stewart
864dd9cea8 WorkspaceDir introduces dependency on directory package 2007-10-13 23:01:02 +00:00
Shachaf Ben-Kiki
73c055bd46 Add LANGUAGE pragams
It seems that GHC 6.6 just enables -fglasgow-exts when it sees any LANGUAGE
pragma, so not all of them were added; this patch adds the rest of them, which
is necessary for xmonad to compile in GHC >=6.7.
2007-10-08 02:21:41 +00:00
Devin Mullins
51d770e1e6 Maybe? What Maybe? (rollback earlier dmenu change) 2007-10-07 18:59:15 +00:00
Devin Mullins
beaead5256 change Dmenu functions to return IO/X (Maybe String)
dmenu exits with code 1 when you hit Escape, and I wanna create a contrib that
takes advantage of that.

This required changes in four contribs (Commands, DirectoryPrompt, ShellPrompt,
and WorkspaceDir), and might require changes in users' Configs. Also, I'm not
sure some of the changes I made to the client code are very Haskelly. Would
appreciate input there.
2007-10-06 07:09:59 +00:00
David Roundy
db1026f6e9 some renaming of classes and data types. 2007-09-29 19:12:38 +00:00
Spencer Janssen
de6968d1b4 Use LANGUAGE pragmas over -fglasgow-exts 2007-09-28 18:16:14 +00:00
David Roundy
38657d40c6 update WorkspaceDir. 2007-09-23 22:14:56 +00:00
Michael Fellinger
44a2e41a15 Fixing some typos and grammar in documentation. 2007-09-11 02:31:58 +00:00
David Roundy
c7728a6b6a cleanup in WorkspaceDir. 2007-08-27 18:58:33 +00:00
Alex Tarkovsky
d0adeca94a Docstring parser for generating xmonad build configs with default settings for extensions 2007-09-05 20:01:28 +00:00
David Roundy
002b15cb1f use XPrompt in WorkspaceDir. 2007-08-14 19:11:03 +00:00
David Roundy
1847aa7982 fix WorkspaceDir (which was broken) using LayoutHelpers. 2007-07-26 13:35:20 +00:00
joachim.fasting
88d77b244f Fix type signatures.
Think this fixes the rest of the errors caused by the Layout change.
2007-06-19 22:03:23 +00:00
Andrea Rossato
3d8e47448f WorkspaceDir.hs: info and documentation 2007-06-14 14:44:43 +00:00
David Roundy
1fdb6700d5 add -fglasgow-exts to some modules that use it. 2007-06-12 17:03:49 +00:00
Spencer Janssen
e8e8457e4c Rename safeIO to catchIO 2007-06-11 16:20:28 +00:00
David Roundy
1a90e87933 add WorkspaceDir, which sets the current directory in a workspace.
Actually, it sets the current directory in a layout, since there's no way I
know of to attach a behavior to a workspace.  This means that any terminals
(or other programs) pulled up in that workspace (with that layout) will
execute in that working directory.  Sort of handy, I think.
2007-06-11 15:40:41 +00:00