awesome/spec
Kazunobu Kuriyama 9ae945c931 Enhance menubar icon path lookup
The way of icon path lookup for `menubar` is enhanced so that it is
based on a theme-oriented way as described in the specification:

  Icon Theme Specification, Ver. 0.12
  http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html

To accomplish this:

 * Add the two new files `icon_theme.lua` and `index_theme.lua`.

   The former implements an icon lookup algorithm suggested in the URL
   above.  The latter implements a helper object to parse the cache file
   `index.theme` of which data is used by the former.

 * Modify `menu_gen.lua` to use the new algorithm.

   - The implementation of `lookup_category_icons` is changed
     accordingly.
   - The values of the field `all_categories.icon_name` are changed file
     names to icon names, i.e., file extensions which are used to
     indicate image file formats are removed.

 * Add the new file `icon_theme_spec.lua` for a unit test for checking
   if `icon_theme.lua` together with `index_theme.lua` works as
   expected.
2015-09-26 11:45:38 +09:00
..
awful Add new file spec/awful/keyboardlayout_spec.lua 2015-09-13 01:19:00 +09:00
gears gears.matrix: Implement matrices in Lua 2015-09-19 13:32:12 +02:00
menubar Enhance menubar icon path lookup 2015-09-26 11:45:38 +09:00
wibox Add and use wibox.hierarchy:update() 2015-09-23 20:57:41 +02:00
preload.lua Fix sporadic test failure due to lgi 2015-07-29 21:31:47 +02:00