- 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>
Otherwise we may push unused elements because dofunction() checked
_after_ if the function was nil, or not.
Signed-off-by: Julien Danjou <julien@danjou.info>
The fair layout had the same issue as the slave columns in tiling layout
in that all strips were filled maximally with cells up to the last, and
the last strip may have significantly fewer cells than the other strips.
In my mind, that's not fair. The new strategy makes sure the numbers of
cells in any two strips differ by no more than one.
Signed-off-by: Julien Danjou <julien@danjou.info>
* Using -m X (X standing for screen number) the give background image is
converted to a big image in the <cache directory>/montage.png.
Limitations:
+ -m should be the last argument before the image name
+ for better results screens should have the same sizes and the background
image should fit one screen size.
Signed-off-by: Sébastien Gross <seb-awesome@chezwam.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Adds a trailing space after text if cursor position < text length to
prevent width of the widget changing particularly useful when using
'text' and 'selectall' to do eg. in-place renaming.
Sample textbox content (# space, _ cursor).
Before:
textbox before prompt: #term#
selectall prompt textbox : #_erm <- shorter than other cases
after pressing end : #term_
After:
textbox before prompt: #term#
selectall prompt textbox : #_erm#
after pressing end : #term_
Signed-off-by: koniu <gkusnierz@gmail.com>
If set along with 'text' (prefilled content) it will position the cursor at
the beginning of the line and and on text input (and not control keys,
arrows, etc.) will overwrite the prefilled content with the new input.
Signed-off-by: koniu <gkusnierz@gmail.com>
* Renamed config.margin to config.padding. Controls spacing between popup and
workarea border.
* Renamed config.gap to config.spacing. Controls spacing between popups.
* Added config.margin. Controls spacing between popup wibox and text.
Signed-off-by: koniu <gkusnierz@gmail.com>
* If icon is present, popup height will now be adjusted to the greater
of text-height and icon-height.
* Reorganized notify() into more logical order to allow this.
Signed-off-by: koniu <gkusnierz@gmail.com>
Made changes to lib/awful/widget.lua.in to accept the following additional
customizations through theme or arguments to taglist/tasklist labeling
functions:
* args.squares_resize/theme.taglist_squares_resize (Boolean, default = true)
If true, taglist icons are resized; otherwise, they aren't.
* args.floating_icon_align/theme.floating_icon_align (String, default = "right")
Controls the alignment of the icon drawn in the tasklist for floating clients.
Signed-off-by: Norbert Zeh <nzeh@cs.dal.ca>
Signed-off-by: Julien Danjou <julien@danjou.info>