docs/89-NEWS.md
<a name="v44"></a>
Some general text about Awesome v4.4 should be here. Hopefully someone will notice that it is not yet here before we release...
This document was last updated at commit v4.3-197-g9085ed631.
mousegrabber can now take nil as a cursor to not change the cursor at all.awful.screen now has a request::wallpaper and a
request::desktop_decoration signal. They make some workflow implementation
cleaner.selection.acquire, selection.getter, and selection.watcher objectsgears.timer.delayed_call) can be dispatched via
gears.timer.run_delayed_calls_now()naughty was rewritten TODO TODO say more about this TODO TODOrules argument in awful.spawn.once and .single_instance is now
optionalwibox.container.background now has a border_strategy property to
define how the content is resized when a border is present.wibox.container.margin now allows tables in the margins property.{widget = myfunction}.awful.widget.tasklist now resizes the client icons properly.awful.widget.tasklist and awful.widget.taglist will now set the
client and tag properly respectively on each widget of the template
automatically. This reduces the amount of boilerplate code.$SOURCE_DATE_EPOCH is honored in more places when generating the
documentationawful.rules_NET_WM_DESKTOP for sticky windows correctlyio.popen. Usage of io.popen is still strongly discouraged.wibox{ input_passthrough = true } now works correctly. Previously, the
property could only be set on already-constructed wiboxes.wibox.container.place, * wibox.container.radialprogressbar,
wibox.layout.stack,
wibox.widget.slider.wibox.widget.textbox.align to
wibox.widget.textbox.halign for consistency reasons.wibox.container.background applies shapes differently. The new approach
should be more consistent with a border.shape_clip option of wibox.container.background was removed. The code
now always behaves as if this option is set to true. The old behaviour can
be simulated with wibox.layout.stack.naughty.dbus now uses Gio for talking to DBus. This is a first step in the
deprecation of Awesome's own DBus bindings and could lead to behaviour changes
on DBus.keys and buttons property now return awful.key
and awful.buttons objects rather than the lower level key and button
objects. If you used these low level APIs to add keys and buttons dynamically,
please migrate your code to the corresponding :append_ and :remove_
client methods.beautiful.border_width and beautiful.border_color are now honored even
when the part related to borders is removed from rc.lua. Set them
appropriately in your theme or disconnect the default request::border
handler.awful.rules.rules now append the rules to the existing set.
Clearing the rules was never officially supported. If you really want the
old behavior, use awful.rules.rules = {}; awful.rules.rules = my_new_rules.client:relative_move() now default nil values to zero. The previous
behavior made no sense.base_layout property to access the layout.
This allows to replace the layout at runtime. The previous behavior
was undocumented.wibox.widget.textbox.line_spacing_factor.wibox.layout.grid layout expand, spacing and homogeneous
property getters now return a table instead of a number. The table contains
a horizontal and a vertical key.<a name="v43"></a>
Awesome v4.3 is the third release of the 4.x API. It comes after one and a half years of little fixes and improvements. Awesome v4.2 was very stable thanks to everybody's effort to unit test everything. Given no major bug warranted a new release, this one adds a few large features while preserving full compatibility with existing user configurations.
gears.string now has a endswith and startswith functionsluarocks modules are now automatically available in Awesomewibox.widget.base.make_widget_from_value)to_widget() and save_to_svg() methods.immobilized_horizontal and
immobilized_vertical property to know if they can currently be moved or
resized (for example, it is set to false when maximized)gears.timer objects now have a call_now method.termite keybindingsinput_passthrough property to send mouse clicks
to the object below.taglist and tasklist now support the declarative constructor syntaxawesome.pixbuf_to_surface to convert a GdkPixbuf to
a cairo surface.notification\_icon_\sizegears.sort module has been added with graph resolutionawesome-client now runs code in a protected contextbeautiful.maximized_hide_border theme option to hide the
border for maximized clients.client startup_id field is now writable. This is useful when the
client native implementation is not present or too buggy to be used.awful.widget.prompt now has a with_shell option to allow Bash/ZSH
aliases, function and environment variables to be used in commands.awful.titlebars now have a fallback_name when a client has no name
property.motif_wm_hints property to reflect some hints using the
Motif X11 property extension. This is used by some modern toolkits including
GTK.requests_no_titlebar property to expose when a client
has client side titlebars (also known as decorations and CSD)show_awesome_keys option.awful.widget.prompt now has more of the awful.prompt constructor
arguments.awful.layout.get_tag_layout_index() function to get the
index of the current layout in the global layout list
(awful.layout.layouts)wibox.layout.manual layout now has an :insert() method.The screen now has a read/write dpi property and awful.screen.set_auto_dpi_enabled(true)
can be used to automatically set the DPI for many Awesome elements. Please
note that it is not backward compatible and breaks many widget. As AwesomeWM
always used pixels as the de-facto metric for sizes, enabling auto_dpi will
break most existing configs. However, for people who use such setup, it might be
worth speding some time to fix their config.
awful.rules providers and better awful.spawn functionsThere is two new functions called awful.rules.add_rule_source and
awful.rules.remove_rule_source. They allow to create a dependency graph
for where a rule comes from and which provider has the priority when setting it.
Previously, there were the normal properties,
awful.rules.high_priority_properties and awful.rules.delayed_properties.
This didn't scale and could not represent all corner cases. Those table still
exist and are still honored, but there is now a system that can handle the full
complexity of the property priority graph.
This is used by default in awful.spawn. The reliability of attaching
properties to spawn calls has been improved. On top of this, three new
functions were added
awful.spawn.onceawful.spawn.single_instanceawful.spawn.raise_or_spawnThey allow to specify that a command should only have one running instance. This works across restart too, so all hacks to handle restarting Awesome are no longer required.
Note that the client.startup_id isn't supported by all applications and a
Linux-specific workaround is recommended to improve the reliability of the
awful.spawn functions.
The keygrabber module API was rebuilt from scratch to make it more usable.
The previous API was very low level, very close to how it actually work, but
was disconnected from how keygrabbers are used in a window manager. Getting
anything done with the previous API required a lot of boilerplate code and had
many corner cases to handle. The new API has built-in support for the most
common use cases and is fully declarative.
A new theme has been added. It reads the GTK theme colors and use them in the
wibar, menu and titlebar. It helps create an uniform look and feel
between the window manager and client applications with minimal efforts.
The following widgets have been added:
<table class='widget_list' border=1> <tr style='font-weight: bold;'> <th align='center'>Name</th> <th align='center'>Example</th> </tr> <tr> <td> <a href='../classes/wibox.widget.separator.html'>wibox.widget.separator</a> </td> <td></td> </tr> </table>It is now possible to set spacing widgets for all layouts:
The awful.widget.taglist and awful.widget.tasklist now support creating
custom widgets for each elements:
A new popup widget allows to bypass most of the boilerplate code and easily
display widgets on the screen:
The awful.widget.layoutlist allows to easily display and select the client
layout from a widget:
awful.rules is
not found.textclock is now generally more robust with formatting issues,
timezones and declarative constructors.rc.lua uses request::activate to set the focus. This
fixes many corner case such as unfocusable clients getting the focus.awful.spawn with a set of properties is now more reliable.awful.key.execute is now much more reliable.nil instead. This could break code that uses pcall to check if a screen
exists. This code now needs to be changed to check for a nil return instead.
In practice it is unlikely anyone will notice the difference.<a name="v42"></a>
Awesome v4.2 is the second release of the 4.x API. It mostly fixes the bugs reported over the last 3 months and adds a couple widgets. Almost 150 issues have been resolved or decided to be obsolete.
xmodmap is now much fastermagnifier layout has been fixedignore_suspend flagtextclock widget now supports timezonesgears.string.splitgears.table.mapgears.filesystem.make_parent_directoriesgears module):
wibox.widget.draw_to_cairo_contextwibox.widget.draw_to_svg_filewibox.widget.draw_to_image_surfacerequest::geometry signal handler.wibox.layout.manual layout has been added (see below)calendar widgets have been added, a widget and a popup (see below)ratio layout now supports various strategies to redistribute spacestack layout now supports offsetsnaughty.destroy_all_notifications() functionxresources theme now supports the titlebar hover and press statesThe stack layout offsets:
The ratio layout new full strategies:
The manual layout fixes a capability gap where hierarchical elements need to be
placed manually. It has multiple modes including an awful.placement integration.
The new calendar widgets are very flexible and can be themed down to the very small details:
property::floating is now also emitted when the floating
state changes implicitly, e.g. because the client gets maximized or
fullscreened.<a name="v41"></a>
Awesome v4.1 is the first stable release for the Awesome 4.0 API. It adds non-breaking new features and fixes bugs. The main purpose of the release is to provide stability while also adding features submitted by our contributors. This release contains about 350 commits by 35 contributors, including many new developers. Thanks a lot.
The shape API has been extended to both client, notifications and wibox.
The prompt now supports syntax highlight and more advanced key hooks.
The prompt widget gained many new themes variables.
There is a new 2D grid layout with rowspan and colspan support.
There is a new awful.widget.only_on_screen container to make it easier to
share wiboxes across multiple screens.
Various documentation improvements. Thanks for the feedbacks.
The awful.widget.taglist now has volatile theme variables.
There is now extra environment variables such as AWESOME_ICON_PATH and
AWESOME_THEMES_PATH for those who prefer not installing Awesome.
Dynamic "C" Lua libraries are now detected like pure Lua ones.
gears.timer gained many new constructor arguments to make it easier to use.
Input shape mask are now supported. It is possible to create a wibox with passthough inputs.
There is a new awful.widget.clienticon widget capable of fetching icons of
different sizes.
This release adds a ton of new theme variables to make Awesome prettier. We also thank all users who submitted screenshot.
theme.arcchart_thickness
theme.enable_spawn_cursor
theme.fullscreen_hide_border
theme.hotkeys_bg
theme.hotkeys_border_colo
theme.hotkeys_border_width
theme.hotkeys_description_font
theme.hotkeys_fg
theme.hotkeys_font
theme.hotkeys_group_margin
theme.hotkeys_label_bg
theme.hotkeys_label_fg
theme.hotkeys_modifiers_fg
theme.hotkeys_shape
theme.maximized_honor_padding
theme.notification_bg
theme.notification_border_color
theme.notification_border_width
theme.notification_fg
theme.notification_font
theme.notification_height
theme.notification_margin
theme.notification_opacity
theme.notification_shape
theme.notification_width
theme.prompt_bg_cursor
theme.prompt_bg
theme.prompt_fg_cursor
theme.prompt_fg
theme.prompt_font
theme.taglist_bg_volatile
theme.taglist_fg_volatile
theme.taglist_shape_border_color_volatile
theme.taglist_shape_border_width_volatile
theme.taglist_shape_volatile
theme.taglist_spacing
theme.tasklist_disable_icon
theme.tasklist_disable_task_name
theme.titlebar_close_button_focus_hover
theme.titlebar_close_button_focus_press
theme.titlebar_close_button_normal_hover
theme.titlebar_close_button_normal_press
theme.titlebar_floating_button_focus_active_hover
theme.titlebar_floating_button_focus_active_press
theme.titlebar_floating_button_focus_inactive_hover
theme.titlebar_floating_button_focus_inactive_press
theme.titlebar_floating_button_normal_active_hover
theme.titlebar_floating_button_normal_active_press
theme.titlebar_floating_button_normal_inactive_hover
theme.titlebar_floating_button_normal_inactive_press
theme.titlebar_maximized_button_focus_active_hover
theme.titlebar_maximized_button_focus_active_press
theme.titlebar_maximized_button_focus_inactive_hover
theme.titlebar_maximized_button_focus_inactive_press
theme.titlebar_maximized_button_normal_active_hover
theme.titlebar_maximized_button_normal_active_press
theme.titlebar_maximized_button_normal_inactive_hover
theme.titlebar_maximized_button_normal_inactive_press
theme.titlebar_minimize_button_focus_hover
theme.titlebar_minimize_button_focus_press
theme.titlebar_minimize_button_normal_hover
theme.titlebar_minimize_button_normal_press
theme.titlebar_ontop_button_focus_active_hover
theme.titlebar_ontop_button_focus_active_press
theme.titlebar_ontop_button_focus_inactive_hover
theme.titlebar_ontop_button_focus_inactive_press
theme.titlebar_ontop_button_normal_active_hover
theme.titlebar_ontop_button_normal_active_press
theme.titlebar_ontop_button_normal_inactive_hover
theme.titlebar_ontop_button_normal_inactive_press
theme.titlebar_sticky_button_focus_active_hover
theme.titlebar_sticky_button_focus_active_press
theme.titlebar_sticky_button_focus_inactive_hover
theme.titlebar_sticky_button_focus_inactive_press
theme.titlebar_sticky_button_normal_active_hover
theme.titlebar_sticky_button_normal_active_press
theme.titlebar_sticky_button_normal_inactive_hover
theme.titlebar_sticky_button_normal_inactive_press
theme.wibar_bgimage
theme.wibar_bg
theme.wibar_border_color
theme.wibar_border_width
theme.wibar_cursor
theme.wibar_fg
theme.wibar_height
theme.wibar_ontop
theme.wibar_opacity
theme.wibar_shape
theme.wibar_stretch
theme.wibar_type
theme.wibar_width
rc.lua) is now more robustThis is a stable release and we tried to minimize any upgrade impact. However various bugfixes induced minor, not noticeable, changes:
awful.util has been split into multiple modules in the gears library to
reduce the dependency graph. This allows for better unit testing. awful.util
will be deprecated in Awesome v5. For now, it is still safe to use it. However,
new code should use the functions from gears instead of awful.util.
<a name="v4"></a>
Awesome 4.0 is the first release of the v4 API level, breaking the proven v3.5 API level after 4 years. This requires to port the existing user configuration and extensions to the new API.
This document offers an overview of the new features and required changes for existing users.
The code used to resize and move clients has been refactored to allow plugins to be attached. This includes:
See:
mouseclient request::geometry.
Clients are now resized when dragged to the screen edge similar to other window
managers. The width of the border can be controlled by the
beautiful.snap_border_width theme variable. The edge shape with
beautiful.snap_shape (see gears.shape) and can be disabled by setting
awful.mouse.snap.edge_enabled = false
While this was already supported, this feature has been extensively extended. It can be disabled by setting
awful.mouse.snap.client_enabled = false
It is now possible to display the list of active keyboard shortcuts by pressing
mod4 + s (hotkeys_popup.show_help).
See:
awful.hotkeys_popupawful.hotkeys_popup.keysawful.hotkeys_popup.keys.vimawful.hotkeys_popup.widgetAdds an empty space between clients.
See:
tagtag.gaptag.gap_single_clientAllows the layout to optionally take all the space when there is no "slave"
client or to use a smaller screen area. For example, if only one terminal is
present in a awful.layout.suit.tile.left layout, then instead of filling the
whole screen, it wont be larger than it would otherwise be if there were more
clients.
See:
tagtag.master_fill_policyTags can now be volatile. A volatile tag will be destroyed when its last
client has been untagged. This is useful for temporary layouts or tags
dedicated to a single client.
See:
tag.volatileA new client layout with a larger master client and both a vertical and an horizontal row of slave clients.
client.focusable is now read/write (compared to read only in the previous
versions)client.valid tells if the client still really exist or if the object is waiting to
be deletedclient.floating is now a client propertyclient.x / client.y / client.width / client.height are
client.geometry aliasesclient.first_tag is a convenience wrapper for c:tags()[1]There is now an awesome.unix_signal signal table with all platform specific
signals and their indices. There is also an awesome.kill() function to send
signals to clients. This can be used, among other thing, to pause and resume
clients.
awful.rules)All of the new client properties can be used in rules. In addition, the following ones have been added:
placement: use the awful.placement method (or combinations) to place the
client. While older version of Awesome allowed to use callbacks here, it
didn't support all corner cases such as titlebar offsets and border_width.titlebars_enabled: older versions of Awesome had a global variable to
enable or disable titlebars. This is now delegated to the rules.new_tag: allows to create a tag for the client instead of using an existing
one.tag property has been expanded to also find tags from their name.tags property now tries to merge the current tags into the array to fix
some other properties.focus is now going through the focus filters instead of being applied
as-is (see the focus filter section).It is now possible to register new rules by adding them to some awful.rules
arrays. This can be used by modules to add extra functionalities or to avoid
boilerplate code in callbacks.
awful.rules.high_priority_properties: before most other rules are executed.awful.rules.extra_properties: together with normal rules.awful.rules.delayed_properties: after most other rules, but before focus.Those extra rules also have the capability to mutate the current rule array.
Other widgets, like the taglist and tasklist, gained many new
configuration features such as empty colors and shape.
See:
awful.widget.tasklistawful.widget.taglistPreviously some core objects, such as clients or tags, were static. It wasn't possible to directly set new properties on them. This is now supported:
c.my_new_property = "bar"
Also all properties previously accessible from the awful module are now
directly accessible on the object:
-- Before
awful.client.floating.set(c, true)
-- Now
c.floating = true
See the "deprecated" section below for the list of functions that have been replaced by properties or methods.
The widgets API also received a similar overhaul. Both getters/setters and the property APIs are now supported.
-- Before
mytextbox:set_text("Foobar")
myimagebox:set_resize(not myimagebox:get_resize())
-- Now
mytextbox.text = "Foobar"
myimagebox.resize = not myimagebox.resize
Awesome 4.0 restores a feature found in older versions of Awesome.
All widgets now have properties again. While all :set_foo(bar) type accessors
are still fully (and forever) supported, it is now possible to do .foo = bar
and obj.foo = not obj.foo . This is supported for all official widgets,
containers and layouts.
Awesome 4.0 re-introduces the declarative widget syntax. This feature was lost when Awesome 3.5 introduced the new (and much, much better) widget system. It is possible to do it again.
See:
Most documentation examples have been adapted to use this syntax instead of the imperative one. Both syntaxes are fully supported.
For example:
-- Imperative
local l = wibox.layout.fized.horizontal()
local i = wibox.widget.imagebox()
local t = wibox.widget.textbox()
i:set_image("/path/to/awesomeness.png")
t:set_text("is awesome")
l:add(i)
l:add(t)
-- Declarative
local l = wibox.layout {
{
image = "/path/to/awesomeness.png",
widget = wibox.widget.imagebox
}.
{
text = "is awesome",
widget = wibox.widget.textbox
}.
layout = wibox.layout.fized.horizontal
}
Awesome used to blindly allow requests from clients to steal focus or move
them around. There are now handlers to block such requests.
The request:: API is also used internally in Awesome itself to make
previously hard-coded behavior more flexible.
request::activate: When a client requests focus and/or being raised.request::geometry: When a client requests a position.request::screen: When a client needs a screen.request::select: When a tag wants to be selected.request::tag: When a client needs a tag.request::titlebars: When a client needs a titlebar.request::urgent: When a client requests attention.See:
awful.ewmh.tagawful.ewmh.geometryawful.ewmh.activateawful.ewmh.urgentmouse.resize_handlerThe defaults handlers are mostly located in the awful.ewmh module and comply
with what the specification defines.
While Awesome already had some basic placement function, the new API makes it
possible to remove most hard-coded geometry handling code. From a user's point
of view this API allows for rich floating window management using
awful.rules.
It provides generic placement functions that work with:
clientswiboxesmouse:geometry() methodSee:
awful.placementThis new API allows nicer visuals and more complex themes.
Also note that the client shape functionality was broken in 3.5 and has been fixed. See:
gears.shapeThe widget framework now produces a persistent model of its content rather than
a volatile one during the wibox drawing. This allows for better introspection
into the widget tree.
This model is now exposed through the mouse::enter, mouse::press,
mouse.current_widget and other APIs. This tree model also includes various
matrices to convert positions from the screen coordinates to the one of the
widgets (think of scaling and rotations).
This allows for interactive widgets such as a slider.
See:
wibox.hierarchyA new xresources theme has been added. It uses native X11 assets such as
colors.
The default theme was improved with a more modern looking icon set.
The newly renamed awful.spawn (previously awful.util.spawn) has been
extended into a whole API. It is now possible to define rules directly through
the spawn function.
Note that this only works if the client properly supports the freedesktop.org
startup notifications protocol. For example, to open a new urxvt in a new tag
from the command line, use:
awesome-client "require('awful.spawn')('urxvt', {new_tag=true})"
As another example, to launch a centered floating terminal in the currently selected tag of screen number 2:
awful.spawn("urxvt", {
tag = screen[2].selected_tag,
placement = awful.placement.centered,
floating = true
})
See:
awful.spawnawful.rulesAll rule properties can be used, including the newly introduced placement ones (like above).
awful.prompt gained many new features. One of them is the ability to add
custom keyboard shortcuts and mutate the command.
Paired with the new spawn features, it can be used to create mod4 + r
shortcuts to spawn the clients with arguments and callbacks.
See:
awful.promptIt is now possible to add and manage filters to restrict what kind of focus stealing is allowed. It can be used to mute noisy applications or to implement tag level policies. Every way a client could claim focus, including those from within Awesome itself, now goes through the request filters.
See:
awful.ewmh.add_activate_filterawful.ewmh.remove_activate_filterawful.ewmh.activateAwesome now supports XDG notification (aka, naughty) actions.
See:
naughtyAwesome can now save some data in the X11 server itself. This allows to communicate with external applications or so save state across restarts.
There is also supported/used for persistent client properties.
Awesome now has native support for keyboard layout detection and setting. Using
setxkbmap to track the current layout is no longer necessary. This also
includes a widget to view the current layout.
See:
awesome.xkb_set_layout_groupawesome.xkb_get_layout_groupawesome.xkb_get_group_nameswibox.widget.keyboardlayoutawesome.composite_manager_running allows to detect if a compositor is
running--replace command line option is available (similar to other window
managers)maximized property additionally to only
_horizontal and _verticalawful.layout.layouts is now where the client layout array is storedsystray elements order can be reversed and spacing can be added--search argumentawful.rules and enabled by defaultawesome-client now supports Lua code as its first argument (instead of
reading from stdin)awesome.set_preferred_icon_size)awesome.startup_errors string with the startup error (if
any)--version command line option now provides more details and system
informationAwesome 4.0 is a major release. As with all other major release, the API was broken to accommodate for new capabilities. It isn't as different as 3.5 was from 3.4 however. Many changes now cause a deprecation warning instead of breaking hard. However, it is important to take note of these changes in order to avoid new bugs.
Also see the <a href="17-porting-tips.md.html#v4">tips for porting your configuration</a>.
To fix from bash/zsh without a config change:
echo 'for _,c in ipairs(client.get()) do require("awful.placement").no_offscreen(c) end' | awesome-client
And add the following to the global rc.lua awful.rule section:
placement = awful.placement.no_overlap+awful.placement.no_offscreen
Also note that this is the new official syntax for placement functions in
rules. It is recommended to remove existing ones that are used as callbacks and
move them to the placement rule property.
See:
awful.placementawful.placement.no_overlapawful.placement.no_offscreenawful.rulesReplace rc.lua for s=1, screen.count() do with
awful.screen.connect_for_each_screen(function(s) and add a ) after the
section end.
All global widget tables should be adapted to avoid memory leaks.
Static code should not use screen.count() anymore. It should also always use
the screen object, as the integer representation is mostly deprecated.
See:
screenscreen.connect_for_each_screenscreen.disconnect_for_each_screenPreviously: type(s) == "number", now: type(s) == "screen".
Doing screen[1].geometry is now partially deprecated and will probably print
a warning in future versions. Any code comparing number and screen objects is
now broken. Use screen objects instead of numbers.
See:
screenBy default, rc.lua now handles screen changes without restarting.
It allows to preserve the tag and layout state across changes. Old rc.lua can
either be ported to handle this by taking clues from the new rc.lua or
restore the old behavior by adding the following at the end:
screen.connect_signal("list", awesome.restart)
See:
screenscreen.list:fit() and :draw() methods signature changed and :layout() is mandatory for layouts and containersAll custom widgets need to change their function signature.
There is a new "strategy" property to define how the space is distributed.
For example, instead of awful.tag.viewonly(t), the recommended API is now
t:view_only(). The whole API has been standardized around this object
oriented notation. The warnings will be printed on stderr.
You should not use undocumented APIs. Those can change at any time, and this is no exception. The private API of all widgets has been broken.
awful.spawn).See:
awful.spawnMost arguments have been deprecated, they are now taken from the args
argument-by-name table. This was done because the number of optional arguments
was getting out of control.
See:
awful.prompt.runUse gears.timer.
The previous Awesome API mixed different conventions. There was a major undertaking in 4.0 to make the API coherent and well documented.
Those functions have been renamed or converted to methods:
client.jumptoclient.visibleclient.tiledclient.moveresizeclient.movetotagclient.toggletagclient.movetoscreenclient.markclient.unmarkclient.ismarkedclient.togglemarkedclient.floating.setclient.isfixedclient.floating.getclient.floating.toggleclient.dockable.getclient.dockable.setclient.property.getclient.property.setclient.get_transient_for_matchingclient.is_transient_formouse.client_under_pointermouse.client.dragtotag.bordermouse.client.cornerscreen.getdistance_sqscreen.paddingtag.movetag.swaptag.deletetag.gettagstag.setscreentag.getscreentag.selectedlisttag.selectedtag.setmwfacttag.getmwfacttag.setlayouttag.setvolatiletag.getvolatiletag.setgaptag.getgaptag.setmfpoltag.getmfpoltag.setnmastertag.getnmastertag.seticontag.geticontag.setncoltag.getncoltag.getidxtag.viewonlytag.getdatatag.getpropertytag.setpropertytag.withcurrentawful.util.get_rectangle_in_directionawful.wibox.get_positionawful.wibox.set_positionawful.wibox.attachawful.wibox.alignawful.wibox.stretchawful.widget.progressbar.set_verticalawful.widget.progressbar.set_heightawful.widget.progressbar.set_widthNote that for 4.0, only a warning will be printed if these functions are used. They will eventually be removed.
Many operations, such as re-draw, re-layout, geometry changes and various C API calls are now delayed to the end of the event loop iteration to avoid multiple changes per iteration (to not waste CPU time). The downside of this is that it is no longer reliable to assume the result of the previous line of code being applied in the next already.
There is no longer a "startup" argument to the client "manage" signal. If
Awesome is currently starting up, then awesome.startup is set to true.
Just as the functions above, many modules have been moved to follow a naming convention. Using the old name will print a warning and will alias into the new module. Note that theses aliases are temporary and will be removed.
awful.wiboxawful.widget.graphawful.widget.progressbarawful.widget.textclockwibox.layout.constraintwibox.layout.marginwibox.layout.mirrorwibox.layout.rotatewibox.layout.scrollwibox.widget.backgroundIt has been broken for ages, so we concluded nobody cared.
menubar.menu_gen.generate is now asynchronous and needs a callback as an
argument.
The order in which rules are executed changed. It has been manually curated to avoid known race conditions between the rules execution. For example, adding a titlebar after setting the position resulted in an unwanted shift proportional to the titlebar size.
This is regarded as a breaking changes since it impacts the behavior of existing code, hopefully for the better.
Awesome now depends on Gio and a few other new packages since 3.5. See the README for an extensive list.
Awesome 4.0 now uses LDoc and MarkDown based documentation. We also introduced official guides into our documentation:
The new documentation is vastly superior to the previous one and includes previously missing elements such as:
We are moving to a 2 tier solution based on official (and curated) documentation, and a Git based wiki solution. The old wiki has been partially closed down for years due to spam issues and given the API breakage in the past, a non-negligible percentage of the content and tips were no longer working properly.
The official website is now https://awesomewm.org/ and is now hosted by
GitHub. This will allow to retire the former server.
This isn't technically part of the release and has been true for years, but as the first major releases since the move, it is a good time to point out that we retired the old infrastructure. This includes the bug tracker, download, wiki, website, repository and continuous integration system.
This move increased our development velocity, number of contributor, visibility count and reduced our infrastructure maintenance cost.
Awesome went from 0% to 75% unit test coverage. We now have 4 testing systems:
We also have a test matrix for:
Apart from the existing packages in distributions, Awesome users can now use
"make package" to generate .deb or .rpm instead of using make install.