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