Commit Graph

3680 Commits

Author SHA1 Message Date
Julien Danjou 77510610d2 awful.widget: tasklist need update on arrange
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 00:06:22 +01:00
Julien Danjou ab2502c6c6 awful.widget: update taglist on focus change
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-03 11:48:23 +01:00
Julien Danjou 00149a0e90 draw: fix text alignment on small width
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-03 11:11:11 +01:00
Julien Danjou 35811f9c36 draw: height computing honor margin top
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-03 11:10:05 +01:00
koniu 46b3a14a8f awsetbg: add solid xsetroot fallback if no real wpsetters
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-01 19:37:03 +01:00
Sébastien Gross f5bf5aa43d awful.prompt: Add support for KP_Return
* The numeric paddle Enter key wasn't processed

Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-29 09:30:28 +01:00
Julien Danjou c7529c486d change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-28 14:37:20 +01:00
Michael Hofmann 3cc7843f05 awful.widget: fix iteration over removed elements
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 11:20:25 +01:00
Julien Danjou 5fecdc052d awful.client: fix iteration over removed elements
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 11:18:35 +01:00
Maarten Maathuis e6905ededb awful.client: fix minor luadoc issue
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 10:58:10 +01:00
Julien Danjou c7ee83fdbf naughty: notify() returns notification object
This makes notification mangling outside of naughty.lua much easier:
http://awesome.naquadah.org/wiki/index.php?title=Naughty#Popup_calendar

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-25 09:47:46 +01:00
Julien Danjou a8a055af07 awesomerc: use byidx()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-25 08:59:38 +01:00
Julien Danjou 1a32c2e3db theme: change default background
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 20:28:04 +01:00
Julien Danjou 97ca8acc80 awesomerc: typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:59:44 +01:00
Julien Danjou 32e69bc1cc awesomerc: add missing check for client.focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:52:58 +01:00
Julien Danjou 41c6fbb31c awful.prompt: return true since we unregistered (FS#383)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 11:56:42 +01:00
Julien Danjou 9abf89da2a keygrabber: remove duplicate case (FS#386)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 11:24:19 +01:00
Maarten Maathuis 76b511375a magnifier: try harder to find parent of dialog
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:38:26 +01:00
Maarten Maathuis 45f2b79a98 awesomerc: delay client focus until after it's on the right tag.
- This avoids seeing the client for a split second on the current tag.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:37:10 +01:00
Maarten Maathuis 69f0796762 awful.client: fix luadoc syntax for visible function.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:36:42 +01:00
Julien Danjou a0d68c793d theme: change default background
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 17:31:12 +01:00
Julien Danjou 46822d510b naughty: fix font support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 14:41:03 +01:00
Julien Danjou 281e562182 awsetbg: add manpage
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:43:36 +01:00
Julien Danjou 5afca2e182 awsetbg: remove -B option
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:35:03 +01:00
Julien Danjou 3cc96c7c33 change codename
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:09:16 +01:00
Julien Danjou 8e65cb2037 build: do not use git dashed command
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 11:04:10 +01:00
koniu 0e97360d32 naughty: fix a bug with variable width popups
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-21 09:21:20 +01:00
koniu 64f0848940 naughty: fix beautiful support properly
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-21 09:21:20 +01:00
koniu c453d6c611 naughty: arg 'screen' to notify() is now respected
Signed-off-by: Matthias Schroeder <ms@softimpulse.de>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-20 20:36:05 +01:00
Julien Danjou d1db6903fa luaa: check that function is not NIL before pushing and calling
Otherwise we may push unused elements because dofunction() checked
_after_ if the function was nil, or not.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:48:23 +01:00
Julien Danjou ee8bcd6c43 tag: always call tagged hook with 2 args
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:47:48 +01:00
Julien Danjou e1ddf089a2 tag: unref after calling hook
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 17:47:13 +01:00
Pawel F 530b170cf0 awsetbg: add habak support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-20 10:40:44 +01:00
Julien Danjou 6cbbd45d3a awful.widget: fix name on minimize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 21:17:15 +01:00
Norbert Zeh 5302d707db Made the fair layout really fair
The fair layout had the same issue as the slave columns in tiling layout
in that all strips were filled maximally with cells up to the last, and
the last strip may have significantly fewer cells than the other strips.
In my mind, that's not fair.  The new strategy makes sure the numbers of
cells in any two strips differ by no more than one.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 17:02:58 +01:00
Sébastien Gross edd0ae73e2 awsetbg: Add montage(1) support
* Using -m X (X standing for screen number) the give background image is
  converted to a big image in the <cache directory>/montage.png.
  Limitations:
    + -m should be the last argument before the image name
    + for better results screens should have the same sizes and the background
      image should fit one screen size.

Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 14:18:35 +01:00
koniu 4c031ba398 awful.prompt: add trail space in prompt_text_with_cursor()
Adds a trailing space after text if cursor position < text length to
prevent width of the widget changing particularly useful when using
'text' and 'selectall' to do eg. in-place renaming.

Sample textbox content (# space, _ cursor).

Before:
    textbox before prompt: #term#
selectall prompt textbox : #_erm   <- shorter than other cases
      after pressing end : #term_

After:
    textbox before prompt: #term#
selectall prompt textbox : #_erm#
      after pressing end : #term_

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-19 13:00:04 +00:00
koniu b4f16ff649 awful.prompt: new arg 'selectall' in add()
If set along with 'text' (prefilled content) it will position the cursor at
the beginning of the line and and on text input (and not control keys,
arrows, etc.) will overwrite the prefilled content with the new input.

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-19 13:21:12 +01:00
koniu 65d5e29141 naughty: new argument 'width' in notify()
Signed-off-by: Sébastien Gross <seb@chezwam.org>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-19 10:50:19 +00:00
Julien Danjou cccd04b2c4 dbus: refer to D-BUs
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-18 15:20:50 +01:00
Julien Danjou 0e31cdfc62 client: fix titlebar stacking
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-18 10:39:42 +01:00
Julien Danjou aca61daecd config check: be more precise about what we check
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:45:53 +01:00
Julien Danjou 73ff89f897 awesome.1: add missing key bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:45:18 +01:00
Julien Danjou 1bf3336024 awesomerc.5: update
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:36:00 +01:00
Julien Danjou 26b9c88de2 awful.widget: document taglist_squares_resize and fix
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:33:21 +01:00
Maarten Maathuis 223c052760 client: drop unnecesary resize
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:26:14 +01:00
Maarten Maathuis 26cff63e42 client: fix typo
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:25:59 +01:00
Maarten Maathuis bfcd5b14a2 client: Make sure the titlebar is visible.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 20:25:21 +01:00
koniu a9ed61589f awful.prompt: add new field 'text' to run() args
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-17 20:21:12 +01:00
Julien Danjou c63f16b233 client: geometry() honors size hints hint
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 16:25:54 +01:00