Michael Leuchtenburg
99db3a82b2
Remove unnecessary assignment
2023-06-25 11:13:01 -04:00
Michael Leuchtenburg
d87bb3e279
Cleanup
2023-06-14 15:43:33 -04:00
Michael Leuchtenburg
ab21d2455a
Move Async up into menu_gen.generate to keep order of files
2023-06-14 15:14:47 -04:00
Michael Leuchtenburg
0f8c00b758
First pass on using directory id as unique id
2023-06-14 15:12:57 -04:00
Michael Leuchtenburg
392976060f
Add relative path to table of desktop files
2023-06-14 15:11:53 -04:00
mergify[bot]
485661b706
Merge pull request #3225 from mphe/focus_bydirection_fix
...
Use focus.filter in awful.client.focus.(global_)bydirection
2023-05-18 13:59:42 +00:00
mergify[bot]
b13ac3e34d
Merge pull request #3790 from mireq/fix-layoutbox-rendering
...
Layoutbox rendering is blurry on HiDPI screen
2023-05-16 17:29:08 +00:00
Aire-One
449b00b117
ci(Mergify): configuration update ( #3809 )
...
Signed-off-by: Aire-One <null>
2023-05-16 10:13:21 -07:00
Miroslav Bendík
b6421667d9
Removed unused require
2023-05-13 07:22:06 +02:00
Aire-One
6f000aad2a
Merge pull request #3783 from mireq/fix-signal-memory-leak
...
Connect signal and disconnect signal leaks memory
2023-05-03 19:14:14 +02:00
INeido
d4555f7dba
Fix typo in taglist.lua ( #3803 )
...
* Fix typo in taglist.lua
Just a small typo correction from 'templete' to 'template' in the comments.
* Fix another typo in taglist.lua
Also changed 'genetate' to 'generate'
2023-05-01 05:45:36 +02:00
frankfut
b6263bf209
Fix typo in example wibox.widget.textbox file ( #3795 )
...
In tests/examples/wibox/widget/textbox/line_spacing.lua, there is a typo
It's supposed to be "has", but it's "shas", this is obviously not a grammar issue, so it's a typo.
2023-04-23 00:28:45 -07:00
Miroslav Bendík
948174d1c6
Clear sigfuncs array using cptr_array_wipe
2023-04-08 07:01:25 +02:00
Miroslav Bendík
a03aaec1dc
Variation without load_silently
2023-03-26 08:09:39 +02:00
Miroslav Bendík
bca49ce408
Whitespace
2023-03-26 07:58:15 +02:00
Miroslav Bendík
eccf35fa23
Fixed blurry rendering of layoutbox
2023-03-26 07:45:30 +02:00
Miroslav Bendík
b3f50d3e14
Added signal array memory deallocation
2023-03-01 08:40:18 +01:00
David Kosorin
b54e50ad6c
Update taglist when tag.volatile value is changed ( #3765 )
...
The `volatile` property is supported by the taglist (theme variables
`beautiful.taglist_bg_volatile` and `beautiful.taglist_fg_volatile`)
but taglist is not updated when the property is changed.
2023-01-16 15:02:11 -08:00
Hoid
d5a987d9c6
Update 07-my-first-awesome.md ( #3760 )
...
The original documentation told me to just copy the `theme.lua` file, but that would yield the error:
![Error](https://i.imgur.com/nZVedGA.png )
I realized that the `theme.lua` by itself would call the surrounding files like so: `themes_path.. "default/example.png"
Would this change be possible?
2023-01-11 23:53:48 -08:00
Michael
ee06634599
docs: fix type for 05 awesomerc ( #3753 )
...
L81 `will` -> `well`
2022-12-18 13:27:40 -08:00
王恒
1239cdf4bc
docs(naughty): fix broken link ( #3749 )
...
* docs(naughty): fix broken link
New GNOME developer documentation website
https://discourse.gnome.org/t/new-gnome-developer-documentation-website/7134
* docs(naughty): fix broken link
2022-12-09 20:50:17 +01:00
David Kosorin
d3c3380168
Arrange layout when client gets untagged ( #3748 )
...
This fixes the following bug.
When client gets untagged with current tag then the tag layout
is not arranged. This can leave empty space in some layouts.
To fix this, the user must manually ensure layout arrange using
other action (e.g. resize any client, unselect and select again current
tag, ...).
**Steps to reproduce:**
1. Initial state (`awful.layout.suit.tile` layout)
tag 1 (selected) tag 2
+───+─────────+ +─────────────+
| | 2 | | |
| +─────────+ | |
| 1 | 3 | | empty |
| +─────────+ | |
| | 4 | | |
+───+─────────+ +─────────────+
2. Toggle tag 2 on client 4 (`c4:toggle_tag(t2)`)
tag 1 (selected) tag 2
+───+─────────+ +─────────────+
| | 2 | | |
| +─────────+ | |
| 1 | 3 | | 4 |
| +─────────+ | |
| | 4 | | |
+───+─────────+ +─────────────+
3. Toggle tag 1 on client 4 (`c4:toggle_tag(t1)`)
**Actual result:**
tag 1 (selected) tag 2
+───+─────────+ +─────────────+
| | 2 | | |
| +─────────+ | |
| 1 | 3 | | 4 |
| +─────────+ | |
| | empty | | |
+───+─────────+ +─────────────+
**Expected result:**
tag 1 (selected) tag 2
+───+─────────+ +─────────────+
| | 2 | | |
| 1 +─────────+ | 4 |
| | 3 | | |
+───+─────────+ +─────────────+
2022-12-08 09:01:48 -08:00
croyleje
e281fa3a32
Grammar correction. ( #3744 )
...
Corrected misspelled work in qutebrowser hotkeys pupup.
2022-12-03 14:30:08 -08:00
Sean Chapel
56835aef4a
fix xrandr 1.5 virtual monitors. issue 3132 ( #3743 )
2022-12-03 14:18:44 -08:00
Kievits Rene
90460b47d3
mousegrabber: add possible nil value as cursor. Closes #3721 . ( #3724 )
...
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
Co-authored-by: Rene Kievits <crylia@protonmail.com>
Co-authored-by: Lucas Schwiderski <4508454+sclu1034@users.noreply.github.com>
2022-11-14 07:37:42 -08:00
Emmanuel Lepage Vallée
17eee18d8b
Merge pull request #3461 from poisson-aerohead/screenshot-lib
...
User Facing Screenshot API
2022-11-13 22:29:53 -08:00
Emmanuel Lepage Vallee
e088fe9aed
tests: Improve the awful.screenshot test coverage.
2022-11-13 17:35:32 -08:00
Emmanuel Lepage Vallee
9207b78f81
doc: Add `awful.screenshot` examples.
2022-11-13 17:35:32 -08:00
Emmanuel Lepage Vallee
6a862f786b
doc: Add support for `awfu.screenshot` in the `awful` template.
2022-11-13 17:35:32 -08:00
Emmanuel Lepage Vallee
fc9b06787b
shims: Implement the titlebar size API properly.
...
Needed for the screenshot API.
2022-11-13 17:35:32 -08:00
Emmanuel Lepage Vallee
d92a1c498b
awful.screenshot: Allow to export widgets instead of files.
...
Useful for alt-tab widgets and CDE / E16 style Iconified clients.
2022-11-13 17:35:32 -08:00
Emmanuel Lepage Vallee
f55a334972
awful.screenshot: Add a delay feature.
...
This can also act as an auto-save feature if the delay is zero. It
also adds more signals. These signals are intended for creating
notifications. `awful` cannot safely depend on `naughty`, so this
intergration will have to be done by the users.
2022-11-13 17:35:32 -08:00
Emmanuel Lepage Vallee
b7dcece40c
awful.screenshot: Add keyboard support.
2022-11-13 16:53:32 -08:00
Emmanuel Lepage Vallee
fa971ceb7c
tmp add keygrabber signal
2022-11-13 16:53:32 -08:00
Emmanuel Lepage Vallee
6338412b5f
awful.key: Fix the `modifiers` property.
...
It was called `mod` rather than `modifiers`.
2022-11-13 16:53:32 -08:00
Emmanuel Lepage Vallee
c391fc7fe4
keygrabber: Add `:remove_keybinding()`.
...
It was possible to add new keys, but not remove existing ones.
2022-11-13 16:53:32 -08:00
Emmanuel Lepage Vallee
f0a7f904f9
keygrabber: Add a new signal to catch awful.keys activations.
...
Some downstream modules with keys don't control the callbacks. Using
signals on multiple keys is more cumbersome than simply exposing
this at the keygrabber level.
2022-11-13 16:53:32 -08:00
Emmanuel Lepage Vallee
aca9136b02
screenshot: Cleanup the API.
...
* Fix all warnings
* Make indentation consistent across the file
* Simplify/unify the validation (use `error()` rather
than try to silently fix problems, move to setters)
and fallback code (move to the getters rather than...
everywhere)
* Write the documentation
* Finish the tests
* Remove unnecessary constructors
* Remove path builder because it belongs in
`gears.filesystem` and wasn't really used anyway
* Add more properties and a beautiful variable to
replace `set_defaults` and hardcoded values.
* Replace callbacks with signals (common pattern
in modern AwesomeWM APIs)
* Moved from `os.date` to GLib and some boilerplate
code to make Debian devs less angry
* Changed the way the snipping tool selection wibox works.
Now it freeze the screenshot before the selection.
The old way had a bunch of side effects for things
like Qt/GTK comboboxes. It also could crash.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
37ec7cd173
Clean up logging from Lua 5.1 and 5.2 error debug. Add a little more
...
test coverage.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
9d9fedf945
Likely solution to lua 5.1 and 5.2 bug.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
e8584f47b4
Debugging lua 5.1, lua 5.2 error.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
fb77f90959
Zeroing in on lua 5.1 and 5.2 bug on GitHub.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
00925a3039
Keep debugging lua on GitHub.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
ea3f82bdf0
Debugging Lua 5.1 and 5.2 on GitHub.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
1eb8371341
Error message addition to debug lua 5.1 and 5.2 out on GitHub jobs.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
036b4551c7
Add more descriptive error message to screenshot test.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
75943e788b
Add some more test coverage to get this PR to the requisite 91%.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
8f7750e6f2
Add tests for the snipper tool and the snip (defined geometry) routine
...
to increase test coverage.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
52e0242ec6
Move some filesystem related logic in the screenshot lib to gears
...
request from awesome maintainers.
2022-11-13 16:53:32 -08:00
Brian Sobulefsky
1fdefad750
Fix the failed test case and some issues regarding variable naming.
...
There will still be one more commit to replace some of the screenshot
module code with available functionality from gears (e.g. the filesystem
module).
2022-11-13 16:53:32 -08:00