Commit Graph

11017 Commits

Author SHA1 Message Date
elig0n fcd23a7478
doc: fix typo in ruled example (#3972) 2024-10-27 20:31:55 +01:00
elig0n 208129b728
doc: fix typo in awful.wallpaper doc example (#3958) 2024-10-27 20:04:03 +01:00
mergify[bot] 2b7006fb45
Merge pull request #3947 from awesomeWM/fix-coverage2
Move the C coverage to the CodeCov GitHub Action
2024-10-26 14:09:17 +00:00
mergify[bot] d998bb256c
Merge pull request #3967 from elig0n/notif_template1
ruled.notifications remove mistaken code example line
2024-10-26 14:00:01 +00:00
elig0n 06901a9190 fix missing DOC_HIDE 2024-10-15 10:09:47 +03:00
elig0n 206e6e1cbf
doc: fix typos in taglist.lua (#3966) 2024-10-14 13:04:04 +02:00
elig0n e12ed2529b
fix typo in urgency.lua (#3965) 2024-10-14 06:54:08 +02:00
elig0n 797e093bcd
doc: fix typo in struts.lua (#3964) 2024-10-14 06:53:29 +02:00
elig0n d53eb1be67
Fix typo in client.c (#3950)
Complete parenthese
2024-09-07 23:42:37 +02:00
Aidin 03285e8589
Comment and documentation improvement (#3943)
* Added that the timer timeout is in seconds

* Contrasted the differences of autostart and call_now

* A minor grammatical change

* Spread comments in multiple lines so lines would be shorter

* Used three dashes instead of one for documentation

* Included available cursor names as an ldoc files, and also added
a new file named 'cursor_c_lua.ldoc' which uses awesome comments
syntax, because the existing 'cursor_c.ldoc' could not be compiled.

* Fixed typo

* Fixed formatting and file names
2024-09-05 16:27:43 +02:00
Emmanuel Lepage Vallée 8ef35f56a3
Update main.yml 2024-08-27 12:26:42 +02:00
Emmanuel Lepage Vallée 59005ca3f7
Update main.yml 2024-08-27 12:12:41 +02:00
Emmanuel Lepage Vallée 4a09c2c85f
Update main.yml 2024-08-27 12:00:04 +02:00
Emmanuel Lepage Vallée a35fceda14
Merge pull request #3906 from danimateo/patch-1
Dismiss the notification without triggering default action on right-click
2024-08-27 11:26:46 +02:00
Emmanuel Lepage Vallée 774fa0ad2e
Update main.yml 2024-08-25 18:40:00 +02:00
Emmanuel Lepage Vallée 42d09806b5
Update main.yml 2024-08-25 18:33:54 +02:00
Emmanuel Lepage Vallée 525db87185
Move the C coverage to the CodeCov GitHub Action
Same as Last PR. Now I expect the Lua coverage to work and the C coverage. I did it in 2 PRs to make sure the delta works.

I also added a `-j8` in the example test step because it is I/O bound and it has enough ram. This should speed-up the CI (maybe?).
2024-08-25 18:23:14 +02:00
Emmanuel Lepage Vallée 7034db3a44
Try to fix codecov (#3946)
Update the main workflow to use the GitHub Action version of `codecov` instead of the bash version.
2024-08-25 18:15:02 +02:00
Stardust-kyun 67f5e7feca
Adding zoom-fill (#3917) 2024-08-20 18:28:20 +00:00
Dmitry Matveyev b9d8305639
widget.keyboardlayout: add option for custom keyboard layouts (#3907)
Can be used like this:

	awful.widget.keyboardlayout({country_codes = {"raku"}})

Closes #3691
2024-08-18 12:27:34 +00:00
Madhur Ahuja 151bb6d169
Correct typo (#3927)
Correct type in table.lua
2024-08-18 12:22:16 +00:00
Wisker 36204fc259
Update margin.lua (#3930)
Fixed doc typo
2024-08-18 12:21:38 +00:00
Aaron Dill 220ae797e9
fix: call ret:emit_signal("timeout") instead of args.callback (#3933)
This ensures that the timer gets passed on the first call of callback.
fixes: #3904

Signed-off-by: aarondill <aaronsacks2006@gmail.com>
2024-08-18 12:20:19 +00:00
Cyan903 ad0290bc1a
docs: Fix widget.wibox.slider example (#3923) 2024-06-06 01:23:54 -07:00
danimateo 01b06524e8
Add the reason to notification destroy 2024-03-28 10:22:05 +02:00
danimateo 29f41d70fc
Dismiss the notification without triggering default action on right-click 2024-03-27 19:38:50 +02:00
Emmanuel Lepage Vallée 8b1f8958b4
Merge pull request #3746 from Elv13/grid_border
Modernize the `wibox.layout.grid` module and add border support.
2024-03-23 22:50:03 -07:00
Emmanuel Lepage Vallée e6f5c79808
Merge pull request #3879 from Elv13/2023_xmas_commits_pr1
Fix the documentation warnings
2024-01-20 16:34:06 -08:00
mergify[bot] 7707618336
Merge pull request #3886 from BWPanda/patch-1
Fix typo in object.lua documentation
2024-01-21 00:31:55 +00:00
Peter Anderson 0dcfc86167
Update object.lua 2024-01-11 10:09:54 +00:00
mergify[bot] 75758b07f3
Merge pull request #3878 from arunsathiya/master
Use GITHUB_OUTPUT envvar instead of set-output command as the latter is deprecated
2024-01-08 23:30:02 +00:00
Emmanuel Lepage Vallée 1f7ac8f9c7
Merge pull request #3559 from Elv13/border_container
Add a new border container
2023-12-31 15:36:02 -08:00
Emmanuel Lepage Vallée 2eab55e536 Update lib/wibox/container/border.lua
Co-authored-by: Aire-One <aireone@aireone.xyz>
2023-12-31 15:27:21 -08:00
Emmanuel Lepage Vallee 1291a346f3 doc: Add more `wibox.container.background` examples. 2023-12-31 15:27:21 -08:00
Emmanuel Lepage Vallée 00ba63b44e
gears.surface: Add crop (#3882)
* added surface crop function

* added busted tests

* added devShell Flake

* Revert "added devShell Flake"

This reverts commit 0acb3d4e43.

* general purpose crop added

* cleanup

* merged functions, added tests

* replaced gdebug.print_error with error

* clearer error message for crop

Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>

* make error message shorter

* surface.crop: Fix doc warnings.

---------

Co-authored-by: Paul Schneider <74120050+paulhersch@users.noreply.github.com>
Co-authored-by: Paul Schneider <paul.schneider2@student.uni-halle.de>
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2023-12-31 15:15:50 -08:00
Emmanuel Lepage Vallee 5ee926d5f1 background: Add a way to scale a background gradient.
This is a feature request from the chat. Right now, only deprecated
hacks allow this to be implemented. This is a valid use case and
must be supported for HiDPI use cases.
2023-12-31 14:57:10 -08:00
Emmanuel Lepage Vallee e82de8edb4 background: Deprecate `bgimage`.
It is now handled by the `wibox.container.border`. The current
implementation had many unhandled corner case and is less
flexible than the new API.

Some might argue deprecating the background from a background
container is... strange. This is true. However, keeing all
use case within the same codebase would make it too large.

The `gears.shape` support is incompatible with the border
widgets (which are used to implement the background images).
2023-12-31 14:56:18 -08:00
Emmanuel Lepage Vallee 57b766ccf9 tests: Test the border container. 2023-12-31 14:54:44 -08:00
Emmanuel Lepage Vallee dc207d5b49 container: Add a broder container.
Rather than bloat the `background` container with another 1k lines,
a new container is added. The goal is to implement CSS-style slicing
for the background images. The container also allows to place
generic widgets on each sides and corners of the container.

The main use case for this container is to replace the old
`awful.titlebar` API with `awful.decoration`. That new module will
allow a central client widget to be surrounded by widgets rather than
have 4 separate drawing areas. The border container is designed to
make complex border+titlebar setup trivial.
2023-12-31 14:54:44 -08:00
Emmanuel Lepage Vallee e23940cc6a imagebox: Expose the "optimal size" properties.
The `textbox` already has the equivalent. This will soon be used
by the new `wibox.container.border` widget.
2023-12-31 14:54:44 -08:00
Emmanuel Lepage Vallee ab121e9ac0 imagebox: Support a CSS file.
Before, the CSS had to be inline. Now that the border container uses
this code, it makes sense to make it more flexible.
2023-12-31 14:54:44 -08:00
Emmanuel Lepage Vallee 5c9ffb8ef3 imagebox: Expose the private SVG handling function.
To be used by `wibox.container.border`, which is a specialized imagebox.
2023-12-31 14:54:44 -08:00
Emmanuel Lepage Vallee 47855e4164 tests: Test the 3 new imagebox extents. 2023-12-31 14:54:44 -08:00
Emmanuel Lepage Vallee ecc20dd0b8 imagebox: Add 3 new fit policies.
This will be used soon by a nice CSS inspired image slicer
container/layout.

They have a limitation inherited from Cairo of only working on a
single axis. This isn't important for 99% of the use case.
2023-12-31 14:54:42 -08:00
mergify[bot] 2f8b334234
Merge pull request #3735 from Theory-of-Everything/feat-theme-dark
doc: improve dark theme
2023-12-31 22:41:03 +00:00
Miroslav Bendík 3537174e6c
Fixed end of modeline handling (#3789) 2023-12-31 14:29:43 -08:00
mergify[bot] 2682bcb2ed
Merge pull request #3857 from gldrk/ungrab-on-unmap
Release all grabs when unmanaging windows
2023-12-31 22:14:10 +00:00
Emmanuel Lepage Vallee eddb83fb72 calendar: Add a border width property. 2023-12-31 00:57:07 -08:00
Emmanuel Lepage Vallee de7f3bfe90 grid: Remove an outdated example `print`. 2023-12-31 00:57:07 -08:00
Emmanuel Lepage Vallee 956bd96e94 grid: Apply Awesome v4.2 naming conventions.
* Stop using top level properties for vertical/horizontal
* No abbreviations
* Use height/width instead of size
* Don't use methods where properties can be used
2023-12-31 00:57:07 -08:00