On 16 Jul 2004 11:46:57 +0300, Alexander V. Butenko wrote: > > in the manual i found a variable $[desk.name X], where X is the desktop > number. It returns the name of X desktop. Is it possible to make a feature > that checks if $[desk.name] used without the desktop number specification it > will return the name of current desktop. Now i realize this thing with a > little shell script, but this solution will be more better for me.
This is possible, but requires some work: PipeRead `echo 'Echo $$[desk.name$[desk.n]]'` You may need '$$$$' if such PipeRead is part of another command like Key or Mouse. In the future, I hope fvwm will support nested variables, i.e. simply: $[desk.name$[desk.n]] Regards, Mikhael. -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
