On Wed, Mar 10, 2010 at 11:50:53PM -0800, jesse wilson wrote:
> Hello,
> I want to use the first tag of awesome to contain gnu screen in
> fullscreen mode, with no titlebar (I have titlebars for all other
> programs) The problem is, screen doesn't produce a change in wm_name
> for the terminal it is running in, nor in wm_class. I'm thinking I
> need to a) start screen from the awesome config, and somehow get its
> pid as it starts, and b) use it's pid to ensure that it is running in
> fullscreen mode and with no titlebar. I'd also like screen to always
> be beneath other programs in this tag and I'd like to do as much of
> this as possible from the rules section, but specific to this pid.
> Does anyone know how to accomplish this? Thanks in advance,
> 
> Jesse

define a name for your terminal using the -name parameter, then you can
filter that name in the rules section using instance.

for example, i have this in my keybindings:

awful.key({ modkey, "Control" }, "e", 
        function () awful.util.spawn("urxvt -name mutt -e mutt") end),

and this in my rules:

{ rule = { instance = "mutt" },
        properties = { tag = tags[2][3] } },

-- 
Alex Alexander :: wired
Gentoo Developer
www.linuxized.com

Attachment: pgpVTFYt1BeAa.pgp
Description: PGP signature

Reply via email to