The first patch re-engineers the defaults and presets feature in the
following way: all defaults to the notify() parameters are defined
in the config.defaults table. This is merged with the optionally
specified preset table (or normal if none was specified, or nothing
if the normal preset is not available).

This allows changing the defaults for all notifications (e.g. larger
font size) without having to duplicate the definition for each preset.

The second patch looks for icons in subdirectories '<size>x<size>' of
the dirs in the search paths before looking in the actual dirs, if a
size is specified. This allows almost natural support for modern themes,
that store pre-rendered icons at different sizes in these paths.

Giuseppe Bilotta (2):
  naughty.notify: inherit from default preset
  geticon: also accept a size parameter

 lib/awful/util.lua.in |   14 ++++++++++++--
 lib/naughty.lua.in    |   37 +++++++++++++++++++++++++------------
 2 files changed, 37 insertions(+), 14 deletions(-)

-- 
1.7.10.rc3.204.g95589


-- 
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to