Commit Graph

69 Commits

Author SHA1 Message Date
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
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
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
koniu c86b41235f naughty: check workarea in get_offset, not at load
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-15 09:27:27 +00:00
Julien Danjou 2e97991a90 beautiful: merge awful.beautiful, stop registering system
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 11:54:23 +01:00
koniu 0d98ed7f5a naughty: cleanup of some code repetitions
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-05 02:18:01 +00:00
koniu 390b218526 naughty: new notify() parameter 'run'
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-05 02:03:28 +00:00
koniu 9447d29204 naughty: config.icon_size works now (FS#359)
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-04 20:10:31 +00:00
koniu 97194aaa98 naughty: new option 'config.hover_timeout'
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-04 19:35:18 +00:00
koniu 71b93f44dd naughty: destroy oldest if no room for new popup
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-03 21:14:19 +01:00
koniu 91dfbbb4eb naughty: icon_size added to config and notify()
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-03 21:14:13 +01:00
Julien Danjou 4eb096e236 libs: use geometry instead of coords
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 16:25:06 +02:00
Julien Danjou 862fe193ee Rewrite {tag,task}list in Lua.
This removes the C implementation of taglist and tasklist widgets and
use a Lua one.

This works by letting .widgets property of wiboxes to be a table with
table, and setting a special metatable on them which notify awesome on
newindex events, updating wiboxes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 20:06:09 +02:00
koniu a48e71af18 naughty: destroy() now takes object instead idx (FS #350)
Fixes the bug although still relies on index being passed with notification
in notify() and re-set by arrange().

Also box:geometry() in arrange() stopped working with just one argument
so it pushes all coords now.

Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 17:42:49 +02:00
koniu e6d644c4fb naughty: import
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-18 13:40:01 +02:00