Commit Graph

3819 Commits

Author SHA1 Message Date
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
Julien Danjou e6f0e38881 magnifier: use border size when n = 1
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 15:12:46 +01:00
Julien Danjou a329da144d wibox: kick systray on detach
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 13:55:59 +01:00
Julien Danjou 5cc82a4af5 buffer: use a_strlen()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 12:07:55 +01:00
Michael Hofmann 2946aa3750 client: stack wiboxes on top of desktop windows
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 09:58:43 +01:00
Julien Danjou 9e877b57d2 client: fix translator for fixed window, add BELOW (FS#377)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-17 09:56:34 +01:00
Julien Danjou ac9b673371 awesome.1: remove tabulous bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-16 18:18:02 +01:00
koniu 651b5e5f70 naughty: new config option 'margin' + 2 renamed
* Renamed config.margin to config.padding. Controls spacing between popup and
  workarea border.

* Renamed config.gap to config.spacing. Controls spacing between popups.

* Added config.margin. Controls spacing between popup wibox and text.

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-15 20:08:17 +00:00
koniu e536dbe2ea naughty: text-icon separator uses margin now
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-15 18:39:26 +00:00
koniu edeabd1a8b naughty: popup size can now adjust to icon height
* If icon is present, popup height will now be adjusted to the greater
  of text-height and icon-height.
* Reorganized notify() into more logical order to allow this.

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-15 16:55:38 +00:00
koniu 3cc64ab081 naughty: fix a bug in destroy()
+ hooks.timer.unregister gets notification.die not .timer
+ remove pointless comments

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-15 15:25:22 +00:00
Julien Danjou d6964c2052 client: register floating geom if it comes from floating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-15 14:18:49 +01:00