Julien Danjou
76a77cf070
awful.client: remove dumb comment line
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-03 17:11:04 +01:00
Damien Leone
d8aef41795
awful.menu: add menu_toggle parameter
2008-10-30 12:52:16 +01:00
Julien Danjou
17a6d2283e
awful: fix marking
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-29 09:39:06 +01:00
Gregor Best
2d6c09ee5a
invaders: replace ammo with round display
...
this commit replaces the now useless ammo display with a display showing
the current round.
2008-10-27 18:05:31 +01:00
Gregor Best
adcf32f9ed
invaders: code cleanup
2008-10-27 18:05:31 +01:00
Gregor Best
3895c0cde9
invaders: code cleanup
2008-10-27 18:05:31 +01:00
Gregor Best
7c20b14ce5
invaders: remove useless shots table
...
this commit removes the now useless table gamedata.shots and replaces it
with a single variable of the name gamedata.shot
2008-10-27 18:05:31 +01:00
Gregor Best
2a839ad875
invaders: fix indention and spacing
...
this commits fixes invaders' indention and spacing (every \t has been
replaced by 4 spaces)
2008-10-27 18:05:29 +01:00
Damien Leone
a2f3790dce
awful.menu: add a close function and fix various bugs
2008-10-27 12:30:47 +01:00
Julien Danjou
827d084dbf
awful.menu: escape client name in clients menu
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-25 15:36:08 +02:00
Damien Leone
666f3c9c83
awful.menu: add custom theme and fix various bugs
2008-10-25 15:33:02 +02:00
Julien Danjou
bf5001337c
awful.client: rename focus and swap bydirection
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-24 20:31:18 +02:00
Damien Leone
e3ea2789de
awful.menu: fix screen width computation
2008-10-24 11:04:02 +02:00
Damien Leone
7750631bf2
awful.menu: prevent menus from poping outside the work area
2008-10-24 10:37:59 +02:00
Julien Danjou
9f8773ddfa
awful.widget: fix taglist label without beautiful (FS#353)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 17:55:38 +02:00
Damien Leone
75e6f4cb9e
awful.menu: change menu parameters to use a table, add height and width parameters
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 15:22:10 +02:00
Julien Danjou
3005196d64
awful.titlebar: use pairs instead of ipairs
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:22:58 +02:00
Julien Danjou
dc58313eee
awful.menu: add a menu for listing clients
...
This also allows usage of images object as icons, and destroy menu on
function execution.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 11:19:46 +02:00
Julien Danjou
9b722181fa
awful.util: add support for config dir
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:56:51 +02:00
Julien Danjou
8824d9f703
awful.menu: add support for functions
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:52:51 +02:00
Julien Danjou
25bf12868a
widgets: use a geometry callback
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:32:17 +02:00
Damien Leone
4a6885e0eb
awful.menu: align text when item doesn't have icon
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 16:25:07 +02:00
Damien Leone
4d5b43a75e
awful.menu: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:20 +02:00
Gregor Best
e2d8f043b0
invaders: change points per enemy
...
this commits changes the points you get per enemy:
enemy #1 : 15
enemy #2 : 10
enemy #3 : 5
2008-10-21 22:49:15 +02:00
Gregor Best
04b5e24c43
invaders: clean code
...
this commits makes all enemies of a certain type use the same image
object to clean up the code a bit.
2008-10-21 22:49:02 +02:00
Gregor Best
7041a4680d
invaders: add luadoc comments
...
this commit adds luadoc comments right before invaders.run() so that all
its parameters are explained in luadoc.
2008-10-21 22:47:07 +02:00
Gregor Best
c846da24e1
invaders: change enemy distribution
...
This commit changes the distribution of enemies so that each row
contains only one type of enemy.
2008-10-21 22:47:07 +02:00
Julien Danjou
4eb096e236
libs: use geometry instead of coords
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 16:25:06 +02:00
Julien Danjou
5ab2497b43
client, screen: use geometry rather coords as keyword
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:31:52 +02:00
Julien Danjou
2a36b021d1
client: icon_name is stored and watched
...
This permits to update tasklist on icon name changes.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:15:28 +02:00
Julien Danjou
bd47652fe0
awful.widget: tasklist to update on name changes
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:07:18 +02:00
Julien Danjou
862fe193ee
Rewrite {tag,task}list in Lua.
...
This removes the C implementation of taglist and tasklist widgets and
use a Lua one.
This works by letting .widgets property of wiboxes to be a table with
table, and setting a special metatable on them which notify awesome on
newindex events, updating wiboxes.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 20:06:09 +02:00
Gregor Best
08a700f132
Increased Invaders difficulty
...
This commit increases invaders difficulty a little bit and cleans up the
code (moved static enemy data to the top of the file, made keygrabber a
part of capi, not an own local variable)
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 19:42:40 +02:00
koniu
a48e71af18
naughty: destroy() now takes object instead idx (FS #350 )
...
Fixes the bug although still relies on index being passed with notification
in notify() and re-set by arrange().
Also box:geometry() in arrange() stopped working with just one argument
so it pushes all coords now.
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-20 17:42:49 +02:00
koniu
e6d644c4fb
naughty: import
...
Signed-off-by: koniu <gkusnierz@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-18 13:40:01 +02:00
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
Gregor Best
1f8d52b3f5
Fix 1800 points bug and finally get beautiful support working
...
This commit (finally) fixes beautiful support, now it should work with
beautiful and without.
Another fixed serious bug is that no more enemies are spawned if the
score is higher than 1800
2008-10-15 18:59:31 +02:00
Gregor Best
b3518691cf
add beautiful support to invaders.lua and change Garoth' name
...
This commit adds beautiful support to invaders.lua and changes Garoth'
name in the top comment to his full name + nickname
2008-10-14 21:39:56 +02:00
Julien Danjou
32ea9f46ca
invaders: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-14 18:16:26 +02:00
Julien Danjou
39f50d5b06
awful.titlebar: do not build args
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-12 17:14:44 +02:00
Thomas Harning Jr
946b38147e
awful.titlebar: Pull in missing dependencies and grab theme details
...
Modules beautiful and widget are required by the titlebar:
* beautiful to retrieve theme details
* widget for the buttons
Signed-off-by: Thomas Harning Jr <harningt@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-09 18:45:46 +02:00
Andrei Thorp
3c1f516758
Added swapbydirection to client.lua.in in awful.
...
Works similar to focus.bydirection, but swaps windows instead.
Also, added a generic local method get_client_in_direction for
use by (swap|focus)\.?bydirection.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-09 18:44:31 +02:00
Julien Danjou
df843a8452
awful.placement: fix no_overlap (FS#335)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-02 12:12:42 +02:00
Julien Danjou
683b1a9572
awful.widget: use margin instead of spaces
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 17:03:49 +02:00
Julien Danjou
842886b7d0
awful: add compatibility with old function names from util
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 16:26:30 +02:00
Julien Danjou
9dca1330c2
awful.client: maximize works in floating layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 15:05:54 +02:00
Julien Danjou
3f9b726065
awful.client: use right data array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 15:00:33 +02:00
Julien Danjou
da2f473386
awful.util: fix wrong variable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 17:07:25 +02:00
Julien Danjou
c3775199b0
awful.util: use loadfile instead of loadstring
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 17:00:19 +02:00
Julien Danjou
581a8b1103
tabulous: store tags in otable
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 16:39:43 +02:00
Julien Danjou
da52a7b197
awful: add helper to check configuration file syntax
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 15:50:41 +02:00
Julien Danjou
c1566f39c5
awful.prompt: add math lib
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 09:36:40 +02:00
Julien Danjou
6dc84a1c12
awful.prompt: fix history save
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-30 09:22:34 +02:00
Julien Danjou
8d6e2b57af
awful.client: remove useless vars
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 19:57:04 +02:00
Julien Danjou
34647e4e75
awful: split in several modules
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 18:30:32 +02:00
Nathan Weizenbaum
89700eeebe
awful: shift+tab cycles backwards through prompts
...
Signed-off-by: Nathan Weizenbaum <nex342@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-27 08:52:39 +02:00
Julien Danjou
d23c352fcc
awful: use minimized rather than hidden in tasklist label
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 17:04:52 +02:00
Julien Danjou
5709435392
wibox: rework, merge titlebar
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:42 +02:00
Julien Danjou
f374210382
client: add property hook
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-26 15:00:27 +02:00
Julien Danjou
0feb7de68e
wibox: merge statusbars and titlebars Lua objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 14:34:43 +02:00
Julien Danjou
98cf1890b4
awful: stop using deprecated visible_get()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:56 +02:00
Julien Danjou
71ac6710e5
widgets: replace appicon by imagebox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
6614ffcb06
lua: deprecate and replace {font,colors}_set
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
320ac68fb7
awful: filter focus by type
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
4ac6d4568b
awful: create a new launcher widget
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
5bacb52ee3
awful: refuse to set titlebar on no-normal windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
01f37e1edc
keygrabber: push an hash table instead of indexed table
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
fef8ef91cb
awful: add no_overlap and no_offscreen placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
f0fe2e03c6
awful: implement under_mouse placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
ba20d32d10
awful: button handle enter if mouse button pushed
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
0a74d9e127
awful: button reset on mouse leave
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
c3d4ce3e42
awful: titlebars use awful.widget.button now
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
93fdc47901
awful: add button widget in awful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
3b895d84ed
mouse: rework mouse buttons API, support release events
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:53 +02:00
Julien Danjou
bc9196084a
awful: strip alpha channel in pango colors
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-18 17:07:04 +02:00
Marc Lagrange
56471ca618
awful: permit user defined images for squares
...
Signed-off-by: Marc Lagrange <markocpc@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-13 16:55:21 +02:00
Julien Danjou
2d42b3c15c
awful: fix comments typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-12 20:38:48 +02:00
Julien Danjou
1cdd098fb1
awful: add client.setslave()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-10 17:04:54 +02:00
Julien Danjou
587302358c
awful: check for bg,fg focus (FS#304)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-07 23:29:24 +02:00
Julien Danjou
03dffd34dd
awful: add pread() function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-04 10:55:27 +02:00
Julien Danjou
1b44fae3b2
awful: does not allow a window to have no tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-03 19:30:25 +02:00
Julien Danjou
fb33e85f31
awful: one of fg or bg urgent is enough
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 10:49:30 +02:00
Julien Danjou
7c6743d89b
awful: update titlebar after adding it
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 09:38:46 +02:00
Gregor Best
3e325782de
awesomerc: use gmatch instead of deprecated gfind
...
a user in #awesome made me aware of a little quirk in lib/awful.lua
which renders the history of the prompt unusable when using Gentoo and
installing Lua without the USE-flag "deprecated". Lua states that
string.gfind has been replaced with string.gmatch and aborts the
function prompt_history_save(id). I attached a patch that replaces
id:gfind with id:gmatch, which so far has not revealed any problems.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-31 08:43:50 +02:00
Maxime COSTE
3fecec15c3
tabulous: Handle external raise of hidden windows
...
Tabulous now gracefully handle hidden windows being raised from the task bar.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-30 08:56:27 +02:00
Maxime COSTE
ef7d08c027
tabulous: fixed deprecated focus_get/set calls
...
Hi again,
some trivial cleanup that (I think) needed to be done.
Cheers,
Mawww.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 11:43:10 +02:00
Maxime COSTE
531005453a
tabulous: made tabulous tab aware
...
here is a patch that add tag support for tabulous, so now when a windows is
both tabbed and multiple tagged, it behave as expected (at least by me, that
is do not hide a window in a tag where it is not tabbed)
We can still mess up the tabs by clicking on the window name (in the taskbar)
but this will (I hope) be fixed in another patch.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 10:47:47 +02:00
Maxime COSTE
c4d8cad1c5
awful: add support for programmable bash completion
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-26 16:25:19 +02:00
Julien Danjou
fdddc839e8
awful: drop lfs in favor of mkdir -p
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-23 08:29:52 +02:00
Julien Danjou
c3a1e36be1
awful: avoid concat of nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-21 14:57:31 +02:00
Julien Danjou
fd35fc6d11
beautiful: set wallpaper of each screen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 18:15:08 +02:00
Julien Danjou
62370ecb87
awful: create history dir if does not exists
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 16:55:30 +02:00
Matteo Landi
e9a65cbfd5
awful: titlebar support for changing the close button
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 16:41:33 +02:00
Julien Danjou
a651388da0
awful: fix toggletag (FS#277)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 13:13:34 +02:00
Julien Danjou
f4872715ce
mouse: coords is a function now
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 12:10:22 +02:00
Julien Danjou
e02fc5aacb
client: make coords a method
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-20 12:00:22 +02:00
Julien Danjou
d261f9a3cc
widgets: generic set/get for list
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 19:13:46 +02:00
Julien Danjou
145e19b2e6
statusbar: widget is now a function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 18:20:39 +02:00
Matteo Landi
6049eaec3f
beautiful: remove tabulations in key/value parsing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 16:57:48 +02:00
Julien Danjou
22f41a6983
lib: add @release tag
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 11:41:58 +02:00