Commit Graph

10925 Commits

Author SHA1 Message Date
Emmanuel Lepage Vallee a3b7532056 taglist: Expose more properties.
They were passed in the constructor, but could not be changed.
2022-08-29 22:47:55 -07:00
Emmanuel Lepage Vallee df59f5bdd3 taglist: Convert into a real widget.
It no longer monkey-patch the input layout widget. This allows the
layout to be replaced at runtime.
2022-08-29 22:47:55 -07:00
Emmanuel Lepage Vallee 2f3bce00e6 tasklist: Refactor to base a normal widget.
It was previously monkey-patching the input layout object into
the final tasklist.

This is a breaking change, but affects undocumented behaviors. By
doing this, it becomes possible to expose the properties in the
public API. This, in turn, allows to document them. Right now,
the documentation is very vague on some behaviors.
2022-08-29 22:47:55 -07:00
Emmanuel Lepage Vallée f3cf88593c
Merge pull request #3655 from Elv13/luacheck26
Implement fixes for Luacheck 0.26.1
2022-08-29 00:54:47 -07:00
Emmanuel Lepage Vallee 1601c6890b keygrabber: Document 5 deprecated, but still honored, method arguments.
As pointed out by @sclu1034, some users might actually pass the return
values of a function with multiple returns. This would cause some
confusing behavior. Documenting previous mistakes is in this case better
than hiding them.
2022-08-28 17:13:52 -07:00
Emmanuel Lepage Vallee 75019c3f6f Implement fixes for Luacheck 0.26.1
* Rename or mute parameters starting with _
 * Replace `not (>=)` with `<`
