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
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
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
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
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
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
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
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
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
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