You are not logged in.

#1 2013-12-15 23:56:31

rollenwiese
Member
Registered: 2008-02-24
Posts: 69

Awesome WM - awful.rules conky

Trying to set up an awful.rule that sets the Conky class window to floating and centered on the current screen.

I expected this awful.rule to be applied when a client first connects, but it isn't. If a Conky class window is active, and I restart Awesome it will apply the rule.

I'm not quite sure what I'm missing in order to have the rule applied at the time a client first connects? awful.placement has no effect on other applications as well. Welcome any input - Thanks,

rc.lua: http://pastebin.com/YbzS8vsE

rule as I have it:

    { rule = { class = "Conky" },
		properties = { floating = true, sticky = false, ontop = true, focusable = true,
		function(z)
			--z:geometry({ width=400, height=800 })
			awful.placement.centered(z,nil) 
      end } }, 

Last edited by rollenwiese (2013-12-16 03:04:59)

Offline

Board footer

Powered by FluxBB