Application + Parameters Launch

Hi, I just made a contrib module to allow me launch applications asking user for parameters. I made a patch in darcs version of xmonad-contrib. I was pleased to send it to xmonad people. I works as in the example:
import XMonad.Actions.Applauncher import XMonad.Prompt ... , ((modm, xK_g), AL.launchApp defaultXPConfig "gimp" )
And when you launch gimp, it use Prompt to ask user the parameters (the file to open e.g) Thanks, -- Luis Cabellos, "Sonrie cuando te vayas a fosilizar, Que no piensen luego que lo has pasado mal"

On Tue, May 13, 2008 at 06:52:28PM +0200, Luis Cabellos wrote:
I just made a contrib module to allow me launch applications asking user for parameters. I made a patch in darcs version of xmonad-contrib.
Applied. Thanks! Shouldn't this go in XMonad.Prompt with the others, though?

I used XMonad.Actions.Search as template, but I agreed with you that its a
little code and maybe it can be merged with other module.
On Tue, May 13, 2008 at 7:11 PM, Devin Mullins
On Tue, May 13, 2008 at 06:52:28PM +0200, Luis Cabellos wrote:
I just made a contrib module to allow me launch applications asking user for parameters. I made a patch in darcs version of xmonad-contrib.
Applied. Thanks! Shouldn't this go in XMonad.Prompt with the others, though? _______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Luis Cabellos, "Caótico-Neutral significa no tener que decir nunca lo siento" "Hago milagros, convierto el agua en vino, me resucito si me hago un canuto, soy Evaristo el Rey de la Baraja, vivo entre rejas, antes era chapista" "Me da igual, me voy a poner deltoya sin parar" "Sonrie cuando te vayas a fosilizar, Que no piensen luego que lo has pasado mal" "Recordad la triste historia del insomne disléxico agnóstico que se pasa las noches en blanco pensando si Soid existe" "Es como preguntarle a la Peste si conoce a amigos para una juerga y que ésta se traiga a Guerra, Hambre y Muerte." "Voy a jugar al Track & Field ! Con las Luces de TU CASA!!!"

On Tue, May 13, 2008 at 07:20:05PM +0200, Luis Cabellos wrote:
I used XMonad.Actions.Search as template, but I agreed with you that its a little code and maybe it can be merged with other module.
XMonad/Prompt is a directory full of little prompt modules. I'm thinking both Search and AppLauncher belong in there. (Moving Search might warrant some sort of deprecation module that spits out an xmessage, to be nice. Overkill? Underkill?)

On 2008.05.13 10:55:52 -0700, Devin Mullins
On Tue, May 13, 2008 at 07:20:05PM +0200, Luis Cabellos wrote:
I used XMonad.Actions.Search as template, but I agreed with you that its a little code and maybe it can be merged with other module.
XMonad/Prompt is a directory full of little prompt modules. I'm thinking both Search and AppLauncher belong in there.
(Moving Search might warrant some sort of deprecation module that spits out an xmessage, to be nice. Overkill? Underkill?)
Overkill, IMO. Keep a nice changelog of breaking changes (on the wiki), and a knowledgeable IRC channel, and people'll be fine. Deprecation methods are that much more discouraging code and overhead. -- gwern SWAT Pine domination gchq.gov. FLiR ASIS CSE Macintosh Macintosh detection

I move the AppLauncher to Promp module. The patch its attached to this mail.
On Tue, May 13, 2008 at 9:28 PM, Gwern Branwen
On 2008.05.13 10:55:52 -0700, Devin Mullins
scribbled 0.4K characters: On Tue, May 13, 2008 at 07:20:05PM +0200, Luis Cabellos wrote:
I used XMonad.Actions.Search as template, but I agreed with you that its a little code and maybe it can be merged with other module.
XMonad/Prompt is a directory full of little prompt modules. I'm thinking both Search and AppLauncher belong in there.
(Moving Search might warrant some sort of deprecation module that spits out an xmessage, to be nice. Overkill? Underkill?)
Overkill, IMO. Keep a nice changelog of breaking changes (on the wiki), and a knowledgeable IRC channel, and people'll be fine. Deprecation methods are that much more discouraging code and overhead.
-- gwern SWAT Pine domination gchq.gov. FLiR ASIS CSE Macintosh Macintosh detection
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Luis Cabellos, "Sonrie cuando te vayas a fosilizar, Que no piensen luego que lo has pasado mal"
participants (4)
-
Devin Mullins
-
Gwern Branwen
-
Luis Cabellos
-
Spencer Janssen