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
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
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
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
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
Julien Danjou
a71c5efd10
awful.util: pread return error
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 20:16:48 +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
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
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
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
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
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
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
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
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
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
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
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
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