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
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
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
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
Xinhao Yuan
b49a53f6dd
Multi-row support of systray by taking a beautiful variable specifying the maximum number of rows to fill per column. ( #3520 )
...
Also, fix the fitting logic so that the result width and height are fitted in the available space. Previously the result dimensions can be larger than the input, but cropped in e7a21947e6/lib/wibox/widget/base.lua (L547)
. But still it can cause problems e.g. when used inside wibox.container.place.
2021-12-30 13:22:31 -08:00
Emmanuel Lepage Vallée
1413f0c4b9
Merge pull request #3513 from necauqua/fix-timer
...
Signalled error: bad argument #3 to 'timeout_add' (number has no integer representation)
2021-12-22 12:52:07 -08:00
Emmanuel Lepage Vallée
790e535017
Merge pull request #3529 from sclu1034/feature/docs
...
Various docs improvements
2021-12-22 12:05:43 -08:00
Grzegorz Bednarski
f353499230
Support minimized client property in tasklist icons ( #3526 )
2021-12-21 11:48:53 -08:00
Lucas Schwiderski
e55d1d41f3
docs(g.timer): Fix typo
2021-12-21 10:46:43 +01:00
Lucas Schwiderski
b343cb8111
docs(g.timer): Improve wording
2021-12-21 09:09:09 +01:00
Lucas Schwiderski
869e63fcdc
doc(w.w.textbox): Make alignment property descriptions consistent
...
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
2021-12-14 19:09:42 +01:00
HumblePresent
030073fee7
Apply presets before registering notification
2021-11-26 13:22:58 -06:00
Anton Bulakh
71d08ab6ec
Use gmath.round
2021-11-23 08:45:52 +02:00
Anton Bulakh
e963d37cc4
Fix widget repaint printed errors
2021-11-22 12:39:16 +02:00
Anton Bulakh
e64446082b
Fix timer errors
2021-11-22 12:24:20 +02:00
sarubo
8d61790be7
doc: Add the markup example of popup_calendar
...
Refer to tests/examples/awful/widget/calendar_popup/default.lua
2021-11-21 23:49:46 +09:00
sarubo
03e437e32a
calendar_popup: Fix markup not working
2021-11-21 23:42:00 +09:00
Emmanuel Lepage Vallée
062ecfb6f0
Merge pull request #3490 from Elv13/less_flacky_tests
...
Less flacky tests
2021-11-13 00:42:18 -08:00
Emmanuel Lepage Vallée
2eb035e125
Merge pull request #3493 from Elv13/progressbar_doc
...
Improve the progressbar doc with more examples.
2021-11-03 12:40:56 -07:00
Emmanuel Lepage Vallee
76704b33e7
progressbar: Make `ticks` and `bar_shape` compatible with each other.
...
It looked horrible/buggy when combined. Now it looks like people would
expect it to work. Another problem was the `bar_border_width` look
when `ticks` was `true.
2021-11-02 20:36:07 -07:00
Emmanuel Lepage Vallee
0afb719f82
doc: Improve the progressbar doc.
...
Another commit in the "lets finish the widget doc" serie.
2021-11-02 20:36:07 -07:00
Emmanuel Lepage Vallee
9dcfde32e0
naughty: Never hold a strong reference to the notification in the box.
...
luajit was failing to GC the notification about 5% of the time. This
commit stores all widget notifications in a weak table and don't let
any lambda access the parent object notification object.
Each of those changes reduces the failure rate. There might still be
a couple in there, but the test passed 200x on my laptop with 100%
success rate.
2021-10-31 19:30:17 -07:00
Emmanuel Lepage Vallee
1fa0204d80
doc: Add many textbox examples.
2021-10-30 22:51:40 -07:00
Emmanuel Lepage Vallee
4df1cd6315
background: Correctly apply the matrix in the fallback border code.
2021-10-30 22:43:46 -07:00
Emmanuel Lepage Vallée
50b9b10437
texrbox: Fix a recent regression. ( #3488 )
...
The intial font wasn't set.
2021-10-28 19:24:49 -07:00
Emmanuel Lepage Vallée
1e0d1e7ba9
Merge pull request #3466 from Elv13/fix_3428
...
Fix a regression in naughty.notification.ignore_suspend
2021-10-28 12:27:42 -07:00
Emmanuel Lepage Vallée
d5fae3f3dc
Merge pull request #3478 from Elv13/better_shims
...
Fix a few sequences template bugs
2021-10-28 12:27:11 -07:00
Emmanuel Lepage Vallée
c8ada80fb3
Merge pull request #3484 from Elv13/2012_misc_fixes
...
Miscellaneous small bug fixes
2021-10-28 12:26:47 -07:00
Emmanuel Lepage Vallee
bb65181e61
doc: Document the textbox font.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
5069f5c2ed
client.floating: Add a missing signal connection.
...
The `fullscreen` state does affect the outcome of the state, so
it needs to be connected for request::border to be sent.
2021-10-27 20:08:15 -07:00
Emmanuel Lepage Vallee
7d6892992c
client: Change the `relative_move` behavior.
...
The old behavior would move the client when `nil` was passed by
an almost arbitrary value. It would most of the time go off screen.
While this is a behavior change, what it replaces was so broken I
doubt anybody actually used `nil` in `relative_move`.
2021-10-27 18:30:30 -07:00
Emmanuel Lepage Vallee
146a9c3166
permission: Fix hiding the border for maximized clients.
...
When the theme variables were moved to the backend instead of `rc.lua`,
some magic was added to disable them if the user set the border. However,
some undocumented `awful.placement` code also set them and turned off
the theme variables. So it worked *once* then stopped working.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
907053f31a
titlebar: Implement setting the font (as documented, but unimplemented)
...
It was documented to exist, but didn't.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
c36a869ded
textbox: Store the font in `_private`.
...
So a getter can work.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
c7208b4bb0
layoutlist: Rename the constructor arg from `layout` to `base_layout`.
...
The documentation examples already called it that way.
2021-10-27 13:41:11 -07:00
Emmanuel Lepage Vallee
440d1560a3
layoutlist: Fix the `layout` consturctor parameter.
...
If set, it would override some important widget methods and
explode.
2021-10-27 13:41:10 -07:00
Emmanuel Lepage Vallee
2f8413acbc
layoutlist: Use `layoutlist_spacing` instead of `tasklist_spacing`.
...
Old copy/paste bug.
2021-10-27 13:38:48 -07:00
Sergey
fcef95b1f0
Removing duplicating descriptions of screen properties as read only
...
Removed "Immutable: true" from readonly properties descriptions.
2021-10-27 14:52:36 -04:00
Sergey
212ec72236
Removing read only from properties descriptions. It's set with ldoc tag now.
2021-10-27 14:52:36 -04:00
Sergey
6c3d233893
Mark readonly properties for screen
2021-10-27 14:52:36 -04:00
Sergey
43ff4e07ad
Marking readonly properties for client
2021-10-27 14:52:36 -04:00
Emmanuel Lepage Vallee
c63a80de5c
layoutlist: Allow empty constructor.
2021-10-26 13:37:16 -07:00
Emmanuel Lepage Vallee
11e4fe88bb
client.border_color: Fix a bug affecting floating clients.
...
If client client was tiled, the `fallback` could be
`theme.border_color_normal`, but if the client was
tiled, this fallback was never tried.
Now it tests for both "floating" and "active" fallbacks.
This problem actually affects the default theme.
2021-10-26 13:37:16 -07:00
Emmanuel Lepage Vallée
1e6f213bcf
Merge pull request #3477 from Elv13/fix_matcher
...
Fix a gears.matcher bug and add a small feature.
2021-10-23 12:15:29 -07:00
Emmanuel Lepage Vallée
a1716a7edc
Merge pull request #3462 from Aire-One/fix/3458
...
Fix 3458
2021-10-22 23:27:55 -07:00
Emmanuel Lepage Vallee
9db62b824c
gears.matcher: Add `fallback` rules.
...
Right now, all rules are additive, they are squashed into one big
array of properties. This is normally fine, but sometime you want
explicit rules for some objects, but also default rules if nothing
matches.
While this can be expressed in the current system by overriding
*all* properties, this require more effort than having "special"
and "fallback" rules.
2021-10-22 22:26:12 -07:00