Commit Graph

304 Commits

Author SHA1 Message Date
Julien Danjou cd024821b5 awesomerc: add border color change on {un,}focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 16:08:38 +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 4823a12541 awesomerc: stop handling beautiful
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:55:42 +02:00
Julien Danjou 01461f7dd8 awesomerc: use awful.tag() to create tags
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:50:10 +02:00
Julien Danjou 5bb7f078d7 awesomerc: change sloppy focus hook to signal
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 7954f19417 client: emit signal on manage
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou 99b75bf486 tag: port to new object system
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 15:30:47 +02:00
Julien Danjou ee1a3f24d7 awesomerc: remove marking stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-18 16:29:37 +02:00
Julien Danjou 92ad2f645f awesomerc: use textclock widget
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:49:46 +02:00
Julien Danjou 4ff51d5189 awesomerc: remove marking
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-17 17:37:38 +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 d7454f4307 key, button: use as simple table
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-07-28 10:44:54 +02:00
Gregor Best 1908bd3d57 awesomerc.lua: 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:52 +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
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
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 71c0ded940 tag: add a hook for tag on select/unselect
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-06-10 11:41:36 +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
koniu d0d4598ae6 awesomerc: allow 'false' in floatapps
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-05-18 08:33:54 +02:00
Uli Schlachter 57b717aba6 Don't use obsolete table.foreach() in the default config
This replaces those repetitive calls to table.foreach() with one call to
awful.util.table.join() which gets passed all the tables returned from the
awful.key() calls.

Thanks to anrxc for testing this.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2009-05-10 10:48:03 +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
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 0705fbf29d spawn: use glib spawn module to catch error
This is a lot better than our previous code. We can now report execution
error to Lua directly.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-27 20:18:39 +02:00
Julien Danjou ad887a77bf change default binding for run prompt to Mod4+r
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 18:20:06 +02:00
Julien Danjou 76e978597f change default Lua code execution to Mod4+x
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-04-17 18:19:37 +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
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 a0d36316c4 awesomerc: Lua prompt has no completion
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-19 11:04:04 +01:00
Alex Cornejo 7fc8f4abc7 Replaced double loop with a single one.
Unless I am missing something there is no purpose of using two loops
instead of one.

