Commit Graph

12 Commits

Author SHA1 Message Date
Spencer Janssen
df3d489284 Remove spurious output from ShellPrompt 2007-10-11 18:28:16 +00:00
gwern0
a82a44282f ShellPrompt.hs: add getShellCompl to export list
getShellCompl is useful for writing prompts in Config.hs or even full standalone prompts; and personally, if a  small utility function like 'split' can be exported, how much more so something useful like getShellCompl?
2007-10-07 22:02:36 +00:00
Devin Mullins
51d770e1e6 Maybe? What Maybe? (rollback earlier dmenu change) 2007-10-07 18:59:15 +00:00
Andrea Rossato
be8baa8324 ShellPrompt: check for executables and better error handling
Code contributed by Spencer (basically I just removed FilePath
depenency).
2007-10-07 11:01:33 +00:00
Andrea Rossato
0b3397aad3 ShellPrompt: fromMaybe requires importing Data.Maybe 2007-10-07 07:01:48 +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
Andrea Rossato
509416d0d4 ShellPrompt: removed readline dependency and added escape character support 2007-10-05 11:22:50 +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
Andrea Rossato
3b89f02650 ShellPrompt: quickcheck related refactoring 2007-08-17 15:57:25 +00:00
Andrea Rossato
fb2a279ce5 ShellPrompt.hs: minor haddock corrections 2007-08-04 10:44:08 +00:00
Andrea Rossato
807942087a Prompts: updated and corrected usage info 2007-08-03 13:01:58 +00:00
Andrea Rossato
8bce5f221b ShellPrompt: a graphical shell prompt
This module requires readline and so a modification to xmonad.cabal. See
usage for instructions.
2007-08-02 15:58:45 +00:00