Maarten Maathuis
6e199bbd76
client, swindow: switch to a more convient definition of geometry
...
- In many places i see people correcting for border width and titlebars.
- This new definition is the equivilant of what used to be fullgeometry.
- The internal geometry is now contained to a few functions that few people ever touch.
- This should avoid confusion and make code easier.
- Also protect against several unsigned overflows.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou
9d175377b8
client: stop duplicating size hints data
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:24 +01:00
Julien Danjou
26da80f90a
draw: remove custom markup support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:23 +01:00
Julien Danjou
c3c20c4f8e
client: move floating state handling to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:22 +01:00
Julien Danjou
2037a053a9
layout: move layout code to Lua
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-14 10:28:21 +01:00
Julien Danjou
576a1e85fc
client: maximize belongs to client internal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +01:00
Julien Danjou
fd0e1022bb
awesomerc: simplify some bindings
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-12-12 19:19:29 +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
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
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
a8a055af07
awesomerc: use byidx()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-25 08:59:38 +01:00
Julien Danjou
97ca8acc80
awesomerc: typo
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:59:44 +01:00
Julien Danjou
32e69bc1cc
awesomerc: add missing check for client.focus
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-24 17:52:58 +01:00
Maarten Maathuis
45f2b79a98
awesomerc: delay client focus until after it's on the right tag.
...
- This avoids seeing the client for a split second on the current tag.
Signed-off-by: Maarten Maathuis <madman2003@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-22 08:37:10 +01:00
Julien Danjou
2e97991a90
beautiful: merge awful.beautiful, stop registering system
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-13 11:54:23 +01:00
Andrei 'Garoth' Thorp
9d04111a75
sky-theme: Initial import and integration
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-12 16:06:14 +01:00
Julien Danjou
eb35fcb057
awesomerc: use getmaster()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 13:56:32 +01:00
Julien Danjou
36e4847dd1
themes: move theme icons to themes/
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-10 12:02:08 +01:00
Julien Danjou
c13654f08d
beautiful: drop getimage()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-09 15:57:00 +01:00
Julien Danjou
7108e5cb20
awful, beautiful: getimage rather belongs in beautiful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-09 15:51:43 +01:00
Gregor Best
71f2c94738
awesomerc/default theme: define awesome icon in theme instead of rc
2008-11-09 15:48:06 +01:00
Gregor Best
9789a9cfad
awesomerc: add support for layout icons from theme
2008-11-08 17:01:04 +01:00
Julien Danjou
624ed7c63c
awesomerc: upgrade swap binding
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 17:28:17 +01:00
Julien Danjou
cb43b5a5bd
awful.menu: rewrite to be more object compliant
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-07 15:27:51 +01:00
Julien Danjou
7c9a26cc0b
awesomerc: move awesome icon in top left corner
...
That improves usability since corners are easier to reach.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:06:37 +01:00
Julien Danjou
e785f9e22a
awesomerc: fix spacing
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:05:56 +01:00
Julien Danjou
2e1b5d3adf
awesomerc: reduce header
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:05:01 +01:00
Julien Danjou
67dc996156
awesomerc: remove useless names
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-06 14:04:01 +01:00
Julien Danjou
622e2f2a84
awesomerc: use fullgeometry in mouse warping (FS#351)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-11-04 17:38:32 +01:00
Damien Leone
5613bac3d3
awesomerc: add menu_toggle parameter for the menu launcher
2008-10-30 12:52:17 +01:00
Julien Danjou
f1bfc405bf
awesomerc: remove useless wibox name
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 16:37:44 +01:00
Julien Danjou
20533e9443
awesomerc: remove tabulous
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-26 08:45:45 +01:00
Damien Leone
666f3c9c83
awful.menu: add custom theme and fix various bugs
2008-10-25 15:33:02 +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
598a50249e
awesomerc: fix editor when nil
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 10:26:13 +02:00
Damien Leone
bc3c4d03ec
awesomerc.lua: use nano by default if no editor found in env
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-23 10:23:58 +02:00
Julien Danjou
b4899653c2
awesomerc: use awful.util.getdir rather than env
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 17:57:03 +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
Damien Leone
f58c878b96
awesomerc: added menu stuff
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-22 15:25:21 +02:00
Julien Danjou
208b3955ce
awesomerc: use geometry
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-21 15:32:42 +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
Julien Danjou
68ac8e1c65
awesomerc: split promptbox by screen (FS#332)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-13 11:28:48 +02:00
Julien Danjou
76058c634f
layout: add fullscreen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-06 10:54:43 +02:00
MATSUU Takuto
3181df10fc
awsomerc: fix awful eval
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-10-01 09:26:03 +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
34647e4e75
awful: split in several modules
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-29 18:30:32 +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
71ac6710e5
widgets: replace appicon by imagebox
...
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
7a80fc8fee
awesomerc: simplify
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:55 +02:00
Julien Danjou
c9b6fe9604
lua: export AWESOME_RELEASE
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
6b901356e2
awesomerc: logo is now a launcher
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
e0629272b5
client: honorsizehints is now default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
63b5e65ebd
placement: deprecate in favor of awful.placement
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
0dde158b5f
hooks: rename mouseover to mouse_over and simplify config
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +02:00
Julien Danjou
5d841ee386
client: export fullscreen
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-22 11:11:54 +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
Alex Cornejo
00721a15ea
layout: add fair layout
...
Based on the original idea of Nathan Huesken, which was then implemented by
Gwenhael Le Moine, I completed and corrected the layout.
I added icons for the layout and modified the makefile and the aweseomerc.lua.in
to include the fair layout.
In the process I also decided to modify layoutgen.sh and tag.c, so that in the
future new layouts can be added without touching tag.c.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-11 13:31:28 +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
7b00a2baf0
systray: reparent windows
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-09-01 17:54:53 +02:00
Julien Danjou
aa5debf736
awesomerc: revert timer removal
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 22:20:36 +02:00
Julien Danjou
442eb739c7
client: add support for WM_WINDOW_ROLE access
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-28 11:29:21 +02:00
Julien Danjou
608b2e2647
dbus, lua: set CLOEXEC on fds
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-27 14:20:51 +02:00
Julien Danjou
6f2bcc4a5f
awesomerc: swap icon and prompt
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-21 15:44:52 +02:00
Julien Danjou
1dab8894a7
awesomerc: readd iconbox
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-21 14:04:00 +02:00
Arnaud Fontaine
d755a6bb64
client: when redrawing a window, set the mouse focus on this window if
...
it has been performed on this window.
2008-08-21 08:12:52 +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
145e19b2e6
statusbar: widget is now a function
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-19 18:20:39 +02:00
Julien Danjou
2aadb3a97b
awesomerc: use sub directory for history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 10:45:10 +02:00
Leon Winter
2e2b6a3112
awful: add urgent client fast switching
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-18 10:39:34 +02:00
Damien Leone
f040a97002
awesomerc: Change prompt.run parameters so it can handle history
...
Signed-off-by: Damien Leone <damien.leone@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-13 21:08:07 +02:00
Julien Danjou
03e03cda65
awesomerc: add default binding to access class/instance
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 18:13:51 +02:00
Julien Danjou
a528956253
awesomerc: stop setting mwfact
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 17:10:55 +02:00
Julien Danjou
c2f8275bf8
client: deprecate client_get() and client_set()
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 12:17:19 +02:00
Julien Danjou
493179d771
awesomerc: make gimp floating by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-12 10:54:21 +02:00
Damien Leone
df7d60faf3
awful: add prompt history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 19:47:23 +02:00
Julien Danjou
e5c38ad17f
awesomerc: support no layout
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 18:23:47 +02:00
Julien Danjou
be2bfdcfc5
screen: introduce screen objects
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-11 17:14:02 +02:00
Kanru Chen
94dab79ff3
awesomerc: put systray into statusbar
...
table.insert doesn't work on statusbar.widgets because statusbar.widgets
always returns a new copy.
'condition and a or b' works like 'condition ? a : b' in C.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-09 10:00:20 +02:00
Julien Danjou
2900127619
awesomerc: revert titlebar off
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:50:55 +02:00
Julien Danjou
56b42a7878
titlebar: widgets are now returned/set as array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 16:49:26 +02:00
Julien Danjou
e5d828b369
statusbar: widgets is now an array
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-08 15:47:09 +02:00
Julien Danjou
85caf26d63
awesomerc: add colons
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 14:06:34 +02:00
Jay Bromley
d5c82f9982
awesomerc: improve management of floating/predefined tags (FS#241)
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-07 12:13:54 +02:00
Julien Danjou
1755dd51fe
awful: add beautiful support
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-06 15:15:13 +02:00
Julien Danjou
2735144b8c
beautiful: import
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-05 22:24:14 +02:00
Julien Danjou
8061e35154
awesomerc: cosmetic
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 16:44:22 +02:00
Julien Danjou
4abea3acca
libs: rewrite as module
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-04 14:31:53 +02:00
Alex Cornejo
825e012442
Handle urgency hint in awful.
...
Add option bg_urgent and fg_urgent and handle them
appropiately in tasklist and taglist widgets.
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 10:02:38 +02:00
Julien Danjou
6c2c607759
awful: automatize titlebar update
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-08-01 00:10:04 +02:00
Julien Danjou
f48f26286e
awful: move awful hook registration in awful
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 23:44:33 +02:00
Julien Danjou
26545ddecb
awesomerc: move history in its own arrange() register
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 22:35:47 +02:00
Julien Danjou
6e54661e7f
awful: implement focus history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 22:33:18 +02:00
Julien Danjou
b7568c44ea
awesomerc: make titlebar optional and disabled by default
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:52:34 +02:00
Julien Danjou
81ae462a70
focus: remove focus history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-31 17:30:01 +02:00
Julien Danjou
f0af665795
awful: implement tag history
...
Signed-off-by: Julien Danjou <julien@danjou.info>
2008-07-30 15:37:05 +02:00