koniu
e46ae9e3c2
awful.widget: beautiful font for {tag,task}list
...
Beautiful themes can now set 'tasklist_font' and 'taglist_font' in
font_desc format ie. "Sans 7"
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:29 +01:00
koniu
e1762128b7
naughty: bottom positioning has to count border twice
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
61947ec1c8
naughty: fix a bug on timeout when popup was destroyed by hover_timeout
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
Leon Winter
2d321ffbf8
naughty: add getIcon() to find icons with basename
...
Adds:
config.icon_dirs {}
config.icon_formats {}
"It adds the ability to search for icons in specified folders. This
is necessary for some applications using dbus like the firefox dbus
plugin."
To test it: naughty.notify{ icon = 'firefox' }
Signed-off-by: Leon Winter <Leon.Winter@informatik.uni-oldenburg.de>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
92fd31b7f5
awful.util: new function file_readable()
...
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
0358d1085d
naughty: notify() returns notification object
...
This makes notification mangling outside of naughty.lua much easier:
http://awesome.naquadah.org/wiki/index.php?title=Naughty#Popup_calendar
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
koniu
8599426168
naughty: never scale icon to text height
...
Also removes default icon_size of 16 to avoid confusion.
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
Leon Winter
1e93dda065
beautiful: use regex instead of helper function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +01:00
Maarten Maathuis
f9c2ee62a3
client: reimplement client_{ban,unban} for more performance
...
- From now on clients shall remain mapped for their entire lifetime.
- This should seriously boost tag switching speed with composite active.
- A lesser improvement may be noticed in non-composite situations.
- Titlebars that are set to invisble are still unmapped.
Since it would clutter the implementation and titlebars are cheap to render.
Not to mention that invisible titlebars are pretty rare.
- It's safe to attach titlebars while the client is banned.
- Titlebars are explicitly removed at exit.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +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
Leon Winter
118fbcb985
naughty: add D-Bus notification support
...
Allows Naughty to receive D-Bus notifications and emulate notification-daemon
and such.
Signed-off-by: Leon Winter <leon.winter@informatik.uni-oldenburg.de>
Signed-off-by: koniu <gkusnierz@gmail.com>
2008-12-12 19:19:28 +01:00
Julien Danjou
c0e6113e0b
dbus: add support for return values
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +01:00
Julien Danjou
fcf6151592
dbus: add release_name() method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +01:00
Julien Danjou
79ae3ab72a
dbus: export in Lua request_name()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:28 +01:00
Julien Danjou
a4254b195d
dbus: add D-Bus hooks
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +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
33c7083617
awful.tag: setmwfact() gets optional screen param
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
ee475580ef
mouse: make luaA_button_userdata_new static
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
955fcd6a5a
mouse: remove infobox
...
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
b465fd7d2b
luaa: rename luaA_deprecate()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
d7784697cb
client: check clients are different when swapping
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
ab804f689d
mouse: add client_under_pointer() method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
0e972d4845
mousegrabber: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
ffca477d5d
mouse: export mouse_query_pointer()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
d61c6f5ae9
wibox: add cursor property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
5a4784b646
swindow: add cursor_set()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
3cf79072cd
xcursor: add new cursor infra
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
f2eab39776
xcursor: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
9d7e8ea931
xutil: fix cursor proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
beabf82ddf
draw: check more quickly if we need UTF-8 conversion
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
88025f3d16
luaa: remove useless luaA_getopt_string()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
f188c10fa4
util: precompute funcname in name_func_link
...
This will improve search a bit.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
ccc6452d49
widget: change widget initialization code
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
f556c04868
widget: remove common_new()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:41 +01:00
Julien Danjou
e7abdd5cc0
event: simplify widget_getbycoords() proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
e3f722f024
event: simplify event_handle_widget_motionnotify() proto
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
a5de5ab48c
widget: remove button property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
0716ecb4fd
widget: remove old cache system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
4fcf48e247
widgets: remove name property
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
506e453a2f
remove deprecated functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:51:40 +01:00
Julien Danjou
2e2f56a43a
change codename
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 16:33:23 +01:00
Gregor Best
0a07e706b0
awful.widget: fix tasklist urgent background
...
Signed-off-by: Gregor Best <farhaven@googlemail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 17:36:54 +01:00
Julien Danjou
1bc9d234e5
luaa: pop element if we do not call lua_next()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 10:10:49 +01:00
Maxime COSTE
22b7a79313
tabulous: do not swap clients in display
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-10 10:07:46 +01:00
Julien Danjou
c7a7437433
wibox: remove spurious fprintf()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 17:42:18 +01:00
Julien Danjou
3d2c205969
luaa: check that object is a table before calling lua_next()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 16:45:02 +01:00
Julien Danjou
3af636c3e6
wibox: setvisible checks for screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-09 16:23:39 +01:00
Julien Danjou
a760f4b0bc
awful.titlebar: do not overwrite mouse bindings on close
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-08 16:43:24 +01:00
Julien Danjou
e8186e687e
client: fix returned value for non transient windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-07 11:08:00 +01:00