Signed-off-by: Alex Cornejo <acornejo@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-18 08:20:53 +01:00
Fredrik Ax 5ee16fb72d awesomerc: change tasklist button 3 default behaviour
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-03-17 13:37:39 +01:00
Damien Leone c29f57a5af awesomerc: add keybinding to open menu with keygrabber 2009-03-12 19:57:36 +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
Damien Leone 84b75524ee awesomerc: raise client when focused with mouse buttons 4 and 5
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-24 17:43:25 +01:00
Julien Danjou baab41fb1f Revert "awesomerc: raise client when focused"
This reverts commit 2de0b063fe.
2009-02-24 17:42:21 +01:00
Julien Danjou 2a45cd556f awesomerc: change default time to be human readable
This will also reduce awesome wake up by only printing minutes.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-23 13:54:21 +01:00
Damien Leone 2de0b063fe awesomerc: raise client when focused
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-21 11:59:21 +01:00
| 334adf5208 awesomerc: do not use table.insert(), define table
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-20 15:02:22 +01:00
Julien Danjou 76b081622b awesomerc: enhance button 1 on tasklist (FS#450)
This will make it work with alltags label function.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-02-13 11:31:20 +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 62bbc395ab awesomerc: make vile default layout
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-26 15:49:40 +01:00
Julien Danjou 944e2fd7e2 awesomerc: remove class/instance printing
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-15 15:39:00 +01:00
Julien Danjou dd98dceea8 awesomerc: remove mouse warping example
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-15 15:36:24 +01:00
Gregor Best ce396bc189 awesomerc.lua: get default tag layout from layouts table
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-11 19:12:30 +01:00
Leon Winter ab57bad361 awesomerc: open clients menu only once
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-08 14:29:15 +01:00
MATSUU Takuto 7e324e962e awesomerc: fix floating state handling
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-06 13:13:10 +01:00
Julien Danjou d9c868b627 client: implements per-client key bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 16:59:20 +01:00
Julien Danjou bf44ae1e03 luaa: move root button bindings to root module
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-01-05 14:31:42 +01:00
Julien Danjou ddcbd2ae9d awesomerc: move where the mouse is only soon
That avoids overriding apptag.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 17:25:49 +01:00
Julien Danjou 6fe62d2093 awesomerc: do not change windows screen if filtered out.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 12:27:59 +01:00
Julien Danjou d779aa6c40 client: client screen change at manage is done in Lua
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 12:26:01 +01:00
Julien Danjou cd667802db hooks: manage gets an extra startup arg
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-29 12:23:37 +01:00
Damien Leone d3a4506a43 awesomerc: raise client when awful.client.focus.history.previous() is called
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 11:50:43 +01:00
Julien Danjou 53f58aa1a6 keybinding: move to key
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-18 11:33:52 +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
Julien Danjou 9d175377b8 client: stop duplicating size hints data
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +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 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 576a1e85fc client: maximize belongs to client internal
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou fd0e1022bb awesomerc: simplify some bindings
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou dbe05e02ca awesomerc: enable naughty by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +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 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 a8a055af07 awesomerc: use byidx()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-25 08:59:38 +01:00
Julien Danjou 97ca8acc80 awesomerc: typo
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:59:44 +01:00
Julien Danjou 32e69bc1cc awesomerc: add missing check for client.focus
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:52:58 +01:00
Maarten Maathuis 45f2b79a98 awesomerc: delay client focus until after it's on the right tag.
- This avoids seeing the client for a split second on the current tag.

Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:37:10 +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
Andrei 'Garoth' Thorp 9d04111a75 sky-theme: Initial import and integration
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 16:06:14 +01:00
Julien Danjou eb35fcb057 awesomerc: use getmaster()
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 13:56:32 +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 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 71f2c94738 awesomerc/default theme: define awesome icon in theme instead of rc 2008-11-09 15:48:06 +01:00
Gregor Best 9789a9cfad awesomerc: add support for layout icons from theme 2008-11-08 17:01:04 +01:00
Julien Danjou 624ed7c63c awesomerc: upgrade swap binding
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 17:28:17 +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 7c9a26cc0b awesomerc: move awesome icon in top left corner
That improves usability since corners are easier to reach.

Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:06:37 +01:00
Julien Danjou e785f9e22a awesomerc: fix spacing
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:05:56 +01:00
Julien Danjou 2e1b5d3adf awesomerc: reduce header
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:05:01 +01:00
Julien Danjou 67dc996156 awesomerc: remove useless names
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:04:01 +01:00
Julien Danjou 622e2f2a84 awesomerc: use fullgeometry in mouse warping (FS#351)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-04 17:38:32 +01:00
Damien Leone 5613bac3d3 awesomerc: add menu_toggle parameter for the menu launcher 2008-10-30 12:52:17 +01:00
Julien Danjou f1bfc405bf awesomerc: remove useless wibox name
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 16:37:44 +01:00
Julien Danjou 20533e9443 awesomerc: remove tabulous
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 08:45:45 +01:00
Damien Leone 666f3c9c83 awful.menu: add custom theme and fix various bugs 2008-10-25 15:33:02 +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 598a50249e awesomerc: fix editor when nil
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 10:26:13 +02:00
Damien Leone bc3c4d03ec awesomerc.lua: use nano by default if no editor found in env
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 10:23:58 +02:00
Julien Danjou b4899653c2 awesomerc: use awful.util.getdir rather than env
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:57:03 +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
Damien Leone f58c878b96 awesomerc: added menu stuff
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:21 +02:00
Julien Danjou 208b3955ce awesomerc: use geometry
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:32:42 +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
Julien Danjou 68ac8e1c65 awesomerc: split promptbox by screen (FS#332)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-13 11:28:48 +02:00
Julien Danjou 76058c634f layout: add fullscreen
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-06 10:54:43 +02:00
MATSUU Takuto 3181df10fc awsomerc: fix awful eval
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 09:26:03 +02:00