2022-08-28 16:59:14 -07:00
Kamack38 05a405b38b
feat(hotkeys: widget): add 3 new labels for keyboard keys (#3668)
Signed-off-by: kamack38 <64226248+kamack38@users.noreply.github.com>
2022-08-18 21:22:16 +02:00
Matthias Paulmier b7bac1dc76
awful.widget.prompt: Properly take into account `with_shell` arg (#3659) 2022-07-12 08:53:34 -07:00
Actionless Loveless 9ca7bb487a
style(beautiful: gtk; hotkeys_popup): make new luacheck a bit happier (#3651) 2022-06-30 08:32:45 -07:00
Tonda Fischer a5c84896ef
#3432: default theme's tiletop.png layout icon is sized incorrectly. (#3650) 2022-06-30 00:00:33 +02:00
Actionless Loveless 02fa372d9e
fix(themes: xresources): load fallback theme from theme_assets instead of using unthemed svg if svg libs are not installed (#3641) 2022-06-27 00:01:32 -07:00
madprops 29c0057795
Fixed some typos (#3633) 2022-06-18 12:38:59 -07:00
Aire-One 4254203100
Merge pull request #3629 from Mehdi-YC/master
rectified the installation steps for .deb package
2022-06-18 12:54:51 +02:00
Aire-One 710bbfa68d
Merge pull request #3635 from merrickluo/expose-svg-taglist-icon
pass tag icon directly to imagebox

fix #3634
2022-06-18 12:36:08 +02:00
A.I c3c41bed2f
pass tag icon directly to imagebox
so that svg icons can be rendered with rsvg
2022-06-17 23:17:50 +08:00
Mehdi YC d8c0ed8066
rectified the installation steps for .deb package
the deb package is generated inside a build directory , we have to cd to it before apt install
2022-06-09 10:16:12 +01:00
Grumph 3a542219f3
Fix awful.keygrabber:add_keybinding function (#3568)
* Check the correct variable

* Fix table access

In every other use of _private.keybindings in this file, the key is a
string, not an awful.key

* Simplify code

key.key is always defined

* Add tests

* add(spec) add_keybinding unit test

* Revert "Add tests"

This reverts commit 808b17cd5c.

Co-authored-by: Aire-One <aireone@aireone.xyz>
2022-05-29 13:10:29 -07:00
Helmut Fischer 21f0e1089a
Group-Comments: corr in-consequences (#3569)
Some group comments ("-- {{{" and/or "-- }}}") were either not closed or had in-consequences with line-feeds before or after.
2022-05-29 12:46:34 -07:00
Emmanuel Lepage Vallée a7210287dd
Merge pull request #3598 from Aire-One/chore/codecov-config
Allow codecove to be green for small PRs
2022-05-29 12:45:50 -07:00
Emmanuel Lepage Vallée be69e347fa
Merge pull request #3591 from actionless/spawn-doc-spaces
doc(awful: spawn): fix spaces
2022-05-29 12:45:09 -07:00
Emmanuel Lepage Vallée 5adc223ef8
Merge pull request #3624 from sclu1034/issue/3623
Fix missing accessor for notification.app_icon
2022-05-29 12:30:25 -07:00
Lucas Schwiderski 51c184fc06
refactor(naughty.notification): Align table values 2022-05-29 10:52:20 +02:00
Lucas Schwiderski 62f13d3e08
fix(naughty.notification): Fix missing accessor
Fixes #3623.
2022-05-29 10:52:11 +02:00
Aire-One 7e71e97d07 chore(codecov): adjust project threshold 2022-03-28 18:58:09 +02:00
Aire-One cafd6526fe chore(editorconfig): add yml config 2022-03-23 20:07:27 +01:00
Aire-One c578142376 chore(codecov): add base config 2022-03-23 20:07:27 +01:00
Actionless Loveless c539e0e435
hotkeys_popup: expose labels and remove unused backspace translation (#3585)
the actual key is BackSpace, not Backspace, so this translation was always unused


Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2022-03-21 18:09:49 +01:00
actionless 1d228a13ab doc(awful: spawn): proper quotes for an arg name 2022-03-20 18:57:12 +01:00
actionless 3d94bf0738 doc(awful: spawn): fix spaces 2022-03-20 18:57:12 +01:00
Actionless Loveless 86f67f4e08
fix(gh-actions): s/git_url/clone_url/g (#3593) 2022-03-20 18:56:13 +01:00
Aire-One 392dbc21ab
[CI] Run `Run examples tests` on every supported Lua Version (#3575)
* ci(main) always run `Run examples tests`

* fix(font1) print with string.format
2022-03-06 14:04:50 +01:00
Aire-One 22dedf77dc
fix(mergify) check-success (#3570)
It seems like Mergify doesn't pick up success status of our GitHub
Actions. Looking at the doc
https://docs.mergify.com/conditions/#github-action, the conditions rule
should be `check-success`, but we have `status-success`.
2022-03-05 12:12:14 -08:00
sarubo 9895aeb0d5
fix(placement) bad argument to 'field' (#3572)
RectangleInt must use integer
Remove float from RectangleInt
2022-02-25 19:34:51 +01:00
Uli Schlachter bd776c9801
Merge pull request #3566 from staticssleever668/refactor/remove_mouse_finder_remnants
theme: remove mouse finder remnants
2022-02-15 16:29:37 +01:00
Aire-One e260696826
Merge pull request #3564 from pepijnKrijnsen/parse_color
Update documentation for gears.color.parse_color(col) method
2022-02-14 19:25:01 +01:00
Aire-One c39c61f775
Merge pull request #3565 from pepijnKrijnsen/constraint-doc
Correct width and height documentation
2022-02-14 19:06:21 +01:00
Yaroslav Chvanov 8abc99f35f
refactor(theme): remove mouse finder remnants
It was removed back in Awesome v4.0 in 2016.
2022-02-13 15:49:40 +03:00
Pepijn Krijnsen fd22d51207 Correct width and height documentation
The constraint:set_width function listed ‘height’ as a required parameter; the constraint:set_height function listed ‘width’ as a required parameter. Swapped those around.
2022-02-12 21:10:42 +00:00
Pepijn Krijnsen 53b70b4585 Update documentation for gears.color.parse_color(col) method
Lua comments now accurately describe the return values of this method.
Added a more comprehensive example, too. Issue #3555
2022-02-12 21:04:21 +00:00
SystematicError 86b6c49a0f
Fix typo (#3562)
Co-authored-by: SystematicError <systematicerror@users.noreply.github.com>
2022-02-07 11:08:08 -08:00
Actionless Loveless 2d6244f944
doc(progressbar): sanitize paddings/margins (#3556) 2022-02-03 13:25:05 +01:00
Emmanuel Lepage Vallée a1f58ab97c
Merge pull request #3553 from Aire-One/feat/lua54
Supports Lua 5.4
2022-02-02 14:08:50 -08:00
Xinhao Yuan ab6f7e03ca
Relocate a client window as if it is undecorated when reparenting it back. It eliminates the position offset due to re-decorating when a client trys to restore its previous position. (#3253)
Add tests for geometry changes when managing/unmanaging clients. Also verified that it fixed issue #2308.
2022-02-02 22:59:01 +01:00
Aire-One b807bbae56 fix(awesome) randomness
Close #3123, close #3124
Co-authored-by: Emmanuel Lepage Vallee <elv1313@gmail.com>
2022-01-22 17:48:40 +01:00
Aire-One d0b9938da1 fix(gh-actions) LGI install to Lua 5.4 location 2022-01-22 17:48:22 +01:00
Aire-One c330413c21 fix(gh-actions) Lua 5.4 lib 2022-01-22 17:48:08 +01:00
Aire-One 12262322c4 chore: Allow Lua 5.4 to build and run
Co-authored-by: Emmanuel Lepage Vallee <elv1313@gmail.com>
2022-01-22 17:47:57 +01:00
Aire-One a826d79682 bump(gh-actions) luarocks 3.8.0
Luarocks have some fixes to support Lua 5.4. We need to use the
latest version.
2022-01-22 15:40:09 +01:00
Aire-One a4ca3fdd43 add(gh-actions) Lua5.4 Build and Install LGI step
The latest packaged version of LGI doesn't support Lua 5.4. We need
to build the git master version.
2022-01-22 15:40:09 +01:00
Aire-One 50c3301357 add(gh-actions) Build and Install Lua 5.4 step
Ubuntu 20.04 hasn't a Lua 5.4 package. For now, GitHub actions run
with this version of Ubuntu. We can manually build and install
Lua 5.4 in the pipeline, waiting for GitHub to release a newer
version of Ubuntu for their Actions.
2022-01-22 15:40:09 +01:00