Julien Danjou
121a229492
awful.tag: add attached_add_signal()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
282cd0b3ca
awful.wibox: do not arrange when changing attribute
...
awful.layout now listen for workarea size changes.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
ef588bf8b8
awful.layout: listen for workarea size changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
d6fd7f1116
awful.wibox: update strut on wibox attachement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
5e2fbb3684
awful.wibox: update struts on size change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
ff906a8529
awful.wibox: update position on border_width change (FS#563)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
65825bdd22
awful: move hooks to signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
7e92901d76
awful.widget.layoutbox: use signals rather than hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
974272ee4d
awful.titlebar: replace hooks by signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
85b3dedb60
naughty: remove useless hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
1da49640b5
awful.client: use signal and geometry attributes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
84839d456d
wibox: port to new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
fc035005ba
client: emit signal on list changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
b58d0f848a
client: emit signal on unmanage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
7954f19417
client: emit signal on manage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
2f93980ff8
awful.widget.common: fix buttons
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
9c40168f02
widget: emit signals on mouse enter and leave
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou
27fd05320e
button: use new object system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
4871dbb1aa
button, key: emit events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:46 +02:00
Julien Danjou
c353970500
client: emit signal on unfocus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-20 10:39:18 +02:00
Fabienne Ducroquet
391e3ea954
layout: spiral: remove useless local variables
...
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:58 +02:00
Fabienne Ducroquet
7ae072b791
layout: spiral: test spiral rather than dwindle
...
Since all the tests are now "not dwindle".
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:57 +02:00
Fabienne Ducroquet
d716476872
layout: spiral: refactoring
...
Look at the problem as "in which cases do we add or remove nw or nh?"
rather than "what do we do when k = ...?".
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:57 +02:00
Fabienne Ducroquet
034a93d691
layout: spiral: remove size check
...
This is already done by the C code.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:56 +02:00
Fabienne Ducroquet
46f5476e20
layout: spiral: remove the variable i
...
We have i == k - 1 and k is unused.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 21:55:54 +02:00
Julien Danjou
cb2cad6b09
client: emit class signal on focus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-19 16:05:59 +02:00
Julien Danjou
bbb61d027a
awful.hooks: derepcate timer hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:50:10 +02:00
Julien Danjou
f554060ffe
telak: use timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:50:07 +02:00
Julien Danjou
e899ca7696
naughty: use timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:50:04 +02:00
Julien Danjou
1c8be5b620
invaders: use timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:59 +02:00
Julien Danjou
8de5075412
awful.widget.textclock: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:38 +02:00
Julien Danjou
84182466e0
spawn: move sn hooks to signals
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:47:55 +02:00
Julien Danjou
c505f2d2e7
dbus: remove useless require hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 15:37:29 +02:00
Julien Danjou
073e0377dd
Revert "key, button: use as simple table"
...
This reverts commit d7454f4307
.
Conflicts:
button.h
key.h
lib/awful/titlebar.lua.in
lib/naughty.lua.in
wibox.c
wibox.h
widget.c
2009-08-14 16:48:52 +02:00
Julien Danjou
32e61fccd0
awful.mouse: remove useless hooks requirement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-11 11:09:44 +02:00
Julien Danjou
599f135e9b
tabulous: remove
...
This module is not maintained, so removing.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-11 10:49:15 +02:00
Uli Schlachter
f93c91cd1b
lib.awful.widget: Return obj in set_* methods
...
This change enables stuff like the following:
awful.widget.graph({}):set_color("red"):set_width(40):add_value(0.5)
Additionally, one can use the above directly in th widgets table.
This most likely doesn't break any existing configs and it adds a quite nice
syntax which can be used for in-place configuration of new widgets.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-09 14:15:31 +02:00
koniu
8b36cb7ce4
awful.completion: sort matches
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-09 14:14:46 +02:00
koniu
cebf7bc762
naughty: fix size/position messup on arrange
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-08 13:09:03 +02:00
Julien Danjou
5a70fb6395
awful.layout: do not pass specific param in arrange (FS#541)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-07 15:51:32 +02:00
Gregor Best
6ca1732683
titlebar: fix titlebar buttons
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-05 09:34:56 +02:00
Gregor Best
62e73e9eaf
titlebar: fix modkey for buttons
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-05 09:34:55 +02:00
Julien Danjou
ec5ae3dfb8
imagebox: remove valign
...
This is not used anymore in rendering.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-04 14:31:21 +02:00
Julien Danjou
43184279e5
awful.wibox: add support for % width/height and align attribute
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-31 11:34:52 +02:00
Julien Danjou
299bc00286
dbus: move to signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 16:10:29 +02:00
Uli Schlachter
51dc458fb9
Naughty: Remove some code duplication
...
2b69d333f8
added some code duplication here. I guess this was a
mis-rebase or something like that. Anyway, the width and height of the wibox is
already calculated right before this code snippet and the existing calculation
is even correct (now that the calculation for a wibox' geometry with
border_width was fixed up).
Tested via notify-send with and without icon.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:19:48 +02:00
Uli Schlachter
1de7fdfe60
Naughty: Fix the text margin
...
No idea where this comes from or why it worked before, but it's obviously wrong.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 15:19:44 +02:00
Julien Danjou
caa20c51e1
awful.wibox: fix computing with border width
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-29 12:35:26 +02:00
Julien Danjou
d7454f4307
key, button: use as simple table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:44:54 +02:00
Julien Danjou
8c08fffaa9
awful.widget: abuse new object item system
...
We do not need this since we store all Lua refs into env table of
objects.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:41:07 +02:00
Uli Schlachter
86cfe51540
Add an awful functions for rounded corners
...
This uses hexadecimal colors, because named colors require a round trip to the X
server and are thus slower. :(
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-27 14:23:59 +02:00
Gregor Best
0d39054217
widget.graph/progressbar: add layout parameter to new()
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-27 11:07:05 +02:00
Gregor Best
7c78e91a5b
titlebar: add widget layout support
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-17 16:46:55 +02:00
Gregor Best
50ee299aef
invaders: add support for widget layouts
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-17 16:46:54 +02:00
Gregor Best
ea618d3688
awful.menu: add support for widget layouts
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-17 16:46:53 +02:00
Gregor Best
2b69d333f8
naughty: add support for widget layouts
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-17 16:46:53 +02:00
Gregor Best
2820e5f2e8
awful.widget: add layouts
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-17 16:46:51 +02:00
Julien Danjou
18e96e360d
awful.menu: add __call on module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-15 15:57:31 +02:00
Gregor Best
fb68558b2f
awful.client: call property hook on wfact change
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-15 09:42:08 +02:00
Gregor Best
7a73227108
awful.layout: fix call to :isvisible()
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-15 09:40:44 +02:00
Uli Schlachter
cd862e80cd
Add fibanocci layouts ported from the C version
...
This is based on the C code from commit b9320be372
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-13 11:36:15 +02:00
Gregor Best
c0f7c38237
awful.layout: also arrange on client tag change
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-13 11:23:07 +02:00
Gregor Best
9cd29814f0
awful.util: add table.clone
...
This is useful because tables get passed by reference instead of by
value, so we might end up modifying tables where we don't want it.
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-07 14:42:38 +02:00
Gregor Best
7a7314e068
awful.util: add table.reverse
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-07 14:42:38 +02:00
Gregor Best
b5fadb97cf
awful.util: add table.keys_filtered
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-07 14:42:38 +02:00
Gregor Best
f337b88a73
awful.util: add table.keys
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-07 14:42:38 +02:00
Uli Schlachter
855e2b9cdf
Make awful.widget.graph work with zero values
...
First, we need to actually draw values which are zero, else the background
"shines through". Since this breaks the border (it draws over the border),
drawing the border needs to be done later.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-06 10:05:15 +02:00
Evan McClain
2cb34a30f2
awful.widget.progressbar: fix vertical gradient rendering
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-23 22:02:32 +02:00
Julien Danjou
a4209dc159
awful.util: fix typo in spawn description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-22 17:45:20 +02:00
Julien Danjou
cbff5fe9dd
awful: split D-Bus name from awesome
...
awful uses its own namespace in D-Bus
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-15 20:52:40 +02:00
Jonny Lamb
88be323e4a
dbus: Use org.naquadah.awesome instead of org.awesome.
...
http://dbus.freedesktop.org/doc/dbus-specification.html#naming-conventions
Signed-off-by: Jonny Lamb <jonny@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-15 20:42:28 +02:00
Julien Danjou
3926f62ea3
hooks: remove arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:44:00 +02:00
Julien Danjou
24ca38f751
awful.tag: do not use arrange hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:41 +02:00
Julien Danjou
2b80d94453
awful.layout: register layout property change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:37 +02:00
Julien Danjou
5922eb1fc1
awful.client: register property windowfact and floating for arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:29 +02:00
Julien Danjou
afbf72fc49
awful.client: call property hook on each prop change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:20 +02:00
Julien Danjou
ef2b18949c
awful.tag: call property hooks on properties changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:43:08 +02:00
Julien Danjou
ca777201a7
awful.widget.layoutbox: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:42:57 +02:00
Julien Danjou
e59f28a556
awful.layout: call layout hook on layout set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:42:46 +02:00
Julien Danjou
38400cd026
titlebar: call property hook on visible, not need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:42:25 +02:00
Julien Danjou
f46559e239
titlebar: execute property hook rather than setting need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:42:09 +02:00
Julien Danjou
25b3e718d1
wibox: do not set need_arrange on wibox detach
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:41:58 +02:00
Julien Danjou
87c56359bc
awful.layout: arrange on tags list modification
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:41:26 +02:00
Julien Danjou
f9f5b2068b
screen: client move triggers property hooks, no need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:41:19 +02:00
Julien Danjou
c06a58a581
awful.layout: re-arrange on hide property change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:33:57 +02:00
Julien Danjou
e6e4b9f3b1
client: swapping does not set need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:33:49 +02:00
Julien Danjou
a7b6c6bbd7
client: border_width does not set need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:33:40 +02:00
Julien Danjou
a8300f635d
client: maximized does not set need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:33:32 +02:00
Julien Danjou
d6ff48a108
client: fullscreen does not set need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:33:18 +02:00
Julien Danjou
1c92023a12
layout: arrange on sticky
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:33:08 +02:00
Julien Danjou
ae2d037488
layout: arrange on minimize
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-09 14:06:50 +02:00
Julien Danjou
14330f6aec
client: focus change does not call need_arrange
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-09 14:06:22 +02:00
Uli Schlachter
22ac877f46
awful.widget.graph: Add a "scale" property
...
If this is set to true (default is false), then the graph widget automatically
scales its content to make it fit exactly. If "max_value" is also set, this is
the minimum "height" the graph will use.
This can be useful for graphes which monitor things like network bandwidth
which can vary a lot.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-09 10:59:01 +02:00
Uli Schlachter
26f1904bc7
awful.widget.graph: Add a max_value option
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-09 10:58:14 +02:00
Julien Danjou
37d2b7f2a3
ewmh: do not call need_arrange on prop
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-08 12:07:06 +02:00
Uli Schlachter
8701792b83
awful.wibox: honour user specified geometries
...
If a wibox with non-north position was created and a wibox size was specified,
this function happily ignored it when it made the wibox fit.
Thanks to Garoth who found this bug.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-06 22:33:25 +02:00
Uli Schlachter
4b27986680
Minor fixes
...
Remove an unused var and fix a reference to capi.awesome
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-06 20:20:44 +02:00
Gregor Best
206488ba3e
awful.mouse: fix wibox.move()
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-06 20:13:47 +02:00
Gregor Best
8f0c6c5979
awful.wibox(): correctly handle position changes
...
This patch fixes a bug and changes the position handling for wiboxes:
The bug was that awful.wibox.set_position() didn't update the cached
wibox position, i.e. the wibox was moved, but the position value in the
wiboxes table stayed the same
The change in position handling was that unknown positions (i.e.
"fnord") default to "floating"
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-06 20:13:42 +02:00
koniu
3c08a7621b
awful.tag: viewidx ignores hidden tags
...
This prevents viewprev/viewnext from cycling to tags not shown in the
taglist.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 14:45:04 +02:00
koniu
eae6b8066f
awful.widget.taglist: support for 'hide' property
...
This allows setting 'hide' property for a tag to prevent it from
showing in the taglist.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 14:44:58 +02:00
koniu
7f828b5db3
awful.util: add linewrap()
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 14:44:47 +02:00
koniu
e69f80caf6
client: allow setting skip_taskbar
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-05 14:33:16 +02:00
Julien Danjou
7cc0b13eae
wibox: move position handling to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:30 +02:00
Julien Danjou
e15aab73bf
screen: move padding in Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:13 +02:00
Julien Danjou
0c564079b5
wibox: add property hook on screen and visible changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:51:07 +02:00
koniu
2920ed71d7
naughty: environment cleanup
...
Makes naughty environment handling same as awful modules:
- relevant capi members all go to local capi = {}
- relevant awful members are all explicitly required
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:23:52 +02:00
koniu
d397d72a8d
naughty: simplify width/height calculations
...
This also fixes an issue with spacing calculation which previously
disregarded border_width.
Signed-off-by: koniu <gkusnierz@gmail.com>
2009-06-04 17:23:46 +02:00
koniu
4d60ad7e36
naughty: simplify notify and preset parameters
...
This makes all parameters available to notify() to be available in
preset table (and vice versa) and simplifies value selection.
Adds new config option: config.default_preset.
Also cleans up some comment redundancy.
Signed-off-by: koniu <gkusnierz@gmail.com>
2009-06-04 17:23:43 +02:00
koniu
80685be123
naughty: add vertical margin
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2009-06-04 17:23:38 +02:00
Gregor Best
a4de60b23f
naughty: resize naughtifications to the minimum needed space
...
This commits adds support for :extents() to naughty. It changes the
behaviour of naughty.config.presets.*.width so that if it's set to nil,
the notification gets resized automagically. Else the value of width is
used for the notification's width.
The meaning of naughty.config.presets.*.height changed similarly, now,
if set, it means the literal height of the notifications. If unset, the
notification gets resized automagically as well.
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:23:34 +02:00
Julien Danjou
348a4dca19
awful.widget.graph: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:23:10 +02:00
Julien Danjou
90516497a3
awful.widget.progressbar: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:23:02 +02:00
Julien Danjou
42afd9636f
awful.completion: remove deprecated function from 3.3
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-04 17:19:44 +02:00
Julien Danjou
42fdee57a2
Revert "client, mouse: improve struts a bit"
...
This reverts commit 47efde17f5
.
Conflicts:
lib/awful/mouse.lua.in
screen.c
2009-05-25 15:26:13 +02:00
Julien Danjou
fba4accc14
Revert "client: handle struts (a lot) better"
...
This reverts commit 264a81f3fb
.
Conflicts:
client.c
client.h
lib/awful/mouse.lua.in
screen.c
structs.h
wibox.c
2009-05-25 15:17:57 +02:00
Julien Danjou
b546328ae9
lib: stop using unpack where not needed
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-25 11:14:08 +02:00
Julien Danjou
a891ffbe2d
awful.tag: call property hook on icon changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 16:57:12 +02:00
Uli Schlachter
f931e0cb8e
Get the shell for spawn_with_shell earlier
...
My local config got a module which denies functions from adding new functions
to the global context or to a module's local context. I use this for catching
typos (think misspelled variable names).
This patch "fixes" a false-positive which was caused by this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:47:22 +02:00
Julien Danjou
70dffba6b1
awful.startup_notification: unregister events on time out
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-09 16:03:41 +02:00
koniu
35cd125ebd
naughty: fix bug in re-indexing popups if removing older to make space
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:41:17 +02:00
Julien Danjou
5039c24ed0
ta{g,sk}list: fix memory leak on removal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:39:06 +02:00
Julien Danjou
95180799cc
button: change copy method
...
We know also copy release.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 14:00:43 +02:00
Julien Danjou
fe35104bc2
awful.widget: add support for __call on ta{g,sk}list widgets
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 11:59:38 +02:00
koniu
3849e6d747
awful.prompt: fix delete
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-08 07:58:46 +02:00
Vincent Mauge
d1e9c0d5e9
Remove useless loop in hide()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-07 08:27:30 +02:00
Ali Polatel
3fca4e0677
awful.widget.taglist: Fix label.all()
...
awful.util.escape() may return nil
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-04 16:39:01 +02:00
Julien Danjou
34802872b2
awful.{button,key}: fix @see
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 15:37:17 +02:00
koniu
97863c1f08
awful.titlebar: allow titlebar_font in themes
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-01 13:11:57 +02:00
Julien Danjou
e584da44ae
awful.menu: set some vars as local
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 02:12:23 +02:00
Julien Danjou
2b0d3f6ab2
awful.util: add spawn_with_shell (FS#515)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-30 00:41:28 +02:00
koniu
4400f1234d
awful.tag: fix typo
...
Adds a missing dash in comments to show history.restore in apidoc.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:09:02 +02:00
Julien Danjou
e43d2b76ef
awful.titlebar: fix buttons bindings
...
A recent commit change and fix what was pushed upon click on widget.
We used to get only wibox (bug) but now we get widget, wibox.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-29 15:05:23 +02:00
Julien Danjou
d2be74e1fe
beautiful: set metatable correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:56:18 +02:00
Julien Danjou
79a53769de
awful.key: fix modifiers matching
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 22:48:24 +02:00
Julien Danjou
8629522884
awful.key: fix modifier comparison in match()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 20:02:10 +02:00
Julien Danjou
75203f0f94
awful.key: fix typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:55:26 +02:00
perry
5e284c4ab3
beautiful: theme are now handled in Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 19:40:14 +02:00
Julien Danjou
3eb14d7c76
luaa: move version and release to awesome module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-28 16:21:50 +02:00
Julien Danjou
1cbb1c0666
awful.widget.prompt: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 22:15:01 +02:00
Julien Danjou
c6a63d9250
awful.widget.launcher: export really new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 21:55:41 +02:00
Julien Danjou
e61ab85f5d
keygrabber: use luaA_pushmodifiers()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 21:04:15 +02:00
Julien Danjou
57aeb2b85e
awful.widget.launcher: export new correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:43:03 +02:00
Julien Danjou
24be8643eb
awful.widget.button: export new correctly
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:43:03 +02:00
Julien Danjou
512a5d86e7
awful.button: export new
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:43:02 +02:00
Julien Danjou
f71d8055ef
awful.key: export new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:38:00 +02:00
Julien Danjou
b496122b09
awful.key: add a matching function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:35:04 +02:00
Julien Danjou
cd84fd5ebd
awful.util: add table.hasitem()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 18:33:15 +02:00
Nikos Ntarmos
a91e31dbe6
Fix toggletag
...
awful.client.toggletag assumes that the tags array is indexed by tag
objects. This appears to not be the case after v3.2-31-g6430738, when
client objects stopped using otables. This patch makes toggletag iterate
through the client tag array till it finds the entry to remove,
otherwise it appends the new entry at the end.
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-23 23:38:31 +02:00
koniu
241ff97666
awful.util: add missing - to show pread in luadoc
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-23 23:37:28 +02:00
koniu
37071c5f6f
awful.util: table.join ignore nil arguments
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-19 13:55:43 +02:00
koniu
b9ca6b4961
awful.util: table.join support for non-integer keys
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-19 13:55:22 +02:00
Damien Leone
41eb19f76f
beautiful: '~' now refers to user's home directory
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 16:11:27 +02:00
Julien Danjou
467737250c
dbus: allow usage of the system bus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 16:07:31 +02:00
Uli Schlachter
4b83d526d6
naughty: fix typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-18 10:34:50 +02:00
koniu
faf394c2ed
awful.titlebar: fix typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 22:41:52 +02:00
Julien Danjou
21978546eb
lib: fix libs to use new awful.button
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 18:08:52 +02:00
Julien Danjou
9bb2c2d1e9
client: changing size hints does not arrange()
...
It just calls property hook.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 11:43:56 +02:00
Julien Danjou
937cab0a30
awful.{key,button}: return a table
...
Fix a wrong assertian that actually:
function a() return 1, 2, 3 end
c = { a(), a() }
Won't make #c == 6 but c == 4 because only the last call to a() will
fill the table with 3 results.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 11:13:22 +02:00
koniu
92c482dbee
awful.util.table.join: fix typo
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-16 08:52:56 +02:00
koniu
94b2232c4f
awful.util: rename table.concat to table.join
...
This is to avoid confusion with Lua's table.concat which takes a table
and returns a string of all its elements concatenated with a given
separator.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 22:12:44 +02:00
koniu
8cbb65d5c2
awful.util.table.concat: take any number of arguments
...
Allows joining more than 2 tables at a time
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 22:12:44 +02:00
Julien Danjou
1a18088da5
key: stop ignoring arbitrary modifier
...
Before, we used to ignore Mod2 and Lock.
This is now configurable.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou
0215aa5b42
awful.util: add table.concat()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou
d0b7cc9c97
awful.util: add subset() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-15 12:01:55 +02:00
Julien Danjou
27c80c1950
awful.sn: add
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-14 14:23:39 +02:00
Julien Danjou
f4221a1fdf
spawn: add support for startup-notification
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-14 14:23:38 +02:00
koniu
3e8506e6cb
awful.widget.taglist: remove needless taglist_squares conditions
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-13 13:13:58 +02:00
koniu
f0a11b9628
awful.widget.taglist: dont show name if icon_only property is set
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-13 10:54:20 +02:00
Julien Danjou
bf837f5d41
awful.util: fix eval
...
Do not need return actually.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 17:38:10 +02:00
Julien Danjou
834a608999
otable: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
81b46f9694
awful.widget.tasklist: remove otable usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
2dfbd6ea2c
awful.widget.taglist: remove otable usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
4db50647fe
awful.widget.common: remove otable usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
6b3c57970e
telak: remove otable usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
c47b5daf75
tabulous: stop using otable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
527bbfa0e0
awful.titlebar: remove otable usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
22b0fe8140
awful.tag: do not use otable() anymore
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
e4ab810154
awful.client: do not use otable()
...
We use a weak-keyed-table, that's enought and quicker.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:11:33 +02:00
Julien Danjou
82dd52ad69
awful.titlebar: do not call update on changes
...
We have hooks to do that.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:05:33 +02:00
Julien Danjou
d63b850b98
awful.titlebar: add floating
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 15:00:11 +02:00
Julien Danjou
9f34d20f08
event: titlebar are parts of client
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 14:29:53 +02:00
Thomas Brunko
991c795629
awful.titlebar: more buttons added
...
This is a new version of 'titlebar.lua'. There are now additional buttons for:
- setting the 'ontop' attribute
- setting the 'sticky' attribute
- maximizing the client
In addition to changing the state of the client the buttons also show if the
corresponding state is active for a client. All new buttons now require 4
images for:
- unfocused window, state inactive (i.e. ontop == false)
- unfocused window, state active (i.e. ontop == true)
- focused window, state inactive (i.e. ontop == false)
- focused window, state active (i.e. ontop == true)
It's not difficult to add more buttons with any kind of functionality. User
configuration is currently restricted to theming of the buttons. Buttons are
disabled simply by not configuring them in the theme. The icons for the new
buttons are taken from kde4. They're not really pretty but they're OK to
demonstrate the new features.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-12 14:24:50 +02:00
Julien Danjou
d4ea61f4d3
telak: fix default timer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-11 14:11:44 +02:00
Gregor Best
680e51049e
naughty: add opacity option
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-10 23:18:51 +02:00
Julien Danjou
36f4e6cb8a
awful.remote: import with remote eval
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-08 17:08:26 +02:00
Julien Danjou
b14b52b60c
awful.mouse: set the default cursor
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-03 17:15:14 +02:00
Julien Danjou
40d821354a
awful.prompt: close file after reading
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-02 13:39:52 +02:00
Maarten Maathuis
264a81f3fb
client: handle struts (a lot) better
...
- WINDOW_TYPE_DOCK are chosen first.
- Top/Bottom take precedence over Left/Right.
- Struts are automatically updated.
- Automatically avoid overlap with other struts or wibox'es.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-31 09:17:36 +02:00
Gregor Best
addfd7b39f
awful.menu: fix custom keybindings
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-31 09:08:11 +02:00
Gregor Best
e9acefa24e
awful.menu: fix error when using the keyboard to navigate on an empty menu
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-31 09:08:10 +02:00
Nikos Ntarmos
b437db6ab0
No need for & as capi.awesome.spawn double-forks
...
Just a minor change: since capi.awesome.spawn does a double fork, there
is no need to use a '&' to background the spawned process.
Cheers.
\n\n
From 843d7cc255afb8d07e7c91a3a9d1ed706bc07c88 Mon Sep 17 00:00:00 2001
From: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Date: Sun, 29 Mar 2009 21:40:57 +0300
Subject: [PATCH] No need for & as capi.awesome.spawn double-forks
Signed-off-by: Nikos Ntarmos <ntarmos@cs.uoi.gr>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-30 12:53:12 +02:00
Maarten Maathuis
b26a21ab0c
client: fix luadoc typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:07 +01:00
Maarten Maathuis
0bab6e81b9
client: add dockable.{set/get}
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:07 +01:00
Maarten Maathuis
47efde17f5
client, mouse: improve struts a bit
...
- struts are now additive
- allow multiple docks at the edge of the screen, trigger is approaching workarea from inside
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 14:40:06 +01:00
Aleksei Gusev
07b8751ad9
awful.client: removed focusing tag when the urgent window is sticky
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-28 09:26:20 +01:00
Aleksei Gusev
66483beeee
awful.widget.tasklist: include sticky windows in the list
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-25 14:51:14 +01:00
Aleksei Gusev
ac6ded12a8
awful.widget.tasklist: added posibility to show c.name when iconified instead of <untitled>
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-24 14:09:43 +01:00
Julien Danjou
cec9686335
awful.hooks: fix dbus registration
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-20 07:59:16 +01:00
Julien Danjou
405b5d0123
awful.completion: fix compatibility (FS#474)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-19 11:03:04 +01:00
Julien Danjou
eac5936393
lib: use Lua implementation of otable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 17:19:58 +01:00
Julien Danjou
58679a328b
otable: Lua implementation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 17:19:47 +01:00
Maarten Maathuis
0f8c71e17f
unbreak "client: stop using otable"
...
- Some tag icons were disappearing.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 16:45:35 +01:00
Julien Danjou
6430738f17
client: stop using otable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 13:47:50 +01:00
Gregor Best
f0ca12837a
awful.client: store floating geometry of clients in awful
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 08:36:40 +01:00
Gregor Best
2d816fd80c
awful.layout.suit.magnifier: fix position of focused screen
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-14 08:35:28 +01:00
Damien Leone
2aeb2304e7
awful.menu: add custom keybindings feature
2009-03-12 19:57:41 +01:00
Damien Leone
effb03a976
awful.menu: add keyboard navigation feature
2009-03-12 19:56:11 +01:00
Julien Danjou
031ebc6d98
naughty: add support for hints.icon_data
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou
311a485319
naughty: allow icon to be an image object
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Damien Leone
e823596e5a
awful.menu: optimizations
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:59 +01:00
Julien Danjou
e56f8f30d0
awful.widget: split
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
41296008a3
awful.layout.suit.floating: simplify
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
122e1cc28a
awful.layout: make layout optional
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Christian Kuka
c635d3e2d1
awful.completion: add zsh completion
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
dcurtis@cs.uiowa.edu
2a2166d856
awful.layout: do not use global env
...
Layouts are passed a data structure that holds all the
information they need to render the clients.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
dcurtis@cs.uiowa.edu
a2fe3919f2
awful.layout: store name into module
...
Layouts now store their name as a string and their arrange function
in a table rather than being stored as the entire module.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
5154cfc19f
remove deprecated functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:58 +01:00
Julien Danjou
e6c7770b33
awful.client: remove debug print() (FS#469)
...
Shame on me.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-12 11:49:54 +01:00
Julien Danjou
b07857b4f6
suit.magnifier: fix focused window handling in multi screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-10 07:56:48 +01:00
Gregor Best
75b4f04251
lib/awful/hooks: fix removal of last timer hook
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 19:31:18 +01:00
dcurtis@cs.uiowa.edu
8f7ecb798d
awful.client: Automatically select the current client during a toggle
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 11:08:22 +01:00
Julien Danjou
8b79502302
naughty: return unsigned
...
Actually, libnotify expect an unsigned for the id, not a signed integer.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 15:32:24 +01:00
Julien Danjou
9554536db6
naughty: init preset
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 15:25:21 +01:00
Julien Danjou
b282bf0086
awful.menu: fix auto_expand attribute copy between parent and child
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 14:19:49 +01:00
Julien Danjou
37d2fb6781
awful.menu: fix auto_expand
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 14:12:28 +01:00
Damien Leone
67f04c0d68
awful.menu: add auto expand feature
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 13:58:23 +01:00
Damien Leone
232a362994
awful.menu: refactoring menus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 13:55:20 +01:00
Damien Leone
46144588f5
awful.menu: fix submenus coords and fix border gaps between menu items
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 10:13:44 +01:00
Gregor Best
01a725757a
awful.hooks: replace already existing timer hooks instead of creating new ones
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-21 09:34:54 +01:00
Damien Leone
d2af75691e
awful.widget: handle clients without title on tasklist widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 15:01:31 +01:00
Mike Kelly
0d834c325b
Luadoc for taglist.gettag.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:32:24 +01:00
Mike Kelly
851047f6f2
Luadoc for awful.mouse.*_under_pointer
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:32:21 +01:00
Mike Kelly
77d6562e02
Fix luadoc for escape/unescape. Add docs for getdir.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:32:16 +01:00
Maarten Maathuis
06bc2a2e37
placement: allow centering on a parent.
...
- Typical usecase awful.placement.centered(c, c.transient_for).
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-16 10:31:10 +01:00
Julien Danjou
c69afaed58
awful.client: new cycle() method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-14 17:53:03 +01:00
Julien Danjou
8ec2b33fb3
awful.widget: change deprecated key
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-14 17:47:51 +01:00
Julien Danjou
e8b7bf9a18
awful.placement: return new geometry and use focused client by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:57:40 +01:00
Julien Danjou
7349fb56a8
awful.placement: add centered placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:56:26 +01:00
Gregor Best
b5db8032f9
lib/awful/menu.lua: fix widget buttons
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:49:36 +01:00
steffoz
fc394d61fc
Added fg_minimize and bg_minimize to properly color tasklist minimized clients
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 23:00:36 +01:00
Gregor Best
3f418ba79a
lib/awful/menu.lua: fix item buttons
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 22:57:14 +01:00
Maarten Maathuis
93386ff08f
mouse: only reserve "docking space" along the largest dimension of the window.
...
- This avoids a nasty issue with fullheight toolbars.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-11 01:56:58 +01:00
Julien Danjou
f24ddbd159
awful.hooks: disallow 0 timer value
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-09 12:14:15 +01:00
Maarten Maathuis
703fd1077d
mouse: allow utility, toolbar and dock windows to snap to the edge of the window
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 13:21:54 +01:00
Mariusz Ceier
be28925fb6
Fix killproperty and floating.delete
...
Use new API, so they don't emit lua errors:
W: awesome: luaA_dofunction:317: error running function:
/usr/share/awesome/lib/awful/client.lua:595: attempt to index field
'floating' (a nil value)
W: awesome: luaA_dofunction:317: error running function:
/usr/share/awesome/lib/awful/client.lua:761: attempt to index field
'property' (a nil value)
Signed-off-by: Mariusz Ceier <mceier@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-08 12:21:55 +01:00
Maarten Maathuis
247852f4de
titlebar: remove some old/unneeded code
...
- This fixes the resize upon titlebar removal issue.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:45:07 +01:00
Julien Danjou
a47d0d9924
awful.mouse: be smarter when moving between screens (FS#419)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:40:50 +01:00
Julien Danjou
ee382dc5a8
awful.client: use property for floating registering
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:26:46 +01:00
Julien Danjou
fa9e31a2d4
awful.client: add property system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-07 15:19:27 +01:00
Maarten Maathuis
2e8071efae
titlebar: don't resize window when adding titlebar.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 22:46:25 +01:00
Gregor Best
ef6d6dd12c
awful.hooks: finally and for the last time fix timer removal
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 22:23:47 +01:00
Gregor Best
321741b0ac
awful.hooks: repair fix for timer removal
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 17:24:10 +01:00
Gregor Best
bc1a2f5448
awful.hooks.timer: fix timer removal
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-06 15:52:59 +01:00
Julien Danjou
e0754de9cb
naughty: set icon valign to center
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-05 18:10:19 +01:00
Julien Danjou
a13f3fe553
client: handle tags assignment in awful (FS#441)
...
This also deactivate group management. This can be done in Lua now.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-03 12:20:17 +01:00
Maarten Maathuis
b8a371864b
client, titlebar: fix some issues involving titlbars and dialogs.
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-03 10:32:00 +01:00
Julien Danjou
ae6a598911
awful.titlebar: document modkey argument
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-02 09:51:28 +01:00
Julien Danjou
e0a5995fe6
awful.titlebar: allow titlebar on dialogs (FS#439)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-02 09:28:45 +01:00
Julien Danjou
dd7abed683
Revert "invaders: make most functions local"
...
This reverts commit 7224676911
.
14:22 < farhaven> i should move to a cave or something
2009-01-28 14:23:07 +01:00
Julien Danjou
ca84424417
revelation: remove
...
No more maintained.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 12:09:01 +01:00
Julien Danjou
cc6dee9940
awful.layout.suit.vile: rename to tile
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 12:08:33 +01:00
Julien Danjou
ed2581c3ec
awful.layout.suit: remove tile
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 12:05:21 +01:00
Julien Danjou
d95a16e837
awful.layout.init: floating is default is none
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 12:00:34 +01:00
Gregor Best
7224676911
invaders: make most functions local
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 10:07:41 +01:00
Gregor Best
a4a76d6943
invaders: fix display for screen != 1
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 10:07:37 +01:00
Gregor Best
8766ffcbd7
awful.widget: fix widget<->tag association
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 10:06:38 +01:00
Matthew Wild
798943af31
awful.util: optimize escape/unescape
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-28 10:05:26 +01:00
dcurtis@cs.uiowa.edu
f2f7d5c89d
awful.layout.suit.vile: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-26 15:49:18 +01:00
Julien Danjou
d8f20e34fe
awful.tag: setters have low and high bounding values
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-26 15:45:23 +01:00
Maxime COSTE
1276c215e7
completion: append / to directories
...
Here is a small patch that appends a / to directories names in bash completion,
it does not seems to add noticeable overhead, but I only tested it on my
(rather fast) system.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-24 10:46:18 +01:00
Sias Mey
cc58b840e6
awful.layout.suit.magnifier: fix typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-22 09:49:09 +01:00
Julien Danjou
f5c35765d2
awful.layout.suit.magnifier: fix background client geometry
...
This make sure that we render clients from top to bottom, with
bottom client as the next focused one.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-21 13:45:39 +01:00
Julien Danjou
3aa407b742
awful.layout.suit.magnifier: use the right screen tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-19 14:38:17 +01:00
Julien Danjou
7df3a36f3b
awful.layout.suit.tile: use the right screen tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-19 14:34:38 +01:00
Gregor Best
dad33fd0dd
awful.widget: fix list_update function
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-18 19:47:56 +01:00
Gregor Best
d6655d714e
awful.widget/tag: add support for tag icons
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-18 11:46:40 +01:00
Gregor Best
3ecb3babcb
awful.tag: make the screen argument works
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-18 11:05:19 +01:00
Espen Wiborg
1749ef672f
awful.titlebar: Only use client name in titlebar if set
...
Signed-off-by: Espen Wiborg <espenhw@grumblesmurf.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-15 15:11:49 +01:00
Julien Danjou
34f6321e8f
awful.client: floating.toggle() reset auto detection (FS#429)
...
This is better than doing nil -> true -> false -> true...
We do nil -> true -> nil -> true.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-14 14:56:28 +01:00
Julien Danjou
6143e58190
awful.completion: add more chars to bash_escape
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-10 14:13:07 +01:00
Julien Danjou
61359d0352
awful.placement: fix name collision
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-09 12:39:27 +01:00
Julien Danjou
8c83287e10
awful.placement: fix floating detection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-09 11:56:36 +01:00
Julien Danjou
8a82349da3
awful.tag: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:26:12 +01:00
Julien Danjou
e49ab302b9
naughty: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:26:00 +01:00
Julien Danjou
b78dd5e8b6
awful.placement: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:25:45 +01:00
Julien Danjou
f8c9a5e5e5
awful.menu: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:25:27 +01:00
Julien Danjou
b69e249503
awful.prompt: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:23:31 +01:00
Julien Danjou
fba27a5315
awful.client: do not export documentation of local functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 12:21:47 +01:00
Julien Danjou
d74358a2b1
naughty: check for D-Bus availability
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 11:39:53 +01:00
Julien Danjou
84fad1a9cd
awful.client: fix floating detection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-06 11:12:14 +01:00
Perrin "kAworu" Alexandre
e3068bd2b6
use SYSCONFDIR to find bash's completion file.
...
Signed-off-by: Perrin "kAworu" Alexandre <kaworu(a)kaworu,ch>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 18:44:17 +01:00
Julien Danjou
90b1adc0ce
awful.prompt: Tab is now reported as Tab
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 11:16:08 +01:00
Julien Danjou
5751049745
awful.prompt: add support for Shift+Insert to paste
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-04 17:44:37 +01:00
Arnaud Fontaine
2a882803ec
revolution: update tag creation accordingly to the new tag API
2008-12-30 19:38:14 +01:00
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
Julien Danjou
ee1e63009b
awful.menu: check there's at least one item
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:20:33 +01:00
Julien Danjou
8aa8b17c75
awful.client: do not ignore focused client if filtered in next()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 11:54:10 +01:00
Julien Danjou
adc91aa37a
awful.client: check client with filter in history fallback
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 11:51:46 +01:00