At Sat, 30 May 2009 23:11:22 +0200
Paweł Zuzelski wrote:
> Hello,
>
> how to assign a newly spawned client to a variable in
> awesome-3.3rc4?
>
> I tried:
>
> awful.util.spawn_with_shell("LANG=pl_PL.UTF8 xterm -e ssh example.net -t
> screen -rU") im_irssi = client.focus
>
> But it does not work. im_irssi is previosly focused client. I guess
> that is because "= client.focus" is executed before xterm displays
> window.
>
Dumb question, why don't you just set the variable in the manage hook?
--
GCS/IT/M d- s+:- a--- C++ UL+++ US UB++ P+++ L+++ E--- W+ N+ o--
K- w--- O M-- V PS+ PE- Y+ PGP+++ t+ 5 X+ R tv+ b++ DI+++ D+++ G+
e- h! r y+
Gregor Best
signature.asc
Description: PGP signature
