Commit Graph

169 Commits

Author SHA1 Message Date
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 e5c38ad17f awesomerc: support no layout
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:23:47 +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
Kanru Chen 94dab79ff3 awesomerc: put systray into statusbar
table.insert doesn't work on statusbar.widgets because statusbar.widgets
always returns a new copy.

'condition and a or b' works like 'condition ? a : b' in C.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-09 10:00:20 +02:00
Julien Danjou 2900127619 awesomerc: revert titlebar off
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:50:55 +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 e5d828b369 statusbar: widgets is now an array
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 15:47:09 +02:00
Julien Danjou 85caf26d63 awesomerc: add colons
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 14:06:34 +02:00
Jay Bromley d5c82f9982 awesomerc: improve management of floating/predefined tags (FS#241)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 12:13:54 +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 2735144b8c beautiful: import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 22:24:14 +02:00
Julien Danjou 8061e35154 awesomerc: cosmetic
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 16:44:22 +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
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 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 26545ddecb awesomerc: move history in its own arrange() register
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 22:35:47 +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 b7568c44ea awesomerc: make titlebar optional and disabled by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:52:34 +02:00
Julien Danjou 81ae462a70 focus: remove focus history
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:30:01 +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 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 8649c6cb8c awful: add titlebar support
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 15:47:58 +02:00
Julien Danjou 8ba4eb6f90 awesomerc: fix default lua eval prompt
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-29 13:55:35 +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 e52cd0017c awesomerc: fix string escape
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 15:58:30 +02:00
Julien Danjou 09fd61fdfa tasklist: use label to determine which objects are drawn
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-28 15:57:17 +02:00
Julien Danjou 3c63930a5d awesomerc: enable smart placement by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-26 17:31:52 +02:00
Julien Danjou 21f1f4cf0a statusbar: use screen attribute to add to screen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 17:37:24 +02:00
Julien Danjou 4f73b51e6f tag: remove add(), use screen attribute
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-24 17:07:24 +02:00
Julien Danjou 6dc3204208 awesomerc: fix screen computing in window tagging
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-23 15:30:14 +02:00
Julien Danjou 354f37ef6c taglist: use callback function to get print text
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou f28b4c07b2 tasklist: stop using client markup
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-10 11:02:11 +02:00
Julien Danjou e9407c9670 awesomerc: display icons when client is floating
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 12:34:42 +02:00
Julien Danjou 3f46ec2152 tasklist: use a callback for label
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-09 12:12:52 +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 b9e8307f60 client: merge border_set into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 20:07:21 +02:00
Julien Danjou 2b1101daee client: merge honorsizehints into index
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:59:36 +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 a07b726714 client: add index, move name functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-01 19:37:46 +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 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 45b0a2df80 lua: replace .new() by __call meth
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 14:11:54 +02:00
TANABE Ken-ichi 0e42c66d49 Fix missing index in tag manipulation
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-30 09:51:37 +02:00
Julien Danjou 843c302e8b awesomerc: use layouts[1] as default layout for tags
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-27 23:06:29 +02:00
Julien Danjou 09647eef9b taglist: use newindex API
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-27 22:25:31 +02:00
Julien Danjou c4cc8da645 tasklist: use newindex API
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-27 22:15:54 +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 094d0ebc50 widget: new widget index method
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-26 16:35:07 +02:00
Julien Danjou 68f0eda193 iconbox: remove
This can be replaced by textbox.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 16:37:16 +02:00
Julien Danjou 6ec76c3b97 client: honor size hints is now by client
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 15:42:07 +02:00
Julien Danjou 92797c11b9 awesomerc: use table for floating rules
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-25 13:49:27 +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 9071cb1332 awesomerc: fix mplayer
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-23 11:37:58 +02:00
Michael Gehring d3a93645d6 cmake: fix awesomerc.lua.in variable names 2008-06-19 22:28:47 +02:00
Pierre Habouzit 7b37c6cf0d Do not wark is a button is pressed.
If a button is pressed, it's that the user is currently having the hand
over it, don't make it move !

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-19 16:55:37 +02:00
Pierre Habouzit 2d8d50f2c1 Add a snipplet for mouse warping.
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-06-19 12:19:10 +02:00
Julien Danjou ecb1db4ca3 awful: enable bash completion
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 20:07:18 +02:00
martin f. krafft 81fb5ab50b make pinentry a floating window
Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 18:33:40 +02:00
Julien Danjou 9959169bb0 statusbar: check for widget uniqness
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 17:19:36 +02:00
TANABE Ken-ichi 95c8e05c4d Add client_zoom
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-18 13:24:43 +02:00
Julien Danjou 975eba0049 awful: simplify menu args
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-17 16:37:27 +02:00
Julien Danjou 66258a6d23 awful: add a cursor in the menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-17 16:11:35 +02:00
Arnaud Fontaine d0a5638bb6 awesomerc: fix typo 2008-06-17 09:13:00 +02:00
Julien Danjou e6799e6ab1 awesomerc: fix incncol binding
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-16 17:53:39 +02:00
Julien Danjou f418cb0c2e systray: attach systray to external window, not statusbar
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-15 10:33:10 +02:00
Julien Danjou 70dbe7bc4d systray: add support for multiple physical screens
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-14 23:23:00 +02:00
Julien Danjou e5e379656a systray: import widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-14 18:12:16 +02:00
Julien Danjou 213ce63430 awesomerc: add default binding to eval() Lua code
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-13 17:51:39 +02:00
Julien Danjou 1142c382f7 mouse: make button bindings objects
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-13 15:35:47 +02:00
Lucas de Vries 95e81c83e5 [awesomerc] set default mwfact to the golden ratio again 2008-06-12 08:17:00 +02:00
Lucas de Vries 2d0eded00e [awesomerc] put colors in variables, change default colors
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-12 08:17:00 +02:00
Lucas de Vries 0bd9e548ad [awesomerc] fix tabulous new tabbed view binding 2008-06-11 11:11:12 +02:00
Lucas de Vries 76657e590c [awful/tabulous] Tagging to marking, add tabulous keybindings
Rename awful tagging to marking clients, create ismarked, togglemarked
and unmark, use userhooks for marked and unmarked, add tabulous
keybindings to the default config.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 10:35:54 +02:00
Julien Danjou a82a56d5f8 [awful] Add a tagging system to manipulate windows
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 08:52:07 +02:00
Lucas de Vries 0ccfea330a [tabulous] Improve
I've attached a patch file which improves on the recently added
tabulous lib a lot, using it will require a bit more config-end logic,
but it's much more powerful and allows for things such as tabbars and
autotabbing.

List of changes:
* [awful] Add awful.hooks.userhook_create and
awful.hooks.userhook_call so external libs can easily add their own
hooks (tabulous uses these)
* Tabulous now uses a tabindex system, instead of a messy circular
table, every set of tabs is now a tabbed view, this is more practical
and allows for the same order to be retained even if the focus shifts
(otherwise, the currently focussed tag would always be the first one
in the tabbar)
* Tabulous now exports a number of extra functions that will help you
in managing your tabs efficiently
* Tabulous now has an autotab_start() function you can call
(preferably right after the require so any other hooks you may have
set up won't interfere with it), when this is on, any newly created
windows will automatically be tabbed into the current tabbed view if
you have one selected (if the focussed window is not part of a tabbed
view, tabulous will do nothing)
* Tabulous bugfixes

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-11 07:47:57 +02:00
Julien Danjou 4573147196 [hooks] Rename newclient to `manage', add unmanage hook
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 19:03:10 +02:00
Julien Danjou 13a96b6edd [keygrab] Add keygrabbing infrastructure
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 17:22:36 +02:00
Julien Danjou 43fee02a5b [tabulous] First import
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-10 10:18:56 +02:00
Julien Danjou 1049393840 Revert "Replace tags by workspaces"
This reverts commit 00f966ea04.

Revert "[focus] Fix bogus arguments"
This reverts commit 816b5d16bc.

Revert "[mouse] Fix bug with floating"
This reverts commit 89daa72790.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 21:56:03 +02:00
Julien Danjou 00f966ea04 Replace tags by workspaces
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 16:30:46 +02:00
Julien Danjou ce44489bf2 [awful] Add client.movetoscreen()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-09 09:06:00 +02:00
Julien Danjou e5222ce55a [awesomerc] Fix taglist mouse bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 20:31:42 +02:00
Julien Danjou 4c41361d6c [lua] Add object as argument to mouse click function
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-04 19:21:21 +02:00
Julien Danjou f602a68541 [awesomerc] Simplify floating binding
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-06-02 15:55:20 +02:00
Julien Danjou d19639d555 [awesomerc] Add example with real date
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:56:31 +02:00
Julien Danjou dae5352d33 [awesomerc] Raise on tasklist click
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 23:50:01 +02:00
Julien Danjou 5e01a24ac3 [awesomerc] Fix typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 15:57:22 +02:00
Lucas de Vries 252fd45573 [awful] Handle hooks
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-31 15:47:00 +02:00
Julien Danjou 83534783c0 [awesomerc] Add a default hook timer to have time
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-30 18:50:09 +02:00
Julien Danjou f1183cc6fa [awesomerc] Raise on button1 click
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-29 10:56:15 +02:00
Julien Danjou b6e31563d0 [lua] Add new keybinding interface
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 12:15:00 +02:00
Julien Danjou 99f6ff1d45 [awesomerc] Make layout box clickable by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-28 06:53:49 +02:00
Julien Danjou 3b719fcb18 [awesomerc] Disable sloppy focus for magnifier
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-05-27 22:18:19 +02:00