Uli Schlachter
59d4e00b8b
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 17:36:56 +02:00
Uli Schlachter
2354c6a623
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 17:36:19 +02:00
Julien Danjou
c8a8672973
Use awesome.conffile in menu
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-09-17 17:24:50 +02:00
Uli Schlachter
d3ba8aa072
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:14:11 +02:00
Anurag Priyam
e3e3fe70ef
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:12:43 +02:00
Uli Schlachter
da9e4a52df
Bind awful.client.restore to mod+ctrl+n
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-02-19 22:26:21 +01:00
Uli Schlachter
547f732b00
systray: Automatically fit into available space
...
Instead of having to set the systray's base size by hand, it now automatically
uses min(avail_width, avail_height) as its base size. That's way less surprising
for people.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-07 11:54:45 +02:00
Uli Schlachter
742c0dead0
Systray: Fix
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 15:38:44 +02:00
Uli Schlachter
9b40f19f5c
rc.lua: Port to new widget layouts
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-10-06 14:32:41 +02:00
Uli Schlachter
8497e6ade2
rc.lua: Call launcher() with a string
...
When awful.widget.launcher() is called with a string, it interprets it as the
path to an image and tries to load it. So why should we do the work of calling
image() ourselves if it can be done for us? ;)
Signed-off-by: Uli Schlachter <psychon@znc.in>
2010-09-29 13:26:09 +02:00
Julien Danjou
6d332f07a0
lua{class,object}: rename signals functions
...
I knew this was wrong at the beginning, f*ck.
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-08-25 20:28:20 +02:00
Sergey Mironov
81ce9f7210
awful.menu: Change menu:show() args set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2010-04-14 09:38:35 +02:00
Adrian C. (anrxc)
9f056716b9
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:07 +01:00
Uli Schlachter
3d887f09c6
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:26 +01:00
Julien Danjou
6ee5122462
client: remove redraw()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-11-09 13:02:45 +01:00
Lukas Hrazky
4685023a28
update rc.lua to new widget layouts
...
Signed-off-by: Lukas Hrazky <lukkash@email.cz>
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-26 11:07:44 +01:00
Julien Danjou
371ee3e8cc
titlebar: remove
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2009-10-20 20:42:05 +02: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