awesome

Welcome to awesome bug tracking system.
Tasklist

FS#704 - trigger for spawn to run command in xterm

Attached to Project: awesome
Opened by Lee Bigelow (ligelowbee) - Saturday, 19 December 2009, 21:16 GMT
Last edited by Gregor Best (farhaven) - Saturday, 19 December 2009, 21:53 GMT
Task Type Feature Request
Category Lua libraries → awful
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version git/master
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I liked Ion's use of ":" to signify that the command needs to be run in a terminal.
Basically ":mc" opens a terminal running mc. Excellent.

I've attached a diff showing how I get this to work with the awful/util.lua spawn() function.
I've hard-coded the use of 'xterm -e', what I'd like is to pull the value of the 'terminal' variable from the users config file. Is this possible?
Or maybe set and use an environmental variable, like AWESOME_TERM?
This task depends upon

Closed by  Gregor Best (farhaven)
Saturday, 19 December 2009, 21:53 GMT
Reason for closing:  Won't implement
Additional comments about closing:  There is no real reason to do this in awful. The prompt gets a callback to a run function as one parameter, this could be done inside your config with ~5 lines of code :)

Loading...