Commit Graph

35 Commits

Author SHA1 Message Date
Julien Danjou 99227dff1b awful.button: fix typo in image creation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 18:15:09 +01:00
Julien Danjou 5977408e34 awful.widget: button can take a string as image argument
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 18:08:44 +01:00
Gregor Best 27e7b4bc9b awful.mouse/widget: enable drag'n'dropping clients on tags
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou 26da80f90a draw: remove custom markup support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou 9adf3fd869 draw: remove bg color markup, move to textbox
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou 8e9f0c8857 draw: remove margin markup, move to textbox widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou c3c20c4f8e client: move floating state handling to Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Julien Danjou e0de3b153e client: deprecate minimize in favor of minimized
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou 576a1e85fc client: maximize belongs to client internal
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
koniu e46ae9e3c2 awful.widget: beautiful font for {tag,task}list
Beautiful themes can now set 'tasklist_font' and 'taglist_font' in
font_desc format ie. "Sans 7"

Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:29 +01:00
Julien Danjou 4fcf48e247 widgets: remove name property
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Gregor Best 0a07e706b0 awful.widget: fix tasklist urgent background
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 17:36:54 +01:00
Julien Danjou f58b9e3566 awful.widget: stop using useless closures in taglist
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 23:06:38 +01:00
Julien Danjou f36cb984e3 awful.widget: store buttons in tasklist
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-04 20:20:16 +01:00
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
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 6cbbd45d3a awful.widget: fix name on minimize
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 21:17:15 +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
Norbert Zeh 9d2b21d25d awful.widget: allow customization of tag icon
Made changes to lib/awful/widget.lua.in to accept the following additional
customizations through theme or arguments to taglist/tasklist labeling
functions:

* args.squares_resize/theme.taglist_squares_resize (Boolean, default = true)
  If true, taglist icons are resized; otherwise, they aren't.

* args.floating_icon_align/theme.floating_icon_align (String, default = "right")
  Controls the alignment of the icon drawn in the tasklist for floating clients.

Signed-off-by: Norbert Zeh <nzeh@cs.dal.ca>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-15 10:02:46 +01: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
Espen Wiborg 8bafd24882 awful.widget: Implement taglist.label.noempty in terms of label.all
This gives .noempty lovers a share in the taglist_squares goodness.

Signed-off-by: Espen Wiborg <espenhw@grumblesmurf.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 10:48:45 +01:00
Julien Danjou e9916d34b6 awful.widget: fix tags removal
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 17:05:33 +01:00
Julien Danjou 36e4847dd1 themes: move theme icons to themes/
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 12:02:08 +01:00
Julien Danjou 2c71245388 awful.widget: check for image
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 10:42:19 +01:00
Julien Danjou cb43b5a5bd awful.menu: rewrite to be more object compliant
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
Julien Danjou 9f8773ddfa awful.widget: fix taglist label without beautiful (FS#353)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 17:55:38 +02:00
Damien Leone 75e6f4cb9e awful.menu: change menu parameters to use a table, add height and width parameters
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 15:22:10 +02:00
Julien Danjou 25bf12868a widgets: use a geometry callback
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:32:17 +02:00
Damien Leone 4d5b43a75e awful.menu: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:20 +02:00
Julien Danjou 2a36b021d1 client: icon_name is stored and watched
This permits to update tasklist on icon name changes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:15:28 +02:00
Julien Danjou bd47652fe0 awful.widget: tasklist to update on name changes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:07:18 +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
Julien Danjou 683b1a9572 awful.widget: use margin instead of spaces
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 17:03:49 +02:00
Julien Danjou 34647e4e75 awful: split in several modules
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 18:30:32 +02:00