Commit Graph

280 Commits

Author SHA1 Message Date
Uli Schlachter 09fdd0ee27 Fix the default config
When I cherry-picked commit 2785d695ce from master, I didn't notice that it uses
connect_signal() which is add_signal() in 3.4-land. That was half a month ago.
Since then, no one complaint about this, so no one hit the problem yet?

Ok, it is in the default config which I guess isn't what the people who use
git/3.4 run. Still, would have been nice to know that people actually test the
mess which I produce. :-(

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-11-10 19:48:51 +01:00
Uli Schlachter 2785d695ce Signal runtime errors via a naughty popup
Whenever awesome's C code calls into lua via a protected call, the debug::error
signal is emitted on errors. We now use this to give naughty popups for every
single error that happens. This should help people to notice errors easier.

The only exception are mouse and key grabbers and config loading, those don't go
through debug::error. I guess that means that the grabbers need to be hooked up
to debug::error. :-)

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-10-23 22:31:18 +02:00
Uli Schlachter be02406f77 Signal config errors via a naughty popup
If loading of any config file fails, awesome will now remember the error message
and make it available to lua. The default config is modified to open a naughty
popup on errors.

This should help all those people who modify their config and then wonder why
there change is ignored, not noticing awesome's error message on stderr

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-10-23 22:30:46 +02:00
Julien Danjou fccf12575f Use awesome.conffile in menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-09-17 17:24:44 +02:00
Uli Schlachter 1df8e29772 Clarify the mod+n keybinding
Minimized clients can't have the input focus, so this key binding can't be used
for unminimizing them. Hopefully this clarifies the reason why.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-04-28 20:16:16 +02:00
Anurag Priyam 1495df51ba awesomerc: minimize/restore client on a left click in the tasklist entry
In the bundled rc.lua, mouse button 1 on a tasklist entry was configured to
bring the corresponding client to focus. Modify it to minimize the client if
already focussed.

Such (default) behavior seems more natural.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-04-28 20:16:14 +02:00
Uli Schlachter b87fc48230 Bind awful.client.restore to mod+ctrl+n
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-02-19 22:28:49 +01:00
Sergey Mironov 3749c59aab awful.menu: Change menu:show() args set
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-04-14 09:38:52 +02:00
Adrian C. (anrxc) fda2c091db awesomerc: add Mod4+t to set client on-Top
Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-03-04 09:33:55 +01:00
Uli Schlachter 365e80c5bb Make it easier to change the default layout
In older versions of awesome, the first entry in the layouts table was the
default layout. Currently it's always the floating layout.

With this patch the default is again the first entry in the layouts table.  At
the same time, floating is moved to be the first entry, so this patch doesn't
change any behavior at all.

Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-12-22 12:47:17 +01:00
Julien Danjou 67e5346956 Revert "beautiful: init default theme by default" and "awesomerc: stop handling beautiful"
This reverts commit 42c47eecce.
This reverts commit 4823a12541.

Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-28 13:43:49 +02:00
Julien Danjou 1bf296dfce awesomerc: only uses placement when no hints (FS#637)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-23 10:07:02 +02:00
Julien Danjou 295f712552 awesomerc: use keycode for tag bindings (FS#627)
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:41:55 +02:00
Julien Danjou 36d9178917 awesomerc: enable smart placement
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-18 11:35:59 +02:00
Julien Danjou 68148167ef awesomerc: fix default menu
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-08 10:23:18 +02:00
Julien Danjou 769d2899ac awesomerc: remove move to mouse screen code on manage
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-09-04 13:40:28 +02:00
Julien Danjou 8969bb181a awesomerc: fix titlebar enabled
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 13:52:15 +02:00
Julien Danjou efca7dc9e7 awesomerc: split menu creation out of wibox
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 11:52:49 +02:00
koniu 05e044ba8e awesomerc: use awful.tag.viewtoggle
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-31 10:44:34 +02:00
Gregor Best 3f259d0ed2 awesomerc: fix layout for promptbox
Signed-off-by: Gregor Best <gbe@intepi.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-27 17:07:36 +02:00
Julien Danjou f3e527efe7 awesomerc: add Mod4+n to minimize
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 14:56:17 +02:00
Julien Danjou b91ebd1947 awesomerc: remove bad comment
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 14:54:11 +02:00
Julien Danjou 8ee740dcfe awesomerc: fix firefox example
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-25 11:09:12 +02:00
Julien Danjou 4d4bdb3100 awesomerc: use awful.rules
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-24 16:27:35 +02:00
Julien Danjou 4b311371f1 Revert "awesomerc: add placement by default"
This reverts commit 2cefa5e9b2.
2009-08-22 17:29:22 +02:00
Julien Danjou 2cefa5e9b2 awesomerc: add placement by default
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-08-21 17:19:54 +02:00
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