Commit Graph

254 Commits

Author SHA1 Message Date
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
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
Ez 7a9fe19f4c awful.client: fix urgent.jumpto
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-15 09:53:21 +01:00
Julien Danjou 3ebcc1aa5a luaa: add more deprecation information
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-14 12:12:01 +01:00
Espen Wiborg a042f33964 revelation: Add arrow key behavior
As promised by the documentation comment for the keyboardhandler.

Signed-off-by: Espen Wiborg <espenhw@grumblesmurf.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 23:18:10 +01:00
Julien Danjou fd078674c6 beautiful: change description
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:26:01 +01:00
Julien Danjou f8c9b93be9 luaa: use fg/bg as keys for colors
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:18:56 +01:00
Julien Danjou 292f09bb93 luaa: add support for conffile in index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:18:41 +01:00
Julien Danjou 590077004a luaa: add {new,}index to awesome lib, use for font
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 15:13:19 +01:00
Julien Danjou 80f5d43631 awful.prompt: stop grabbing keyboard before calling callback
This allows execution of grabbing function.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 14:07:27 +01:00
Julien Danjou b9398ad51e awful.prompt: merge some keys
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 14:06:22 +01:00
Julien Danjou ccfb0b1935 awful.prompt add in history also on 'j' and 'm'
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 14:02:38 +01:00
Julien Danjou 9416bf2419 awful.prompt: fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 14:00:21 +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
Julien Danjou 863f9a78a8 revelation: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 11:19:00 +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 cdc9d40f4a awful.titlebar: fix theme support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 11:55:35 +01:00
Julien Danjou 2cafc6a1c8 awful.util: deprecate write on stderr
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 11:38:06 +01:00
Julien Danjou 0cddba4d82 awful.menu: store active child
This fix the menu when they are multiple submenu entries.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 19:09:20 +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 dc98cd915e awful.client: fix master compat
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 13:56:18 +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 c13654f08d beautiful: drop getimage()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-09 15:57:00 +01:00
Julien Danjou 7108e5cb20 awful, beautiful: getimage rather belongs in beautiful
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-09 15:51:43 +01:00
Gregor Best 5f250eedc2 invaders: fix highscore display
this commit fixes the bug which lead to the highscore display not
disappearing if 'p' was pressed while showing the highscores
2008-11-08 20:43:00 +01:00
Gregor Best 1569818c5e invaders: add pause button
this commit adds 'p' as a pause button to invaders
2008-11-08 17:01:04 +01:00
Gregor Best 58693c3d7d beautiful: add get_image function
this commit adds awful.beautiful.get_image(imgspec) to retrieve an image
from a beautiful theme
2008-11-08 17:01:04 +01:00
Julien Danjou 950e9f96c5 awful.menu: fix icon widget if no image given
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-08 14:32:50 +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 c529c3d7ed awful.completion: doc fixes
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
Julien Danjou e528cc7e50 awful.client: rename master to getmaster
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
Julien Danjou 7c2a17e49f awful.beautiful: fix comments
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
Julien Danjou 2e609e3d55 awful, tabulous: change titles
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
koniu d4bfaa8598 awful.prompt: add underline style to in run() args
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-06 17:07:12 +00:00
Gregor Best eb20df8dfc invaders: fix broken screenshot path 2008-11-06 16:05:43 +01:00
Maarten Maathuis 3cf17a9fae titlebar: generate mouse_enter and button events for the entire titlebar (and redirect them to the client)
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-05 16:48:45 +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
Julien Danjou 105e155606 awful.screen: enhance doc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-04 21:09:35 +01:00
Julien Danjou c51d4d61ac awful.screen: fix focus doc
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-04 21:05:02 +01:00
koniu 97194aaa98 naughty: new option 'config.hover_timeout'
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-04 19:35:18 +00:00
Julien Danjou e0730d0da8 awful.client: deprecate swap()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 23:15:00 +01: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