Matthias
e75186701e
Fixed oocairo.image_surface_create_... typo
...
its oocairo.image_surface_create_from_data not oocairo.image.surface...
Signed-off-by: Matthias <ms@softimpulse.de>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-11-12 17:13:33 +01:00
Uli Schlachter
8882cf360a
wibox: Fix mouse event handling
...
If you managed to press mouse button 4 exactly between two entries in the
taglist, the taglist would jump by two tags instead of just one. This is because
the mouse event was forwarded to both taglist items.
This happened because the calculation in wibox' find_widgets() was wrong. If you
have a widget at (1, 1) with a size of 1x1, then (1, 1) is the only point that
this widget covers. However, the math also included the pixels (2, 1), (1, 2)
and (2, 2) in the widget's extents. This is obviously wrong.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-30 19:56:07 +02:00
Uli Schlachter
f1fd4a52a1
wibox.widget.base: Use assert() instead of error()
...
This means you now get a backtrace (traceback?) that helps identifying
the faulty code.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-22 14:50:45 +02:00
Uli Schlachter
1f95825a1e
gears.debug: Import
...
So far this only contains an "assert()" function, but I guess this could be
enhance. For example, a function which pretty-prints a table's contents might be
useful to have.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-22 14:49:12 +02:00
Julien Danjou
c98624077f
awful.prompt: add ctrl-backspace
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-10-21 09:05:40 +02:00
Julien Danjou
016b76e7bb
awful.tag: do not update history when identical tags
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-10-20 17:30:57 +02:00
Julien Danjou
e2083050d4
awful.tag: remove useless line
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-10-20 17:00:14 +02:00
Danny Navarro
a44439a6c0
Add awful.widget.tasklist.filter.minimizedcurrenttags
...
Added function to show only minimized clients in the taskbar for the
current tag.
Signed-off-by: Danny Navarro <j@dannynavarro.net>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-17 15:45:56 +02:00
Uli Schlachter
107ba3fefc
Systray: Configure background color via beautiful
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-17 09:24:59 +02:00
Uli Schlachter
1beb274944
Wibox: Use the "refresh" signal for redrawing
...
Previously, we used a timer with a timeout of 0 for redrawing the wibox. I had
the visual impression that the wibox was black for a moment. With strace I was
able to measure a latency of 10ms until the wibox was finally redrawn.
This now uses the "refresh" signal. With this, we get our latency down to
something like 0.15ms which sounds a lot better. :)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-15 18:57:50 +02:00
Uli Schlachter
8712be7265
awful.widget.prompt: Fix error display
...
This has to use :set_text() now.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-14 21:17:02 +02:00
Stjujsckij Nickolaj
8bca1025ac
Remove last known usage of deprecated in Lua 5.1 `arg`
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-12 18:38:04 +02:00
Uli Schlachter
bb52505bb8
awful.util.join: Stop using arg
...
Implementing vararg functions via arg is deprecated in lua. This kind of thing
should instead be done via "...".
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 16:55:56 +02:00
koniu
dc6a2c6b0d
awful.completion: callback functions return table of matches
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 15:22:44 +02:00
koniu
4429bea62f
awful.prompt: add 'autoexec' argument
...
If set the prompt will execute the command upon completion which returns
only one match.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-11 15:22:18 +02:00
Uli Schlachter
38d4602425
margin: Accept individual margins
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-08 17:22:00 +02:00
Uli Schlachter
2ca25128a5
Remove outdate require("awful.widget.layout")
...
The file isn't present any more and it's not needed anyway.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 21:46:52 +02:00
Uli Schlachter
e64d36b104
Awful.menu: Fix the text
...
Looks like someone wasn't using set_markup() where he was supposed to do so.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 14:24:16 +02:00
Uli Schlachter
688b4fb628
textbox: Prefix internal variables with "_"
...
This makes sure that textbox.text = "foo" doesn't work at all. It was never
supposed to work anyway. Sorry that I break stuff again.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 14:22:44 +02:00
Uli Schlachter
650b3d6df5
Progressbar: Fix border
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 13:52:32 +02:00
Uli Schlachter
734973c60c
Graph: Fix border and geometry
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 13:50:44 +02:00
Uli Schlachter
547f732b00
systray: Automatically fit into available space
...
Instead of having to set the systray's base size by hand, it now automatically
uses min(avail_width, avail_height) as its base size. That's way less surprising
for people.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 11:54:45 +02:00
Uli Schlachter
7edabc39fd
awful.tooltip: Fix for new widget layouts
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 11:11:48 +02:00
Uli Schlachter
9d4e5d31bf
awful.widget.layout: Remove
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 11:07:25 +02:00
Uli Schlachter
5eed35b7e0
awful.menu: Make sure the arrow is always visible
...
By setting the textbox in an align layout's middle, the submenu icon will always
get the space it needs and the textbox will get the rest. Previously, the
textbox took as much as it wanted and the image got the rest. This looked ugly.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 10:15:29 +02:00
Uli Schlachter
bb975a2464
awful.prompt: Fix for the new textbox
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 21:27:42 +02:00
Uli Schlachter
6b972ffde0
widgets: Add mouse::{enter,leave} signals
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 21:17:05 +02:00
Uli Schlachter
4af11b821c
Whoops, fix wibox signals
...
emit_signal() already adds the object as the first argument, so we don't have to
add it ourselves.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 20:46:11 +02:00
Uli Schlachter
18799f32f8
Emit mouse::move signals when we get a motionnotify
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 20:44:22 +02:00
Uli Schlachter
ebcda492a1
wibox.layout.fixed: Always draw "empty" widgets
...
If a widget has a width/height of 0, we can safely draw it without running out
of the available space. This code checks if we got enough space after we now how
much space the next widget wants.
This fixes the systray. It has to be drawn at least once so that the C core can
set up stuff correctly. However, thanks to the systray having a width of 0, it
wasn't drawn by the layout.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 19:47:34 +02:00
Uli Schlachter
1fab3aa745
wibox.layout.align: Bugfix
...
It didn't correctly attach to its second and third widget's widget::updated
signal.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 19:46:47 +02:00
Uli Schlachter
27d448bc97
awful.widget.common: Add background to the icon
...
The icon should get the same background everything else gets. Fix this by making
the background the outer-most widget in each item.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 18:45:50 +02:00
Uli Schlachter
01aa7e66e6
wibox.widget.background: Use draw_widget()
...
Without draw_widget(), the input handling is broken.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 18:45:13 +02:00
Uli Schlachter
661a8a7b38
Some more minor fixes, make "strict" happy
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 16:27:38 +02:00
Uli Schlachter
c271ed7b13
tasklist: Use a fixed layout
...
We need a fixed layout here to make tag names like "media" work. Without this,
every take would get the same space, no matter how long its name is.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 15:48:50 +02:00
Uli Schlachter
58bf0b0c64
wibox.layout.fixed: Fix typo
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 15:48:50 +02:00
Uli Schlachter
bddecffe97
Be compatible to oopango 1.0
...
Some idiot broke the API in oopango git. Work-around this by checking which
version of oopango we have.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 15:11:20 +02:00
Uli Schlachter
b55dc20319
awful.widget.textclock: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:30:45 +02:00
Uli Schlachter
0cb3569e3e
awful.widget.layoutbox: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:30:00 +02:00
Uli Schlachter
3b9150f05a
awful.widget.button: Port to new widget layout
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:28:43 +02:00
Uli Schlachter
1b134b2361
lua.widget.prompt: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:27:16 +02:00
Uli Schlachter
bf23ebdf46
graph,progressbar: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:25:59 +02:00
Uli Schlachter
97ed5e70b8
{task,tag}list: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:23:36 +02:00
Uli Schlachter
05c49a3a2b
awful.menu: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:21:19 +02:00
Uli Schlachter
6a7fdc8fb0
awful.wibox: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:20:30 +02:00
Uli Schlachter
52e678a8c7
Naughty: Port to new widget system
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:19:20 +02:00
Uli Schlachter
ad2bc9d183
beautiful: Track the font for oopango
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:18:11 +02:00
Uli Schlachter
2eae7e5cf4
Import lib/wibox/, a new widget system in lua
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 12:42:56 +02:00
Uli Schlachter
ad3e965e16
Fix some broken luadoc
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 21:38:06 +02:00
Uli Schlachter
c8b93cec76
progressbar: Remove gradients
...
gears.color can do the same in better and they are currently broken anyway.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 19:26:23 +02:00
Uli Schlachter
d8dce35269
progressbar: Port to oocairo
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 19:24:36 +02:00
Uli Schlachter
048064b8ef
graph: Remove gradients
...
They can and should now be done via gears.color instead. It was porting ever
since this was ported to oocairo anyway...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 19:02:03 +02:00
Uli Schlachter
6375ce4175
graph: Port to oocairo
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 18:57:52 +02:00
Uli Schlachter
d74198b7db
gears.color: Add much more sophiscated stuff
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 18:54:20 +02:00
Uli Schlachter
fce09d4d42
tasklist: Remove unused local variables
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:18:21 +02:00
Uli Schlachter
40aa974ac2
taglist: Use oocairo instead of image
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:17:03 +02:00
Uli Schlachter
f4d37f74d3
naughty: Use oocairo instead of image
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:15:11 +02:00
Uli Schlachter
6f5862a2de
beautiful: Remove unused local variables
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:11:53 +02:00
Uli Schlachter
523661760a
Layoutbox: Use oocairo instead of image
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:10:01 +02:00
Uli Schlachter
03fd3f3146
awful.wibox: Remove unused local variables
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:08:16 +02:00
Uli Schlachter
e53054553d
awful.menu: Use oocairo instead of image
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 16:06:44 +02:00
Uli Schlachter
4279c879b3
awful.widget.button: Use oocairo instead of image
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 15:57:10 +02:00
Uli Schlachter
c3e0f72c56
gears.object: Import
...
This implements objects in lua. Objects provide the signal functions that are
known from the C API ({dis,}connect_signal(), emit_signal(), add_signal()).
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-28 16:23:00 +02:00
Uli Schlachter
b75ada22d8
gears.sort: Import
...
The difference to table.sort() is that this is guranteed to be stable.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-28 16:09:40 +02:00
Uli Schlachter
51068f5cdf
naughty: Set the window type to "notification"
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-28 13:14:27 +02:00
Uli Schlachter
5f90e92f09
awful.menu: Set the window type to "popup_menu"
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-28 13:13:14 +02:00
Uli Schlachter
9a8177e457
awful.wibox: Set the window type to "dock".
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-28 13:09:19 +02:00
Uli Schlachter
825efd21b3
Naughty: Add a missing "local"
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-18 16:34:31 +02:00
Uli Schlachter
49b4573bc8
awful.widget: Stop using named colors
...
Those were removed a while ago already.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-18 12:27:09 +02:00
Uli Schlachter
71b15d292c
Fix a "table expected instead of nil" error
...
It seems like with lots of bad luck, the garbage collector manages to "steal"
the table with the buttons right after we decided to use it. Evil collector!
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-16 19:02:15 +02:00
Uli Schlachter
89f05c90ca
{tag,task}list: Use a weak-valued table
...
The data table is used to map objects (clients/tags) to the buttons associated
with them. This is done so that we don't have to re-create the button objects
each time this lists are updated.
The problem was that this weak-keyed table was never cleared, because the value
had a strong reference to the key (via the button's signal):
btn:connect_signal("press", function () b:emit_signal("press", o) end)
"o" is the key in the table and btn is reachable from the value. This prevented
the garbage collection of the key. Using a weak-keyed and weak-valued table
fixes this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-16 17:28:50 +02:00
Ignas Anikevicius (gns_ank)
2c1d09ebc2
Add match_any function and rule_any definition for different client matching.
...
Signed-off-by: Ignas Anikevicius (gns_ank) <anikevicius@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-14 16:51:40 +02:00
Uli Schlachter
9a24779425
Implement color parsing
...
This adds a lua module for parsing colors. Named colors like "black" aren't
supported, but #rrggbb and #rrggbbaa colors do work.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-09 16:54:57 +02:00
Julien Danjou
c38e326242
Revert "tag.lua: check name argument to add() is valid"
...
This reverts commit 6cb61939c4
.
2010-09-08 10:18:21 +02:00
Uli Schlachter
e77b979092
awful.placement.no_overlap: Ignore desktop clients
...
EWMH describes desktop windows like this:
"_NET_WM_WINDOW_TYPE_DESKTOP indicates a desktop feature. This can include a
single window containing desktop icons with the same dimensions as the screen,
allowing the desktop environment to have full control of the desktop, without
the need for proxying root window clicks."
An example for such a window is nautilus' virtual root window. Naturally, such a
window would always overlap with any given client, so awful.placement.no_overlap
just didn't do anything at all. The fix is to ignore such clients for placement
calculations.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-03 17:43:36 +02:00
immerrr
a3f911cf95
awful.prompt: insert selection at cursor position
...
Signed-off-by: immerrr <immerrr@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-08-31 13:48:59 +02:00
Uli Schlachter
03e0ee53d2
Wibox: Remove shape support
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-30 10:22:50 +02:00
Uli Schlachter
932e0bfcd0
Add two more missing signals
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-27 21:42:14 +02:00
Uli Schlachter
d5209cca1f
awful.placement: Fix a mis-calculation
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-26 21:29:34 +02:00
Uli Schlachter
1cab627d5d
awful.prompt: "Fix" for multi-byte characters
...
If you entered a multi-byte character into a prompt and then changed your mind
and used backspace to fix the character, only the last byte of the character was
removed. Because pango is intelligent, it noticed the broken utf8 and
complained.
So far nothing new. But since 711d78b50c
the textbox will throw a lua error
when it gets an invalid text (= pango complains). Throwing an unprotected lua
error in this context causes the keygrabber to be killed which stops the prompt.
Fix this by removing bytes as long as there are bytes left that can be removed.
This is FS#801.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-26 20:42:22 +02:00
Uli Schlachter
b6c8b95e34
Convert some more code to "class signals"
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-26 18:42:38 +02:00
Uli Schlachter
1ce0b7915b
Use signal emitions on classes
...
Since 3fbb5f1535
"luaobject: emit signals on class too" when a signal
is emitted on some object, it will also be emitted on the class. This means that
we don't have to connect our signals via the "new" signal anymore, but can
instead connect to the signal on the class.
(Of course, the signal on the class gets as first argument the object on which
the signal was emitted)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-26 18:31:06 +02:00
Uli Schlachter
3bdd4793d7
awful.tag: Add property::icon
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-26 18:11:13 +02:00
Uli Schlachter
f89252962e
Fix an invalid index in awful.rules
...
A rule like { focus = true } would cause debug::index::miss and
debug::newindex::miss to be emitted.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-26 17:48:00 +02:00
Uli Schlachter
ab4c151ed8
Add signals before using them
...
This commit makes it an error if an unknown signal is connected, disconnected or
emitted. All signals have to be added before they can be used.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-25 23:00:36 +02:00
Julien Danjou
6d332f07a0
lua{class,object}: rename signals functions
...
I knew this was wrong at the beginning, f*ck.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-08-25 20:28:20 +02:00
Uli Schlachter
71ba321032
Check "focusable" in awful.client.focus.filter(c)
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-12 13:18:40 +02:00
Uli Schlachter
ac2ff7f7a7
prompt: Only show error messages
...
Ever since awesome.spawn() also returns the pid of the started process, the
prompt accidentally displayed the pid of processes that it started.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-09 14:24:58 +02:00
Uli Schlachter
fae5dfcd08
Naughty: Handle invalid UTF-8 more sanely
...
Previously, if setting the textbox's text failed this caused more problems later
on. This commit makes sure that an invalid text never breaks pango.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-06 19:53:34 +02:00
Konstantin Stepanov
842dfc3064
stack graph mode works with max_value
...
Signed-off-by: Konstantin Stepanov <kstep@p-nut.info>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-05 14:28:14 +02:00
Ignas Anikevicius (gns_ank)
e6a2bf7220
Functionality for deleting a tag using awful.tag.
...
tag.delete(t, fb):
Delete tags if certain criteria are met:
- There are no clients assigned exclusively to this tag.
- Stickied clients have somewhere to go, 'fb' the fallback tag
If after deleting there is no tag selected then try and
history.restore() or select the first tag on the screen.
Return true if successful and nil otherwise.
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Ignas Anikevicius <anikevicius@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-08-02 22:05:58 +02:00
Uli Schlachter
edbc3fa652
awful.placement: Honor border width
...
While calculating if part of the window is outside the visible region, this code
should also add the border width. (FS#684)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-07-24 15:29:55 +02:00
Uli Schlachter
6fa27c7b48
Naughty: Catch invalid markup in notifications
...
Previously, an invalid markup caused an empty popup. Since the C core now throws
a lua error on invalid markup, we have a way to notice that something is wrong.
This patch first tries to set the notification's text the same way we did
previously. If that fails, everything is escaped and the result is used as the
text for the notification.
Thanks to farhaven/Gregor Best for the initial version of this and for the
string.gsub() call I stole from him. :)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-07-16 19:35:51 +02:00
Uli Schlachter
2e0ea80cb3
Tasklist: Listen to the correct signals
...
The tasklist shouldn't care about the tag history or new tags showing up and it
also shouldn't care about tags disappearing on other screens (on the current
screen the tasklist needs to update because the tag might have been selected).
On the other hand, the tasklist really should care about tags being selected and
unselected. This worked before because this causes changes to the focus history.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-06-22 16:45:06 +02:00
Uli Schlachter
470c2e20d0
Update the tasklist when a client's icon changes
...
Thanks to a pidgin-using friend for reporting this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-14 20:06:02 +02:00
Uli Schlachter
0e869b7b15
Remove invalid variable usage
...
There is no variable called "startup" in awful.rules.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-14 20:04:38 +02:00
Julien Danjou
e0c259406e
naughty: return nothing, not nil
...
This is not a valid return value for a D-Bus method.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-06 10:39:16 +02:00
Julien Danjou
e4c8c11564
Fix missing tostring
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-01 11:43:45 +02:00
Perry Hargrave
6cb61939c4
tag.lua: check name argument to add() is valid
...
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-06-01 10:31:24 +02:00
Uli Schlachter
1615cff82a
Tasklist: Add some missing parentheses
...
"a .. b or c" is equivalent to "(a .. b) or c", but we want "a .. (b or c)".
This bug caused an "attempted to concatenate a nil value" error message.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-30 18:53:04 +02:00
Perry Hargrave
2f3f84c994
tag.lua: add() create tags with full table of properties
...
tag.add(name, props):
make tags and pass a table of properties to apply to it
tag.new:
modified to use add() instead of calling capi.tag
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 11:22:27 +02:00
Perry Hargrave
77e39a5f07
tag.lua: getidx() returns index of tag
...
tag.getidx(t):
Return the index of 't' in the screen[]:tags() table. Return 'nil'
if 't' is not found.
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 11:07:25 +02:00
Perry Hargrave
7b60f84fd0
tag.lua: move() re-index tags
...
tag.move(i, t):
move tag 't', or tag.selected(), to index 'i' in the current
screen's tags table.
Signed-off-by: Perry Hargrave <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 11:05:36 +02:00
Gregor Best
f890aa392c
layouts/tile: completely fix client borders
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-29 10:53:47 +02:00
Gregor Best
752f0225d2
layouts: let client sizing honor the border width
...
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 20:39:56 +02:00
Julien Danjou
38edc58097
client: implements maximized and fullscreen requests with Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:29:29 +02:00
Julien Danjou
9ce234a533
awful.widget.tasklist: use symbols chars rather than images
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-28 13:28:43 +02:00
Uli Schlachter
2b98f82588
awful.menu.clients: Raise the newly focused client
...
Raising it makes it more obvious that the focus was really changed and makes
working with the client easier since it's, well, raised.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 11:03:54 +02:00
Andrei 'Garoth' Thorp
b43da6611d
docs: progressbar.lua.in missing a dash to prevent luadoc generation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-05-03 11:02:20 +02:00
Sergey Mironov
15aed64fd8
awful.menu: Add menu position argument
...
Patch allows user to define menu position in pixels when
showing menu in keyboard-driven mode.
Note: Patch changes signature of show() and toggle() functions.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-04-14 09:38:17 +02:00
Yves Frederix
0710031f1e
awful.menu: add item_enter in access key handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-04-12 10:06:02 +02:00
Sergey Mironov
499da45edb
awful.menu: Fix menu hide/show overloading
...
Fixes bug that prevents calling user-defined menu methods
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-04-12 10:04:50 +02:00
Adrian C. (anrxc)
4f4259c702
awful.widget: add graph stack property
...
Initial implementation of stacked graphs. Adds two new methods,
set_stack (false by default) and set_stack_colors (i.e. {"red",
"white", "blue"}). The order of the colors matters, because the
add_value method now accepts an (optional) last argument, an index of
a color from your stack color group.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-29 17:39:22 +02:00
Adrian C. (anrxc)
4119e92d82
awful.wibox: update struts on align()
...
Setting width or height (horizontal or vertical) to an arbitrary value
causes the wibox not to be stretched. Instead the align() function is
called, which might not modify any wibox property in many situations,
or none when align parameter was not provided by the user. The major
side effect is that wibox struts were never updated and clients
covered the wibox (until a first signal handler caused struts to be
updated).
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-23 11:06:32 +01:00
Adrian C. (anrxc)
7ea4478b38
awful.widget: add progressbar ticks property
...
Second implementation of the progressbar ticks. Adds set_ticks,
set_ticks_gap and set_ticks_size methods. Default gap is 1, size 4 in
respect to the default progressbar width of 100px.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-23 10:57:37 +01:00
Pierre Mazière
a89c94e9d7
Avoid wibox borders to be recovered by clients
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-19 10:02:32 +01:00
Pierre Mazière
62ac15d9d8
fix wibox origin when stretched
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-19 10:02:30 +01:00
Pierre Mazière
67fc0b1810
Add the possibity for dynamic menu
...
Return the label of the selected menu item as an argument for the
callback function
Signed-off-by: Pierre Mazière <pierre.maziere@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-17 16:00:18 +01:00
Adrian C. (anrxc)
bafe41e174
awful.wibox: update position on height/width property change
...
Changing the width or height of a (right or bottom positioned)wibox,
after it was initialized, to a value different than used when it was
created would leave the wibox in a wrong position. Position was off by
as many pixels as the difference between the old and the new
value. Now every wibox is repositioned to reflect this new setup.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-04 09:31:37 +01:00
Adrian C. (anrxc)
54233fa383
awful.widget: add progressbar set_max_value property
...
The awful.widget.graph allows to change the maximum value a graph can
handle, thus allows users to use widgets and scripts that don't scale
the values down to 0 - 1 range. The progressbars did not allow this
and worked with a hard-coded value of 1.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-02 11:59:58 +01:00
Adrian C. (anrxc)
d07f3533c6
awful.menu: sanitize support for access keys
...
Commit 87070ca
introduced support for access keys in menus. Chosen
character was "&", an XML entity that has potential to cause problems;
if a user tries to add multiple access keys or just put an ampersand
in the name of the item the menu will break. Breaking happened because
ampersands were not escaped - first one was substituted and the rest
were ignored, but not escaped which triggered a pango markup error.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-01 15:56:39 +01:00
Gregor Best
b04a75c697
naughty: add suspend() and resume()
...
This commit adds naughty.suspend() and naughy.resume() which allow
suspension of notifications, which is useful e.g. when watching a movie,
where notifications popping up all the time would be disturbing.
While suspended, notifications are collected and displayed after
naughty.resume() is called.
Signed-off-by: Gregor Best <gbe@ring0.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-02-17 16:23:47 +01:00
Andrei 'Garoth' Thorp
11963175bc
Fix naughty.destroy parameter documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-02-17 16:23:47 +01:00
Adrian C. (anrxc)
81b073e0a5
awful.rules: fix client tagging with multiple screens
...
Commit a757dda
replaced the awful.client.movetotag call with c:tags()
in the tag property handler. Which introduced a regression when more
than one screen is used. The awful.tag.withcurrent function was being
called even when there was a valid tag property. Now the clients
screen is set to the tag screen to ensure the client is moved to the
correct tag and screen.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-11 10:09:27 +01:00
Adrian C. (anrxc)
3e6d333a54
awful.autofocus: improve client focus with multiple screens
...
Changing screen focus to an empty tag leaves focus on a client on the
previous screen, if a tag with clients is focused next the focus
remains on the previous screen. Now awful.autofocus compares the tag
screen and clients screen to learn if the focus should be given to a
client on the focused screen. Client that gets the focus is selected
from history, as usual.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-10 10:31:23 +01:00
koniu
5e7ddd1efa
awful.rules: tag clients without flicker (FS#664)
...
We unregister the default awful.tag.withcurrent 'manage' signal handler
and have awful.rules.apply handle initial client tagging.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-08 19:11:30 +01:00
koniu
5b8acee224
awful.tag: register 'withcurrent' explicitly
...
This explicitly registers withcurrent(c) as a manage signal handler so
that it can be removed if necessary.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-08 19:11:29 +01:00
Adrian C. (anrxc)
f641ee411f
awful.wibox: sanitize height/width args to function new()
...
When both height and width arguments are provided to the function
new() there is a check to see if one of them was a screen percentage,
and is expected to be a string. If the user provided absolute pixels,
and argument is of type number awesome will crash. Now tostring is
used to sanitize the arguments during this check.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-05 09:53:33 +01:00
Alex Alexander
8cc15d80b4
wibox: fix align
...
awful.wibox.align() in 3.4.x gets the available screen area from
capi.screen[screen].geometry.
this can easily result in overlapping wiboxes since the work area
provided does not account for existing wiboxes.
In my configuration I use a vertical wibox positioned at the
right and it half-overlaps my top wibox because it is streched and
hard-coded to align at the middle.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-01-05 09:53:29 +01:00
Adrian C. (anrxc)
003369e649
awful.wibox: take wibox border into account when updating struts
...
Function wibox_update_strut would not take the border width into
account when calculating struts. When a wibox border was in use
clients would overlap the wibox. With a border of 1px we loose 1px of
the wibox, but as the wibox border increases it is "pushed" by the
border nearest the screen edge and clients steal more and more space.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-30 19:51:48 +01:00
Uli Schlachter
8857f73ce6
Implement the GetCapabilities call in naughty
...
This call is required by the freedesktop specification.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-28 10:41:57 +01:00
Sébastien Gross
ea4967fef4
tooltip: force place() if tooltip is not visible
...
Commit 6c5d0ca9
introduced a side effect. If tooltip text isn't changed
place() function is not called. To prevent multiple place() set_geometry
calls that function when tooltip is not visible (before it appears to the
user).
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-03 14:22:28 +01:00
Adrian C. (anrxc)
39a0fba7a8
awful.menu: add keygrabber support to clients menu
...
Functions show() and toggle() accept a boolean parameter controlling
keyboard navigation. In case of the clients menu neither is called
directly, instead the clients menu is always re-created in case any
new clients appeard since the last invocation. This patch adds a
keygrabber parameter to the clients() function as well.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-03 14:22:06 +01:00
Robert Lehmann
fcee5fb828
naughty: fix CloseNotification argument usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-01 14:13:52 +01:00
Matthias Schröder
87070cadac
awful.menu: support for access keys
...
You can define a menuitem like before:
awful.menu({ items = { { "&awesome", myawesomemenu,
beautiful.awesome_icon },
{ "open &terminal", terminal },
})
and the letters following the ampersand in itemname can be used as
access key. (at least former fvwm users might find this familiar)
When there are submenus open awesome ascends during the search from the
current menu to the top level menu.
The access key is shown underlined.
There is no warning for multiple used keys, only the first one found
gets the price.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-26 19:56:04 +01:00
perry
cb8eac8ccf
Revert "awful.autofocus: fix multiple screens autofocus"
...
This reverts commit 7575f64993
.
As seen on ML:
Switching tags with multiple heads causes focus to change
screens with this commit
Signed-off-by: perry <perry.hargrave@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-23 19:28:10 +01:00
Hiltjo Posthuma
cb262809dd
awful.menu: use actual wibox border width
...
We check the wibox border width for inappropiate values now, if we set
border_width to a negative value (invalid) in our theme and draw it, the
actual border_width will be 0 so the menu will be drawn incorrectly.
This fixed this.
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-21 10:47:57 +01:00
Levin Du
e2f292d869
Fix awful.util.table.reverse
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-17 10:25:12 +01:00
Tomi Belan
7575f64993
awful.autofocus: fix multiple screens autofocus
...
There might be multiple screens with visible windows. When closing the
last window of the current screen, try to focus them as well.
If no window has focus and yet some windows are visible (e.g. on another
screen), awesome misbehaves: it uses sloppy keyboard focus (as is the X11
default), but doesn't refresh their border colors or tasklists etc.
Signed-off-by: Tomi Belan <tomi.belan@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-16 15:14:55 +01:00
Adrian C. (anrxc)
a502e19bad
awful.tooltip: call set_geometry on show()
...
Function set_geometry was never called if the timer_function argument
was omitted. show function only called place() which would not display
a tooltip since it didn't have proper geometry.
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-11 17:48:27 +01:00
Hiltjo Posthuma
0a9f7985f8
Rules: change example
...
change example since the example with a centered client doesnt work
on the default config (due to no_overlap).
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-09 20:24:45 +01:00
Hiltjo Posthuma
3e3395a6a0
Rules: check if properties of a rule exist
...
Actually check if properties are set now, since we can also only
apply callbacks now.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-09 20:24:16 +01:00
bob
4aaf39a899
awful.rules: add "callback" option when a rule matches
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-09 10:25:40 +01:00
Julien Danjou
f3509f745a
naughty: convert <br> tag to \n
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-06 12:45:46 +01:00
Julien Danjou
64becbc047
awful.layout: emit arrange signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-06 12:40:13 +01:00
Lukas Hrazky
19971c4610
taglist: don't pad name with space, use margin
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-05 18:07:37 +01:00
Lukas Hrazky
a085a26d99
widget layouts: always set widgets.height as total
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-05 18:07:00 +01:00
lukash
717efb9ae4
awful.widget: few formal fixes for widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-05 18:05:27 +01:00
Lukas Hrazky
f2800d96fd
naughty: update to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-27 09:34:29 +01:00
Lukas Hrazky
8eece559b9
progressbar: remove minimum size limit
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 17:27:09 +01:00
Lukas Hrazky
5f38aadc25
progressbar/graph: fix rounding and graph drawing
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 17:27:09 +01:00
Julien Danjou
7f7ffca497
awful.tag: fix new when layout is nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:11:17 +01:00
Lukas Hrazky
a4f8935509
wibox: remove implicit orientation change
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:08:28 +01:00
Lukas Hrazky
a7c5668a92
update simple widgets to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:43 +01:00
Lukas Hrazky
9a51955279
update taglist and tasklist to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:42 +01:00
Lukas Hrazky
a079ab654d
awful.util: change table.clone to do deep copies
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:41 +01:00
Lukas Hrazky
c09582dca3
widget layouts: rewrite
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:40 +01:00
Zsolt Udvari
eb7ae0fb20
awful.tag: allow table as layout argument (FS#670)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 10:58:39 +01:00
Anton Bobrov
ad50440d5c
awful.rules: apply accumulated rule properties (FS#669)
...
To avoid the screen flickering, when two rules have different tags
with true switchtotag.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 10:27:44 +01:00
Damjan
3f565f1a3d
awful.menu: fix gap (FS#665)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 10:07:15 +01:00
Julien Danjou
371ee3e8cc
titlebar: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02:00
Julien Danjou
a6de1608a5
awful.wibox: remove useless deprecation-pass code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Julien Danjou
4c178d5441
hooks: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:04 +02:00
Gregor Best
851889f2b7
awful.screen: fix padding
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-09 20:05:42 +02:00
Julien Danjou
8c109794d9
awful.titlebar: set a default name if client's nil (FS#653)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-09 16:14:42 +02:00
dmitriy
9a9c3d12d7
naughty: upgrade to notification spec 1.0 (FS#652)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-07 19:57:01 +02:00
Felix Herrmann
b6e731b566
awful.widget.graph: fix typo in documentation
...
Signed-off-by: Felix Herrmann <felix@herrmann-koenigsberg.de>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-30 15:47:43 +02:00
Julien Danjou
9c651933a4
Revert "awful.layout.suit.magnifier: simplify"
...
This reverts commit f3c57faf1d
.
2009-09-28 14:41:54 +02:00
Julien Danjou
67e5346956
Revert "beautiful: init default theme by default" and "awesomerc: stop handling beautiful"
...
This reverts commit 42c47eecce
.
This reverts commit 4823a12541
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 13:43:49 +02:00
Julien Danjou
9166584b96
awful.tag: fix view{only,more}
...
Now they do not select multiple tags at once, and they do not flicker.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 11:24:39 +02:00
koniu
52c4461169
awful.tag: fix typo in viewmore
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 10:14:36 +02:00
Julien Danjou
61d2712076
awful.completion: use sort -u to sort (FS#621)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 17:15:49 +02:00
Gregor Best
ae0bf17af2
awful.tag: fix screen in viewonly
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 16:33:53 +02:00
Julien Danjou
7c5ba1fcef
awful.tag: filter out window before switching screens (FS#633)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 16:09:44 +02:00
Julien Danjou
9388dc5a1e
awful.client: fix initial geometry storage (FS#608)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:56:58 +02:00
Julien Danjou
d4e6411971
awful.tag: make viewmore smarter
...
This avoids flickering.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 15:11:40 +02:00
Julien Danjou
743603d24d
awful.tag: make viewonly more smart (FS#634)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 14:09:56 +02:00
Julien Danjou
f347876af4
awful.tag: fix client auto-tag on startup (FS#618)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-22 11:57:40 +02:00
Julien Danjou
f3c57faf1d
awful.layout.suit.magnifier: simplify
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 13:40:29 +02:00
Julien Danjou
9c21ce8907
awful.layout: listen to geometry signal and lock arrange (FS#625)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:31:49 +02:00
Cedric GESTES
9a0ae64840
placement: import center_horizontal and center_vertical
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-14 11:53:45 +02:00
Jacob Winther
808be1d9b8
variable set twice in client.lua
...
Very small fix.
From 6933b43bd3d00baba661b367db5450a9179da0c7 Mon Sep 17 00:00:00 2001
From: Jacob Winther <jacob.winther@gmail.com>
Date: Sat, 12 Sep 2009 06:59:58 +1200
Subject: [PATCH 1/2] awful.client: remove duplicate variable
Signed-off-by: Jacob Winther <jacob.winther@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-13 14:33:31 +02:00
Sébastien Gross
e196826415
awful.tooltip: ensure tooltip is attached to a screen
...
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 18:21:28 +02:00
Julien Danjou
4e35145ee3
remove bad files
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 14:21:19 +02:00
Julien Danjou
8588e2d594
awful.mouse: load finder
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:43:02 +02:00
Sébastien Gross
4d1ca7bc18
awful: Add a mouse finder capability
...
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:38:38 +02:00
Julien Danjou
1d595fe507
awful.mouse: move into a directory
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-11 13:31:33 +02:00
Sébastien Gross
2faa2c1d2d
awful: add tooltip module
...
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-09 20:27:47 +02:00
Uli Schlachter
7fc0c24f4f
awful.wibox: Error out on invalid positions
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-09 19:50:52 +02:00
Julien Danjou
444edf1d03
awful.wibox: update documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 17:02:56 +02:00
Julien Danjou
c0cb4203a9
awful.tag: fix withcurrent screen choice (FS#616)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 16:41:23 +02:00
Julien Danjou
17226e5a61
telak: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:04:43 +02:00
Julien Danjou
3617c4d43e
invaders: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 11:04:15 +02:00
Stephen Sugden
24a614f8d0
awful.menu: fix wibox height computing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 10:24:32 +02:00
Cedric GESTES
62b0a9d8f1
rules: define geometry properties
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-07 18:04:23 +02:00
Cedric GESTES
9bfc4b0017
titlebar: fix title and appicon position in the layout
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 18:18:52 +02:00
Sébastien Gross
4a7dba0198
tag.lua: fix new client screen
...
Prevent from blinking the first screen in multiheads by using
the mouse-focused screen tag list for a new client instead of
screen 1.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:40:12 +02:00
Cedric GESTES
ae6d09edc1
titlebar: add support for a custom widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:33:14 +02:00
Cedric GESTES
1df4f1c66c
rules: if a client has not the property we search: dont match
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:32:42 +02:00
Sébastien Gross
6511042f82
client: Fix get_client_in_direction
...
Both is_in_direction() and calculate_distance() expect clients
instead of geometries.
Signed-off-by: Sébastien Gross <seb•ɱɩɲʋʃ•awesome•ɑƬ•chezwam•ɖɵʈ•org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:31:28 +02:00
Gregor Best
aca7afd519
awful.wibox: fix position for right and bottom
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-02 10:34:20 +02:00
koniu
1b7c822ed3
awful.prompt: word delete splits by separators
...
Instead of separating only by spaces we also look for:
{ [ ( , . : ; _ - + = @ /
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-01 14:24:13 +02:00
koniu
2b0de2f23e
awful.prompt: reset 'selectall' correctly
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-01 14:24:12 +02:00
koniu
4c835b5ef9
awful.prompt: add 'font' to run() args
...
Also changes prompt_text_with_cursor() to take a table instead of
list of arguments allowing to incorporate font setting and
'prettyprompt' settings into the function.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-01 14:24:11 +02:00
Julien Danjou
d8fae99de1
awful.titlebar: add signals for various properties (FS#609)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 11:17:40 +02:00
koniu
8ff69e3529
awful.tag: add viewtoggle function
...
Helper function to toggle tag selection whilst updating history.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:44:34 +02:00
koniu
529502ffbf
awful.tag: fix and improve tag history
...
This fixes a long standing tag history breakage. To store history
of tag switching we rely on a special signal "tag::history::update"
which needs to be emitted by any function which deals with tag
selection.
History is multi-level with a configurable limit:
awful.tag.history.limit = 20 (by default).
awful.tag.history.restore function gets a new argument 'idx' which can
be either 'previous' (default) which will revert to the previously
selected set of tags, or a numerical index in the tag history table.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:44:33 +02:00
Julien Danjou
35ff4203d8
magnifier: fix then no tiled client
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:32:53 +02:00
Julien Danjou
95f3f8bdf9
telak: fix new proto and update description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 17:02:16 +02:00
Julien Danjou
f04ba72908
awful.tag: enhance description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:40:01 +02:00
Julien Danjou
1029a3cb69
awful.remote: enhance description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:36:34 +02:00
Julien Danjou
d9fff4da2c
awful.placement: enhance description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:35:51 +02:00
Julien Danjou
642a3f454b
awful.menu: enhance description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:34:52 +02:00
Julien Danjou
c9085905e8
awful.hooks: deprecate in description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:34:03 +02:00
Julien Danjou
91806b03ac
awful.dbus: enhance description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:33:18 +02:00
Julien Danjou
8b1b894cdf
awful.completion: enhance description
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:32:38 +02:00
Julien Danjou
905dddafe6
awful.client: fix direction functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:31:16 +02:00
Julien Danjou
a14e9eb18d
awful.{button,key}: enhance documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-28 15:26:41 +02:00
Gregor Best
523fcb1690
widget.layout.horizontal: fix y coordinate
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 17:06:13 +02:00
Julien Danjou
69999fee93
awful.widget.prompt: change ellipsize to start
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 14:45:42 +02:00
Julien Danjou
107f1cf1dc
widget.layout.horizontal: simplify .resize handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 14:37:18 +02:00
Cedric GESTES
ddc159f57e
rules: add a switchtotag rule to select the tag after setting it for a client
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 14:01:07 +02:00
Julien Danjou
f32e6a9b13
awful.widget.tasklist: add label.focused (FS#595)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:21:32 +02:00
Cedric GESTES
36180b9a41
tasklist: update tasklist when a client is hidden
...
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:08:57 +02:00
Uli Schlachter
ab6cd898c1
awful.widget: Don't use a resizable imagebox
...
awful.widget.graph and progressbar both create an imagebox. The default is
resize = true which means the image is scaled up inside the wibox if
:set_height() is used.
Setting widget.resize = false avoids this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:08:14 +02:00
Uli Schlachter
ac60bbd147
progressbar: set_value() should update()
...
set_value() didn't call update() and thus had no visible effect on the
progressbar.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:04:18 +02:00
Uli Schlachter
1c57970dd9
awful.widget.{graph,progressbar}: Un-local functions
...
This code accesses these functions via _M['set_height'], but if these are local
functions they aren't available this way. Un-local-ing helps here.
This was noticed by anrxc when he set a widget's height to 0.9. These functions
should have caught this invalid height and ignore it, but because they weren't
actually used this error checking was bypassed.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 11:04:05 +02:00
Cedric GESTES
cbaefeed9d
rules: accept rule if regexp is ok or value is equal
...
correct problem matching expression with - or special regexp character
Signed-off-by: Cedric GESTES <ctaf42@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:58:58 +02:00
Uli Schlachter
023a216f67
awful.client: Emit correct signal
...
When awful.client.property.set() was called it always emitted property::floating
on the client. Instead it should emit propert::<name of the property> of course!
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:54:05 +02:00
Gregor Best
efbba53507
awful.client: fix local function idx
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 10:53:31 +02:00
koniu
105a4ce41f
naughty: fix margin when using icon
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-26 09:14:57 +02:00
Julien Danjou
a71c5efd10
awful.util: pread return error
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 20:16:48 +02:00
koniu
58eb27a99b
naughty: port sizing to the new widget margin code
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 19:17:18 +02:00
Julien Danjou
5f43d178f7
awful.menu: use iconbox widget rather than bg_image
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 18:13:19 +02:00
Julien Danjou
53ca058ebb
awful.widget.layout: add support for margins
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 16:42:54 +02:00
Julien Danjou
8389b8c5d6
awful.hooks: deprecate
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 16:28:59 +02:00
Gregor Best
df07681109
awful.tag: fix viewidx()
...
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 14:49:53 +02:00
Julien Danjou
8ec1f4f49c
awful.rules: set focus as last property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 11:40:35 +02:00
koniu
312355416f
awful.autofocus: restore focus on hide/minimize
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 09:52:33 +02:00
koniu
194f6b2050
naughty: fix hover_timeout
...
Fixes regression since e899ca7696
.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 09:48:44 +02:00
Julien Danjou
af5037104c
awful.rules: document matching, support non-string rules
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:43:00 +02:00
Julien Danjou
e293a69982
screen: move the tagging on screen change to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:32:19 +02:00
Julien Danjou
6d65106c36
awful.rules: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:27:28 +02:00
Julien Danjou
6bad89fc2c
awful.client: movetotag() move client to the screen tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:09:56 +02:00
Julien Danjou
62d0d08caf
awful.titlebar: set correct height
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 11:49:05 +02:00
Julien Danjou
e298353583
awful.tag: view{next,prev} take screen as argument
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 08:31:44 +02:00
Julien Danjou
c43e40c05b
awful.widget.tasklist: fix double signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-22 15:04:34 +02:00
Julien Danjou
2b68f6df5e
awful.widget.taglist: refresh on tag name changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:29:56 +02:00
Julien Danjou
ba8ca594e8
beautiful: be safer with dofile()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:26:50 +02:00
Julien Danjou
b3214e589e
Partial revert of "awful.client: use signal and geometry attributes"
...
Partial revert of 1da49640b5
.
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:15:19 +02:00
Julien Danjou
e25a8ba6f4
awful.widget.tasklist: fix hide usage
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:03:57 +02:00
Christopher Eatinger
933c958220
awful.screen.focus: Prevent focusing a screen that doesn't exist
...
Signed-off-by: Christopher Eatinger <christopher.eatinger@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 21:01:06 +02:00
Julien Danjou
f848fb7844
wibox: update strut on visible change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 20:04:29 +02:00
Julien Danjou
973b19aba0
awful.menu: fix default key handling
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:35:12 +02:00
Julien Danjou
435716af73
awful.menu: allow more keys than only one in menu bindings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:28:55 +02:00
Julien Danjou
0f6125a3f6
awful.screen.focus: make focus() absolute and add focus_relative()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:05:02 +02:00
Julien Danjou
42c47eecce
beautiful: init default theme by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:54:14 +02:00
Julien Danjou
a800696a65
awful.tag: add a new() helper function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:50:01 +02:00
Julien Danjou
630748ef61
awful.menu: only listen mouse::enter on wibox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
2fda9f5a2e
naughty: fix timeout = 0
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
2d72e2477f
awful.autofocus: import and use
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
1692496fce
awful.widget.taglist: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
c66be3aa82
awful.widget.tasklist: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
26e2e2f375
awful.layout: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
Julien Danjou
d7a961175f
awful.widget.layoutbox: use attached_add_signal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:48 +02:00
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
Maxime COSTE
74188a07df
awful.completion: escape spaces
...
This patch add a bash_escape function for bash completion, at the moment it
only escape spaces, other escaping may easily be added
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 10:14:00 +01:00
Leon Winter
653fa0fadb
awful.menu: use bg_image instead of an imagebox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:59:44 +01:00
Leon Winter
8199f1c35a
awful.menu: change menu height to 16px
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:39:48 +01:00
Leon Winter
ff0f15f9a0
naughty/GetServerInfo: act according spec
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 12:37:48 +01:00
Leon Winter
2d0c8940fe
naughty: announce GetServerInfo over dbus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 09:56:41 +01:00
Leon Winter
894f9c5439
naughty: fix returning correct awesome version
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-19 09:56:41 +01:00
Sébastien Gross
8fb0ba2417
awful.completion: remove keywords global variable
...
* move keywords global variable to generic() last parameter.
This prevents from having table clash.
Please udate you configuration according this feature in your
awful.prompt.run() calls.
If keywords parameter is missing then no completion would be
done.
Before:
awful.completion.keywords = kw
awful.prompt.run( [ ... ],
function(t, p, n) return awful.completion.generic(t, p, n) end,
[ ... ] )
Now:
awful.prompt.run( [ ... ],
function(t, p, n) return awful.completion.generic(t, p, n, kw) end,
[ ... ] )
Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 13:55:41 +01:00
Leon Winter
fa41e0d395
naughty: return correct awesome version via dbus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 09:56:28 +01:00
Leon Winter
e8502a268f
naughty: add callbacks for presets
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 09:56:05 +01:00
Julien Danjou
8193a9cf0c
keygrabber: identify release events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 15:02:54 +01:00
Gwenhael Le Moine
25ac879569
suit.fair: restored C version fair layout's behaviour
...
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-16 13:30:18 +01:00
Julien Danjou
13787c0ba8
luaa: do not replace string.len(), export wlen()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 14:06:22 +01:00
Leon Winter
a1489b867b
awful.layout.set for non active tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 10:00:15 +01:00
Leon Winter
f49ce21335
telak: use luasocket instead of external wget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 09:59:14 +01:00
Gregor Best
fc91497d2f
awful.mouse: split client.dragtotag into .widget and .border
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-15 09:57:22 +01:00
Maarten Maathuis
02e4be93dc
completion, util: Check for io.popen failure.
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Maarten Maathuis
6e199bbd76
client, swindow: switch to a more convient definition of geometry
...
- In many places i see people correcting for border width and titlebars.
- This new definition is the equivilant of what used to be fullgeometry.
- The internal geometry is now contained to a few functions that few people ever touch.
- This should avoid confusion and make code easier.
- Also protect against several unsigned overflows.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Leon Winter
5f8b34b909
naughty: convert text and title tostring()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Leon Winter
b4f0e90362
naughty: support for categories via mapping
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Maarten Maathuis
709ae7afc7
mouse: prevent resizes of maximized windows
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Maarten Maathuis
630ef295a1
titlebar: resize client when adding/removing so total size remains the same
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Gregor Best
f655e8bcf4
awful.mouse: add wibox.move()
...
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
cbb61c6e17
telak: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou
6816682d42
awful.client: makes fixed size client floating
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +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
koniu
49258e7805
naughty: notify{run} gets notification object argument (FS#398)
...
Notifications will not be destroyed on 'run' execution unless the
provided 'run' function explicitly invokes die()/destroy(). For this
purpose run can now receive the notification object as argument.
naughty.notify{ text = 'hi',
run = function(n)
awful.util.spawn('firefox')
n.die()
end
}
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-14 10:28:23 +01:00
Gregor Best
0235d995c2
mouse: add object_under_pointer
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
koniu
53d7062917
awful.prompt: improvements to selectall
...
selectall argument to run():
* renders cursor selection
* is reset when anything but typing occurs
* is now independent from cur_pos == 1
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-14 10:28:23 +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
29702799dc
beautiful: simplify metatable setting
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +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
2037a053a9
layout: move layout code to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00
Julien Danjou
bf7bae8082
awful.client: add tiled()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Sébastien Gross
47c836de97
awful: add generic completion wrapper for awful.prompt.run()
...
[completion.lua.in]:
* add generic() function for completion
[prompt.lua.in]
* add completion_run() function as a run() wrapper with completion
kw_feeder sould return a key = value dictionnary. Completion is run against
key. Once completion is done, exe_callback(value, key) is executed.
That's the major differences between awful.prompt.run() and
awful.prompt.completion_run
Notice: This is not thread safe but as longs as only one keygrabber could be
run who cares?
Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Leon Winter
458ae34560
naughty: introducing urgency levels and presets
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou
4ac4cc3ab2
beautiful: simplify data retrieval
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +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
03e08257fb
naughty: notification.run destroys the popup
...
Popups that have mouse button 1 tied to a function (run) will be
destroyed upon execution.
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:29 +01:00
koniu
5603d93da6
naughty: hover_timeout can now be used in notify()
...
Signed-off-by: koniu <gkusnierz@gmail.com>
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
koniu
e1762128b7
naughty: bottom positioning has to count border twice
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
61947ec1c8
naughty: fix a bug on timeout when popup was destroyed by hover_timeout
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
Leon Winter
2d321ffbf8
naughty: add getIcon() to find icons with basename
...
Adds:
config.icon_dirs {}
config.icon_formats {}
"It adds the ability to search for icons in specified folders. This
is necessary for some applications using dbus like the firefox dbus
plugin."
To test it: naughty.notify{ icon = 'firefox' }
Signed-off-by: Leon Winter <Leon.Winter@informatik.uni-oldenburg.de>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
92fd31b7f5
awful.util: new function file_readable()
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
0358d1085d
naughty: notify() returns notification object
...
This makes notification mangling outside of naughty.lua much easier:
http://awesome.naquadah.org/wiki/index.php?title=Naughty#Popup_calendar
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
8599426168
naughty: never scale icon to text height
...
Also removes default icon_size of 16 to avoid confusion.
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
Leon Winter
1e93dda065
beautiful: use regex instead of helper function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +01:00
Leon Winter
118fbcb985
naughty: add D-Bus notification support
...
Allows Naughty to receive D-Bus notifications and emulate notification-daemon
and such.
Signed-off-by: Leon Winter <leon.winter@informatik.uni-oldenburg.de>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
Julien Danjou
a4254b195d
dbus: add D-Bus hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
53a830aea1
mouse: move resize code to awful.mouse
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
33c7083617
awful.tag: setmwfact() gets optional screen param
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
49bb7e87b4
mouse: remove client_move, move it to awful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +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
Julien Danjou
506e453a2f
remove deprecated functions
...
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
Maxime COSTE
22b7a79313
tabulous: do not swap clients in display
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 10:07:46 +01:00
Julien Danjou
a760f4b0bc
awful.titlebar: do not overwrite mouse bindings on close
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-08 16:43:24 +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
Sébastien Gross
f5bf5aa43d
awful.prompt: Add support for KP_Return
...
* The numeric paddle Enter key wasn't processed
Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-29 09:30:28 +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
5fecdc052d
awful.client: fix iteration over removed elements
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 11:18:35 +01:00
Maarten Maathuis
e6905ededb
awful.client: fix minor luadoc issue
...
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-27 10:58:10 +01:00
Julien Danjou
c7ee83fdbf
naughty: notify() returns notification object
...
This makes notification mangling outside of naughty.lua much easier:
http://awesome.naquadah.org/wiki/index.php?title=Naughty#Popup_calendar
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-11-25 09:47:46 +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
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
46822d510b
naughty: fix font support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-21 14:41:03 +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
6cbbd45d3a
awful.widget: fix name on minimize
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-19 21:17:15 +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
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
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
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
Julien Danjou
76a77cf070
awful.client: remove dumb comment line
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 17:11:04 +01:00
Damien Leone
d8aef41795
awful.menu: add menu_toggle parameter
2008-10-30 12:52:16 +01:00
Julien Danjou
17a6d2283e
awful: fix marking
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-29 09:39:06 +01:00
Gregor Best
2d6c09ee5a
invaders: replace ammo with round display
...
this commit replaces the now useless ammo display with a display showing
the current round.
2008-10-27 18:05:31 +01:00
Gregor Best
adcf32f9ed
invaders: code cleanup
2008-10-27 18:05:31 +01:00
Gregor Best
3895c0cde9
invaders: code cleanup
2008-10-27 18:05:31 +01:00
Gregor Best
7c20b14ce5
invaders: remove useless shots table
...
this commit removes the now useless table gamedata.shots and replaces it
with a single variable of the name gamedata.shot
2008-10-27 18:05:31 +01:00
Gregor Best
2a839ad875
invaders: fix indention and spacing
...
this commits fixes invaders' indention and spacing (every \t has been
replaced by 4 spaces)
2008-10-27 18:05:29 +01:00
Damien Leone
a2f3790dce
awful.menu: add a close function and fix various bugs
2008-10-27 12:30:47 +01:00
Julien Danjou
827d084dbf
awful.menu: escape client name in clients menu
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-25 15:36:08 +02:00
Damien Leone
666f3c9c83
awful.menu: add custom theme and fix various bugs
2008-10-25 15:33:02 +02:00
Julien Danjou
bf5001337c
awful.client: rename focus and swap bydirection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:31:18 +02:00
Damien Leone
e3ea2789de
awful.menu: fix screen width computation
2008-10-24 11:04:02 +02:00
Damien Leone
7750631bf2
awful.menu: prevent menus from poping outside the work area
2008-10-24 10:37:59 +02: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
3005196d64
awful.titlebar: use pairs instead of ipairs
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:22:58 +02:00
Julien Danjou
dc58313eee
awful.menu: add a menu for listing clients
...
This also allows usage of images object as icons, and destroy menu on
function execution.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:19:46 +02:00
Julien Danjou
9b722181fa
awful.util: add support for config dir
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:56:51 +02:00
Julien Danjou
8824d9f703
awful.menu: add support for functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:52:51 +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
4a6885e0eb
awful.menu: align text when item doesn't have icon
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 16:25:07 +02:00
Damien Leone
4d5b43a75e
awful.menu: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:20 +02:00
Gregor Best
e2d8f043b0
invaders: change points per enemy
...
this commits changes the points you get per enemy:
enemy #1 : 15
enemy #2 : 10
enemy #3 : 5
2008-10-21 22:49:15 +02:00
Gregor Best
04b5e24c43
invaders: clean code
...
this commits makes all enemies of a certain type use the same image
object to clean up the code a bit.
2008-10-21 22:49:02 +02:00
Gregor Best
7041a4680d
invaders: add luadoc comments
...
this commit adds luadoc comments right before invaders.run() so that all
its parameters are explained in luadoc.
2008-10-21 22:47:07 +02:00
Gregor Best
c846da24e1
invaders: change enemy distribution
...
This commit changes the distribution of enemies so that each row
contains only one type of enemy.
2008-10-21 22:47:07 +02: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
5ab2497b43
client, screen: use geometry rather coords as keyword
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:31:52 +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
Gregor Best
08a700f132
Increased Invaders difficulty
...
This commit increases invaders difficulty a little bit and cleans up the
code (moved static enemy data to the top of the file, made keygrabber a
part of capi, not an own local variable)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 19:42:40 +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
Gregor Best
072937ec70
Various changes to awful.util and invaders
...
This commit changes various aspects of awful.util and invaders:
awful.util:
- added awful.util.getdir(d)
This function takes one argument and returns a matching directory,
as of now, only "cache" is supported. The return value is either
$XDG_CACHE_HOME/awesome/ or $HOME/.cache/awesome/, XDG_CACHE_HOME
takes precedence
invaders:
- renamed invaders to awesome invaders
at two places in the sourcecode, invaders is referred to as
"Space Invaders for Awesome". As Taiko holds the trademark for
the term "Space Invaders", I changed both of its occurences to
"Awesome Invaders" to avoid conflicts with the law of Japan and
the United States of America (and possibly others)
- added support for XDG_CACHE_HOME
this change adds support for XDG_CACHE_HOME as the cache directory
for highscores and screenshots
- added some parameters to invaders.run()
this change adds three parameters to invaders.run, supplied as a
table. They are "x", "y" and "solidbg".
"x" sets the X coordinate of the playfield
"y" sets the Y coordinate of the playfield
"solidbg" sets the color of the playfield background for people who
have problems with transparency. This still looks rather hackish and
needs to be polished
- changed startup position
up until now, invaders always started at (100,100) on the first
screen, now it starts centered to the screen on which the mouse cursor
is.
2008-10-17 19:20:31 +02:00
Gregor Best
1f8d52b3f5
Fix 1800 points bug and finally get beautiful support working
...
This commit (finally) fixes beautiful support, now it should work with
beautiful and without.
Another fixed serious bug is that no more enemies are spawned if the
score is higher than 1800
2008-10-15 18:59:31 +02:00
Gregor Best
b3518691cf
add beautiful support to invaders.lua and change Garoth' name
...
This commit adds beautiful support to invaders.lua and changes Garoth'
name in the top comment to his full name + nickname
2008-10-14 21:39:56 +02:00
Julien Danjou
32ea9f46ca
invaders: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-14 18:16:26 +02:00
Julien Danjou
39f50d5b06
awful.titlebar: do not build args
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-12 17:14:44 +02:00
Thomas Harning Jr
946b38147e
awful.titlebar: Pull in missing dependencies and grab theme details
...
Modules beautiful and widget are required by the titlebar:
* beautiful to retrieve theme details
* widget for the buttons
Signed-off-by: Thomas Harning Jr <harningt@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-09 18:45:46 +02:00
Andrei Thorp
3c1f516758
Added swapbydirection to client.lua.in in awful.
...
Works similar to focus.bydirection, but swaps windows instead.
Also, added a generic local method get_client_in_direction for
use by (swap|focus)\.?bydirection.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-09 18:44:31 +02:00
Julien Danjou
df843a8452
awful.placement: fix no_overlap (FS#335)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-02 12:12:42 +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
842886b7d0
awful: add compatibility with old function names from util
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 16:26:30 +02:00
Julien Danjou
9dca1330c2
awful.client: maximize works in floating layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 15:05:54 +02:00
Julien Danjou
3f9b726065
awful.client: use right data array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 15:00:33 +02:00
Julien Danjou
da2f473386
awful.util: fix wrong variable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 17:07:25 +02:00
Julien Danjou
c3775199b0
awful.util: use loadfile instead of loadstring
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 17:00:19 +02:00
Julien Danjou
581a8b1103
tabulous: store tags in otable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 16:39:43 +02:00
Julien Danjou
da52a7b197
awful: add helper to check configuration file syntax
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 15:50:41 +02:00
Julien Danjou
c1566f39c5
awful.prompt: add math lib
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 09:36:40 +02:00
Julien Danjou
6dc84a1c12
awful.prompt: fix history save
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 09:22:34 +02:00
Julien Danjou
8d6e2b57af
awful.client: remove useless vars
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 19:57:04 +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
Nathan Weizenbaum
89700eeebe
awful: shift+tab cycles backwards through prompts
...
Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-27 08:52:39 +02:00
Julien Danjou
d23c352fcc
awful: use minimized rather than hidden in tasklist label
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 17:04:52 +02:00
Julien Danjou
5709435392
wibox: rework, merge titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +02:00
Julien Danjou
f374210382
client: add property hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou
0feb7de68e
wibox: merge statusbars and titlebars Lua objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 14:34:43 +02:00
Julien Danjou
98cf1890b4
awful: stop using deprecated visible_get()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
71ac6710e5
widgets: replace appicon by imagebox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
6614ffcb06
lua: deprecate and replace {font,colors}_set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
320ac68fb7
awful: filter focus by type
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
4ac6d4568b
awful: create a new launcher widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
5bacb52ee3
awful: refuse to set titlebar on no-normal windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
01f37e1edc
keygrabber: push an hash table instead of indexed table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
fef8ef91cb
awful: add no_overlap and no_offscreen placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
f0fe2e03c6
awful: implement under_mouse placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
ba20d32d10
awful: button handle enter if mouse button pushed
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
0a74d9e127
awful: button reset on mouse leave
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
c3d4ce3e42
awful: titlebars use awful.widget.button now
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
93fdc47901
awful: add button widget in awful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
3b895d84ed
mouse: rework mouse buttons API, support release events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
bc9196084a
awful: strip alpha channel in pango colors
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 17:07:04 +02:00
Marc Lagrange
56471ca618
awful: permit user defined images for squares
...
Signed-off-by: Marc Lagrange <markocpc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-13 16:55:21 +02:00
Julien Danjou
2d42b3c15c
awful: fix comments typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-12 20:38:48 +02:00
Julien Danjou
1cdd098fb1
awful: add client.setslave()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-10 17:04:54 +02:00
Julien Danjou
587302358c
awful: check for bg,fg focus (FS#304)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-07 23:29:24 +02:00
Julien Danjou
03dffd34dd
awful: add pread() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-04 10:55:27 +02:00
Julien Danjou
1b44fae3b2
awful: does not allow a window to have no tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-03 19:30:25 +02:00
Julien Danjou
fb33e85f31
awful: one of fg or bg urgent is enough
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 10:49:30 +02:00
Julien Danjou
7c6743d89b
awful: update titlebar after adding it
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 09:38:46 +02:00
Gregor Best
3e325782de
awesomerc: use gmatch instead of deprecated gfind
...
a user in #awesome made me aware of a little quirk in lib/awful.lua
which renders the history of the prompt unusable when using Gentoo and
installing Lua without the USE-flag "deprecated". Lua states that
string.gfind has been replaced with string.gmatch and aborts the
function prompt_history_save(id). I attached a patch that replaces
id:gfind with id:gmatch, which so far has not revealed any problems.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 08:43:50 +02:00
Maxime COSTE
3fecec15c3
tabulous: Handle external raise of hidden windows
...
Tabulous now gracefully handle hidden windows being raised from the task bar.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-30 08:56:27 +02:00
Maxime COSTE
ef7d08c027
tabulous: fixed deprecated focus_get/set calls
...
Hi again,
some trivial cleanup that (I think) needed to be done.
Cheers,
Mawww.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 11:43:10 +02:00
Maxime COSTE
531005453a
tabulous: made tabulous tab aware
...
here is a patch that add tag support for tabulous, so now when a windows is
both tabbed and multiple tagged, it behave as expected (at least by me, that
is do not hide a window in a tag where it is not tabbed)
We can still mess up the tabs by clicking on the window name (in the taskbar)
but this will (I hope) be fixed in another patch.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 10:47:47 +02:00
Maxime COSTE
c4d8cad1c5
awful: add support for programmable bash completion
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 16:25:19 +02:00
Julien Danjou
fdddc839e8
awful: drop lfs in favor of mkdir -p
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-23 08:29:52 +02:00
Julien Danjou
c3a1e36be1
awful: avoid concat of nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-21 14:57:31 +02:00
Julien Danjou
fd35fc6d11
beautiful: set wallpaper of each screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 18:15:08 +02:00
Julien Danjou
62370ecb87
awful: create history dir if does not exists
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 16:55:30 +02:00
Matteo Landi
e9a65cbfd5
awful: titlebar support for changing the close button
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 16:41:33 +02:00
Julien Danjou
a651388da0
awful: fix toggletag (FS#277)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 13:13:34 +02:00
Julien Danjou
f4872715ce
mouse: coords is a function now
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 12:10:22 +02:00
Julien Danjou
e02fc5aacb
client: make coords a method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 12:00:22 +02:00
Julien Danjou
d261f9a3cc
widgets: generic set/get for list
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 19:13:46 +02:00
Julien Danjou
145e19b2e6
statusbar: widget is now a function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 18:20:39 +02:00
Matteo Landi
6049eaec3f
beautiful: remove tabulations in key/value parsing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 16:57:48 +02:00
Julien Danjou
22f41a6983
lib: add @release tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 11:41:58 +02:00
Leon Winter
2e2b6a3112
awful: add urgent client fast switching
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 10:39:34 +02:00
Julien Danjou
a5cb5a4397
awful: don't compare with ws coords
...
This fails if the window has resize hints or send configure request.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-17 10:14:38 +02:00
Damien Leone
17d1e6b741
awful: fix theme.taglist_squares usage
...
Signed-off-by: Damien Leone <damien.leone@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-15 19:18:06 +02:00
Matteo Landi
5e30026920
awful: allow coloring the taglist and the tasklist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-15 16:48:58 +02:00
Julien Danjou
df79115dd1
zaphod: restore support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-15 00:31:32 +02:00
Julien Danjou
afddb337b2
awful: make timer not every one second
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-14 16:26:33 +02:00
Lucas de Vries
f99dd800ec
awful: add done_callback
...
Always called when the prompt ends, regardless of whether
it was cancelled, to prompt.run.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-14 14:27:56 +02:00
Lucas de Vries
651479f254
awful: don't try to spawn nil or empty commands
2008-08-14 14:23:01 +02:00
Lucas de Vries
6ae0d554a8
awful: make displaying the taglist squares a theme variable
2008-08-13 22:48:41 +02:00
Lucas de Vries
469a44f0db
awful: also display selected tags in widget.taglist.label.noempty
2008-08-13 22:48:11 +02:00
Damien Leone
b2398370f9
awful: Patch prompt so it can handle different files
...
Signed-off-by: Damien Leone <damien.leone@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 21:07:58 +02:00
Julien Danjou
7e15509733
screen: implement tags set/get as function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 18:12:26 +02:00
Julien Danjou
d69b602e52
tag: export clients as a function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 17:59:01 +02:00
Julien Danjou
871285551d
client: export tags as a function
...
That makes more sense.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 17:49:57 +02:00
Julien Danjou
905d8e78a1
awful: check for name not nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 18:04:02 +02:00
Julien Danjou
5211448bd8
awful: switch screen focus even, don't care for windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 17:35:00 +02:00
Julien Danjou
c2f8275bf8
client: deprecate client_get() and client_set()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 12:17:19 +02:00
Julien Danjou
8adf417145
awful: maximize now toggles
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 10:34:49 +02:00
Julien Danjou
594308316a
awful: prompt history index is local to prompt
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 08:39:31 +02:00
Julien Danjou
ab66b87377
lua: fix otable __newindex
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 23:33:35 +02:00
Julien Danjou
f9954cd6af
awful: init index history at run
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 22:42:48 +02:00
Damien Leone
17900df7db
awful: fix index init
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 20:49:37 +02:00
Damien Leone
2e4fdbb40d
awful: fix empty command adding
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 20:39:03 +02:00
Damien Leone
df7d60faf3
awful: add prompt history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 19:47:23 +02:00
Julien Danjou
5758a3919a
tag: remove get and geti methods
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:26:09 +02:00
Julien Danjou
be2bfdcfc5
screen: introduce screen objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 17:14:02 +02:00
Julien Danjou
fb093696bb
clients: add icon_name support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 11:41:42 +02:00
Konstantin
0397854775
awful: add no empty show for taglist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 09:53:44 +02:00
Julien Danjou
a5806d5e61
lua: arrays use __next and __pairs metamethods
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:19:56 +02:00
Konstantin
4ab499fe26
Alternative export method of arrays from C to Lua
...
The patch is mainly to export client_array_t object to Lua,
but can be used to export any ..._array_t object.
The idea: export to Lua not a table, but userdata with
metamethods to get/set/define length of ..._array_t object
directly.
Now when I get clients field from tag object C code
creates full copy of client_array_t structure into Lua table.
It takes traversing a whole array of data.
I did it in other way: userdata is exported, with __index,
__newindex, and __len meta-methods defined, and Lua
script gains direct access to client_array_t C-array:
it can get client object, get length of array and assign
client objects to some index in C-array.
Pros:
No overhead of creation a copy of C-structure into Lua-table:
if I want just to test a number of clients for a tag, I don't need
a whole loop to build table, I just want to read clients->len field,
and I do so via __len meta-method.
Also if I want to get some client from tags.clients, I don't need
to create ALL clients Lua-objects, I just get client_t C-struct
and create Lua-object from it. Just in place.
So Lua-loop enuming all tag.clients is not 2 loops internally
(first create copy of tag.clients into Lua-table, then enum this table),
but only one, and if I break out of loop in the middle, I create
only some client Lua-objects, not all of them from tag.clients.
Contras:
As far as clients field is not a table, I cant use pairs/ipairs
and other table functions for it.
But it can be implemented in other way:
for k,c pairs(tag.clients) => for k = 1, #tag.clients,
table.insert(tag.clients, client) => tag.clients[#tag.clients+1] = client
etc.
One more Pro now:
As far as tag.clients in current implementation returns copy of data
table.insert doesn't do what's expected: it doesn't really add client
into tag.clients "array".
With my implementation client is added as expected, as we work with
client_array_t structure directly.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 16:18:59 +02:00
Fabienne Ducroquet
0348b0566e
libs: fix callback call and untab
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-10 08:04:09 +02:00
Konstantin
36cf917890
awful.lua - use new tags.clients to enum clients in taglist.label.all
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-09 19:48:17 +02:00
Julien Danjou
2f04baed34
beautiful: fix luadoc module name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 19:07:42 +02:00
Julien Danjou
eb2eb9c30b
awful: check for selected
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 17:07:31 +02:00
Julien Danjou
56b42a7878
titlebar: widgets are now returned/set as array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:49:26 +02:00
Julien Danjou
874e62d849
titlebar: replace client_get() by client attribute
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:04:18 +02:00
Julien Danjou
e73269c727
awful: use tag screen number
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 14:45:50 +02:00
Julien Danjou
9cb22b96eb
lua: exports client.tags and tags.clients
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 16:39:45 +02:00
Julien Danjou
3814103a1e
lua: implement objecttable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 16:39:30 +02:00
Julien Danjou
0826351a72
awful: check for sel.screen after sel
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 16:34:37 +02:00
Damien Leone
03645feec0
beautiful: allow extra spaces in theme file
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 08:20:08 +02:00
Damien Leone
171ece9918
awful: add focusbydirection() (FS#166)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 21:11:47 +02:00
Julien Danjou
395e4b46d4
awful: indentation fix
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 21:10:10 +02:00
Julien Danjou
9cf1bc00c9
libs: add vim modeline
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 15:39:51 +02:00
Damien Leone
be9e53f4be
beautiful: remove useless var and close file
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 15:38:41 +02:00
Julien Danjou
1755dd51fe
awful: add beautiful support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 15:15:13 +02:00
Julien Danjou
3b785d6f6c
awful: fix titlebar creation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 14:11:22 +02:00
Julien Danjou
bacd864400
beautiful: fix Damien's mail address
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 22:26:34 +02:00
Julien Danjou
2735144b8c
beautiful: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 22:24:14 +02:00
Julien Danjou
5473c31737
awful,tabulous: fix copyright for luadoc
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 16:41:23 +02:00
Julien Danjou
ac6093673d
awful: check that text is not nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 16:21:12 +02:00
Julien Danjou
9aa78f43e3
awful: add unregister() for hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 14:51:03 +02:00
Julien Danjou
4abea3acca
libs: rewrite as module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 14:31:53 +02:00
MATSUU Takuto
e7b4d96ab3
awful: add some shortcut keys in prompt
...
Ctrl + b - Move back a char
Ctrl + c - Cancel
Ctrl + d - Delete from under the cursor
Ctrl + f - Move forward a char
Ctrl + j - Enter
Ctrl + h - BackSpace
Ctrl + k - Delete to EOL
Ctrl + m - Enter
Ctrl + u - Delete backward from cursor
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-03 11:37:48 +02:00
Julien Danjou
1ea999aef1
awful: really handle select
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 10:46:25 +02:00
Julien Danjou
044702569a
awful: bugfix in label
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 10:44:25 +02:00
Julien Danjou
20af8bdfca
awful: make sel prio over urgent
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 10:26:13 +02:00
Alex Cornejo
825e012442
Handle urgency hint in awful.
...
Add option bg_urgent and fg_urgent and handle them
appropiately in tasklist and taglist widgets.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 10:02:38 +02:00
Julien Danjou
61d5bda37a
awful: fix typo for unmanage hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 08:33:26 +02:00
Julien Danjou
6c2c607759
awful: automatize titlebar update
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 00:10:04 +02:00
Julien Danjou
f48f26286e
awful: move awful hook registration in awful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 23:44:33 +02:00
Julien Danjou
6e54661e7f
awful: implement focus history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 22:33:18 +02:00
Julien Danjou
4016877ad4
screen: move screen.focus to awful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:30:03 +02:00
Julien Danjou
f0af665795
awful: implement tag history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-30 15:37:05 +02:00
Julien Danjou
4a47502e16
awful: add maximize function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 18:29:27 +02:00
Julien Danjou
2e12125423
awful: move floating icon in tasklist dir
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 17:49:32 +02:00
Julien Danjou
d0f9cbade8
awful: readd support for square in taglist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 17:48:39 +02:00
Julien Danjou
1391b3e92b
awful: add move and resize mouse bindings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 16:56:38 +02:00
Julien Danjou
3db9f29453
appicon: new widget, used in titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 16:51:21 +02:00
Julien Danjou
8649c6cb8c
awful: add titlebar support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 15:47:58 +02:00
Julien Danjou
4e081e7c2a
awful: move taglist label in label.all
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 11:23:52 +02:00
Julien Danjou
112f0863dc
awful: add several label function for tasklist
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 11:21:47 +02:00
Julien Danjou
4e577f9fed
awful: add default taglist label function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 10:26:13 +02:00
Julien Danjou
7419a99827
awful: toggletag: check that tag and client screen are identical
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 16:09:01 +02:00
Julien Danjou
354af424ba
awful: movetotag: check that tag and client screen are identical
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 16:06:06 +02:00
Julien Danjou
2c5333e9a3
mouse: merge screen_get() into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 09:14:17 +02:00
Julien Danjou
ab72f6f02b
mouse: add newindex, merge coords
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-02 09:11:03 +02:00
Julien Danjou
8646d06fab
client: merge coords function into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 22:08:27 +02:00
Julien Danjou
014214794a
client: merge screen_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 21:39:52 +02:00
Julien Danjou
d7c70c57b5
client: merge floating_{set,get} into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:55:18 +02:00
Julien Danjou
86df357a2b
client: merge hide into index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:43:23 +02:00
Julien Danjou
4ddf692ee4
tag: layout use index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 15:06:20 +02:00
Julien Danjou
7fa9c39a6b
awful: fix UTF-8 char in prompt
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:48:48 +02:00
Julien Danjou
e012a4ba49
tag: use index for ncol
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:23:06 +02:00
Julien Danjou
d328904d30
tag: use index for nmaster
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 14:17:07 +02:00
Julien Danjou
ef7379c983
tag: remove mwfact_{get,set}, use {new,}index
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 13:59:40 +02:00
Julien Danjou
f750124d5c
tag: add {new,}index, use it for selected
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 11:38:40 +02:00
Julien Danjou
0d7b5a7c07
awfuL; give focus to sel on screen change
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 09:34:39 +02:00
Julien Danjou
a4e12b1ce0
mouse: fix args for mouse.coords_set()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 09:27:34 +02:00
Julien Danjou
5aa2768861
textbox: use newindex API
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-27 20:24:30 +02:00
Julien Danjou
19a454d978
awful: fix to use new widget API
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-26 17:53:38 +02:00
Julien Danjou
775e634e13
tabulous: add documentation, cleanup
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 20:35:00 +02:00
Julien Danjou
fee4116e3d
Merge commit 'madcoder/master'
2008-06-25 11:48:22 +02:00
Pierre Habouzit
ead90f618c
Ignore keys that have a multibyte length of more than 1.
...
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-25 11:45:57 +02:00
Julien Danjou
5d3d45f0cf
awful: rename menu to prompt
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 09:07:57 +02:00
Julien Danjou
4a318e99fb
awful: add more documentation
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 09:03:29 +02:00
Julien Danjou
1f4e55e432
client: rename hide API
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-24 13:44:15 +02:00
Byron Clark
d8104e8ad4
awful: mouse.screen_get only uses passed screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-21 10:20:00 +02:00
Julien Danjou
b83052281e
awful: fix screen.focus()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 11:13:02 +02:00
Julien Danjou
936d5457a3
awful: bug fix in swap
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 11:06:59 +02:00
Julien Danjou
3a6b1935f2
awful: bugfix
...
Signed-off-by: Julien Danjou <jdanjou@cigue.easter-eggs.fr>
2008-06-20 10:52:47 +02:00
Julien Danjou
1530486e9d
awful: comments some functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-20 09:15:20 +02:00
Julien Danjou
8947213491
awful: fix completion declaration
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 18:45:46 +02:00
Julien Danjou
fe1ecf4b46
build: move Lua libs to lib
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-19 15:01:54 +02:00