Re: Rules not working
The class of the firefox window is not Navigator, that’s its inrsance name… Try this : { rule = { instance = Navigator, role = browser }, properties = { maximized_horizontal = true, maximized_vertical = true } }, 2011/4/8 Vitor Eiji Justus Sakaguti vitorei...@gmail.com: Hi, I have rules in my rc.lua to make the firefox window maximized but they are not working. In my rc.lua: { rule = { class = Navigator, role = browser }, properties = { maximized_horizontal = true, maximized_vertical = true } }, And xprop | grep -e CLASS -e ROLE on firefox window: WM_WINDOW_ROLE(STRING) = browser WM_CLASS(STRING) = Navigator, Firefox I also tried a rule with class = Firefox, to no avail. Finally, a little inspection with awesome-client: awesome#ff.class string [string ff.class]:1: '=' expected near 'eof' awesome#return ff.class string Firefox awesome#return ff.role string browser Where ff is the firefox client. Of course, by doesn't work I mean that the browser window opens unmaximized (both horizontally and vertically). $ awesome --version awesome v3.4.9 (Smack) • Build: Jan 18 2011 11:30:02 for x86_64 by gcc version 4.5.2 (vitor@agilaz) • D-Bus support: ✔ Does anyone have any idea why the rules don't apply as one would expect? Thanks! -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org. -- Vivian Brégier http://www.are-ata.org/Vivian.vcf -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: Rules not working
2011/4/8 Patrick Börjesson psychoti...@lavabit.com: Have you tried: { rule = { class = Firefox, instance = Navigator }, properties = { maximized_horizontal = true, maximized_vertical = true } }, And On Fri, Apr 8, 2011 at 4:43 AM, Vivian Brégier vivian.breg...@are-ata.org wrote: The class of the firefox window is not Navigator, that’s its inrsance name… Try this : { rule = { instance = Navigator, role = browser }, properties = { maximized_horizontal = true, maximized_vertical = true } }, Thanks both of you, but still no success. A little more inspection with awesome-client tells me that, in fact, the client's properties are set correctly, that is, the client has maximized_horizontal = true and maximized_vertical = true, but the window is not maximized. Also, if I hit mod4+m (the default maximize client shortcut, which I did not change) the window is not maximized, but it is moved to position 0,0 of the screen. If I hit mod4+m again, then it works. I don't see anything that could be causing this in my rc.lua, but here it is: http://pastebin.com/pSrnxQ0F Oh, by the way, my firefox is 4.0 (running archlinux here). Thanks! -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
wibox bg_image
i have found the table key bg_image in the api documention. http://awesome.naquadah.org/doc/api/modules/wibox.html But if I use it, with something like this: sightbox[1] = awful.wibox({ position = bottom, height = 32, screen = 1 bg_image = /path/to/image.png}) , nothing happens. I have grep'ed the wibox library files with no hit. Is this key still used? Or do i use it wrong? Thx for all, mates :-) -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
Re: wibox bg_image
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 08.04.2011 17:13, The Sighter wrote: i have found the table key bg_image in the api documention. http://awesome.naquadah.org/doc/api/modules/wibox.html But if I use it, with something like this: sightbox[1] = awful.wibox({ position = bottom, height = 32, screen = 1 bg_image = /path/to/image.png}) bg_image = image(/path/to/image.png) (No idea if this works, but that's how the taglist uses it) Uli - -- Sometimes the people that know software the best are the ones that hate it the most. -- infogulch -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBCAAGBQJNnyguAAoJECLkKOvLj8sGhGgIAJMAw7dhfaakqRONJFGXeN0W P/GEv7EzkCeGKo4pYYoML3yCxcEm8Xszo0Bm7pQD7xjUH1QiXyk7qMSnVwfTIB93 9fDxh8r40MEK+ekmqXklqwczuZItU441BMz4SP6DK0dX7kEef49bXx3qpNG1vfVP /0LbF3D8lJGOlRmF6aHg8xVNu6FE4XemKAw9dClX3xk5pBcYza7cVAKB6fdOhTNd Z/C+0zGk5+f1F+PYbqpIEbzWaMrIEcCrORHX/uEVspA3BGfM1lbSq0V//lhoSWv7 10SC+/hZiBojD13TRGFLPNJ3TNEXN7T+aU53WO6YyOejSg4cZfWZvwyCvtXdzGQ= =tmZO -END PGP SIGNATURE- -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
how to let widget has a flexible length
how to let widget's length is flexible , so that the mpd widget will not override other widget, because the mpd widget's length will change. belowing is a clip of my mpd widget: Thanks for your help in advance -- MPD widget mpdwidget = widget({ type = 'textbox' }) vicious.register(mpdwidget, vicious.widgets.mpd, function (widget, args) if args[{state}] == Stop then return elseif args[{state}] == Play then -- return .. colwhi .. mpd: .. coldef .. colbred .. args[{Title}] .. - .. args[{Artist}] .. coldef .. return .. colwhi .. ♀♀ : .. coldef .. colbblu .. args[{Title}] .. - .. args[{Artist}] .. coldef .. elseif args[{state}] == Pause then return .. colwhi .. ♀ : .. coldef .. colbblk .. Paused .. coldef .. end end) mpdwidget:buttons( awful.util.table.join( awful.button({}, 1, function () awful.util.spawn(mpc toggle, false) end), awful.button({}, 2, function () awful.util.spawn( terminal .. -e ncmpcpp) end), awful.button({}, 4, function () awful.util.spawn(mpc prev, false) end), awful.button({}, 5, function () awful.util.spawn(mpc next, false) end) ) ) -- I try to detoxify my memory. Forget can not be treated as betray. It's not certainly a love even though you remember to the end of your life. -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
[awesome bugs] #883 - awful.autofocus and moving clients
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#883 - awful.autofocus and moving clients User who did this - Uli Schlachter (psychon) -- What exactly do you do to make this happen? -- More information can be found at the following URL: https://awesome.naquadah.org/bugs/index.php?do=detailstask_id=883#comment2593 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above. -- To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.