awesome/lib/awful
Gregor Best 072937ec70 Various changes to awful.util and invaders
This commit changes various aspects of awful.util and invaders:

awful.util:

- added awful.util.getdir(d)
  This function takes one argument and returns a matching directory,
  as of now, only "cache" is supported. The return value is either
  $XDG_CACHE_HOME/awesome/ or $HOME/.cache/awesome/, XDG_CACHE_HOME
  takes precedence

invaders:

- renamed invaders to awesome invaders
  at two places in the sourcecode, invaders is referred to as
  "Space Invaders for Awesome". As Taiko holds the trademark for
  the term "Space Invaders", I changed both of its occurences to
  "Awesome Invaders" to avoid conflicts with the law of Japan and
  the United States of America (and possibly others)

- added support for XDG_CACHE_HOME
  this change adds support for XDG_CACHE_HOME as the cache directory
  for highscores and screenshots

- added some parameters to invaders.run()
  this change adds three parameters to invaders.run, supplied as a
  table. They are "x", "y" and "solidbg".

  "x" sets the X coordinate of the playfield
  "y" sets the Y coordinate of the playfield
  "solidbg" sets the color of the playfield background for people who
  have problems with transparency. This still looks rather hackish and
  needs to be polished

- changed startup position
  up until now, invaders always started at (100,100) on the first
  screen, now it starts centered to the screen on which the mouse cursor
  is.
2008-10-17 19:20:31 +02:00
..
beautiful.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
client.lua.in Added swapbydirection to client.lua.in in awful. 2008-10-09 18:44:31 +02:00
completion.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
hooks.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
init.lua.in awful: add compatibility with old function names from util 2008-10-01 16:26:30 +02:00
layout.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
placement.lua.in awful.placement: fix no_overlap (FS#335) 2008-10-02 12:12:42 +02:00
prompt.lua.in awful.prompt: add math lib 2008-09-30 09:36:40 +02:00
screen.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
tag.lua.in awful: split in several modules 2008-09-29 18:30:32 +02:00
titlebar.lua.in awful.titlebar: do not build args 2008-10-12 17:14:44 +02:00
util.lua.in Various changes to awful.util and invaders 2008-10-17 19:20:31 +02:00
widget.lua.in awful.widget: use margin instead of spaces 2008-10-01 17:03:49 +02:00