ArenaL5
15929b0797
Add F-keys and numpad to `awful.key.keygroups`
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
Extend `fkeys` to F35
Signed-off-by: ArenaL5 <arenal5@gmx.com>
Reducing `numpad` to its most aggreable subset
Signed-off-by: ArenaL5 <arenal5@gmx.com>
Add method to select a layout directly
using the Super key + the numeric keypad. This method uses the layout list from the currently selected tag in the currently focused screen. (If there is no selected tag, it does nothing.)
To allow this, the keygroups `numpad` and `fkeys` were added to `awful.key.keygroups`.
Refit to avoid error by nil and to remove imperative code, as per recommendation from @Elv13.
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-05-12 20:20:19 +02:00
ArenaL5
e97eeff187
Label numeric keypad Enter to hotkeys_popup
...
When adding human-readable key names to `lib/awful/hotkeys_popup/widget.lua`, I forgot to add the Enter key in the numeric keypad to the list.
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-05-12 20:20:19 +02:00
James Reed
e21b85f5fd
awful.tag: Fix handling of stateful layout in `new`
...
Fixes #3056 .
2020-05-06 18:48:40 -06:00
Emmanuel Lepage Vallée
e384ee449f
Merge pull request #3073 from actionless/placement-skip-fullscreen
...
feat(awful: placement): add "skip_fullscreen"
2020-05-04 01:43:55 -07:00
Unai
1518b0f4c0
Border_marked naming consistency ( #3084 )
...
* finish renaming border_marked to border_color_marked
* doc: document border_color_fullscreen, update border_color_marked and fix typo
* deprecate instead of removing
* doc: fix border_color_marked
2020-05-04 01:42:09 -07:00
actionless
9ef78c4f88
fix(awful: placement: skip_fullscreen): force screen geometry
2020-04-23 07:27:51 +02:00
actionless
b71d522f8c
feat(awful: placement): add "skip_fullscreen"
2020-04-23 06:23:49 +02:00
Hugo Trassoudaine
feb699aa3c
Add doc fields for extra tasklist client property notification icon theming in lib/awful/widget/tasklist.lua
...
Signed-off-by: Hugo Trassoudaine <hugo.trsd@gmail.com>
2020-04-06 14:20:35 +02:00
Gerome Matilla
158cc37a0d
Apply placement margins on awful.tooltip ( #3053 )
...
Co-authored-by: Gerome Matilla <gerome.matilla@gmail.com>
2020-04-01 02:13:58 -07:00
mergify[bot]
5d1394b91d
Merge pull request #3041 from SethBarberee/tag_gap_doc
...
[Doc] add example for master_count in awful.tag
2020-03-20 12:46:16 +00:00
Seth Barberee
6d24dc2ab7
add example for master_count
2020-03-20 01:00:53 -05:00
Seth Barberee
5c7574bce8
convert hotkeys_popup to awful.popup instead of wibox
2020-03-19 10:51:51 -05:00
ArenaL5
e7436f132f
Expose get_key_name under awful.keyboard as suggested by @Elv13
...
and change comments and declaration style to match the rest of the codebase
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:33:04 -04:00
ArenaL5
131b25473f
Integration of `get_key_name()` in `hotkeys_popup`
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:04:08 -04:00
Emmanuel Lepage Vallée
1e1f5380a6
Merge pull request #3029 from Elv13/notification_markup
...
Fix most reported notification issues.
2020-03-09 14:16:35 -04:00
handsome0hell
e5b12877b9
use user specified permission.
...
User settings should override default behavior.
2020-03-08 05:04:40 -04:00
Emmanuel Lepage Vallee
92d6fcda92
client: Check if `border_widht` is `nil` before setting it.
...
Fix #3026
2020-03-07 21:34:02 -05:00
Seth Barberee
cbb03d1a0d
add example for hotkeys_popup.widget
2020-03-06 07:09:29 -06:00
Emmanuel Lepage Vallee
75f51d2fee
keyboardlayout: Document `next_layout`.
2020-02-29 19:47:36 -05:00
Emmanuel Lepage Vallee
870cf261fb
keyboardlayout: Enable properties.
2020-02-29 19:47:36 -05:00
Unai Fernández
2c51493a69
client: Fix property.persist
2020-02-28 13:25:02 +01:00
Emmanuel Lepage Vallée
f88efc8854
Fix the layoutbox screen
...
Fix #3004
2020-02-23 16:14:06 -05:00
mergify[bot]
923c3e21f0
Merge pull request #3001 from ArenaL5/abbreviate
...
Abbreviate cheatsheet
2020-02-22 23:47:12 +00:00
ArenaL5
2d3f7e1e94
Clarify documentation of `widget.merge_duplicates`
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-02-21 00:07:52 +01:00
Seth Barberee
b3766c0544
add two examples for awful.wibar
2020-02-20 04:51:44 -06:00
ArenaL5
74f3e40c93
Document the newly exposed `awful.key.keygroups`
...
Also, more detail in the descriptions of properties `description` and `keygroup`
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-02-20 03:56:46 +01:00
ArenaL5
7517bf6fae
Add ability to abbreviate merged entries in awful.hotkeys_popup
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-02-20 02:51:51 +01:00
ArenaL5
0eaaa5e425
Fix the definition of keygroup arrows
...
Also add a short comment about the format of keygroups.
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-02-19 01:57:44 +01:00
Mahe
6779a61b40
mouse: respect border width in get_current_widgets ( #2990 )
2020-02-15 19:27:33 -05:00
Emmanuel Lepage Vallée
59b31e74b3
Merge pull request #2988 from Elv13/notif_rules_groundwork
...
Fix multiple notifications issue
2020-02-15 17:59:28 -05:00
Emmanuel Lepage Vallée
10e32198e7
Merge pull request #2982 from Elv13/modeline
...
Support shebangs (#!), modelines, API levels and add more doc.
2020-02-15 17:53:41 -05:00
mergify[bot]
fd237b9cd8
Merge pull request #2991 from psychon/cleanup_tag_history
...
Cleanup tag history on screen removal
2020-02-13 00:31:04 +00:00
Uli Schlachter
38a2a524a7
Cleanup tag history on screen removal
...
The tag history kept a strong reference to a screen even after that
screen was removed. This prevented the garbage collector from cleaning
up.
Fix this by getting rid of the tag history on screen removal.
Related-to: https://github.com/awesomeWM/awesome/issues/2983#issuecomment-584249568
Signed-off-by: Uli Schlachter <psychon@znc.in>
2020-02-12 20:33:21 +01:00
Emmanuel Lepage Vallee
8190ece3b2
placement: Fix a parent geometry bug in `next_to`.
...
The function returns the geometry of the parent object. As it was used,
it was passed the parent object directly. The means the parent geometry
of the parent object was used instead of the geometry of the parent
object. This worked "fine" as long as the mouse was in the same screen,
but it was just hiding the bug.
2020-02-10 04:13:17 -05:00
Emmanuel Lepage Vallee
e0dac2e901
awful.popup: Replace the deprecated awful.util.table with gears.table.
...
The popup code is older than the deprecation, but was merged after it.
2020-02-10 03:30:21 -05:00
Emmanuel Lepage Vallee
9cbc8a18c0
rc.lua: Revert moving the sloppy focus to awful.permissions.
...
This caused a behavior change it wasn't clear how to use the
permission API to change the focus mode.
The change will only take effect if the user override the API
level.
2020-02-08 17:59:16 -05:00
Emmanuel Lepage Vallee
973671b081
doc: Document that awful.mouse.resize/move use the permission framework.
2020-02-02 21:07:06 -05:00
Emmanuel Lepage Vallee
44301589c4
wibox: Connect the existing request::geometry signal to an handler.
...
The signal has been implemented for years, but nothing was connected
to it.
2020-02-02 21:07:04 -05:00
Aire-One
02b1a6b633
Fix missing `self` parameter in documentation usage examples.
2020-01-28 10:57:43 +01:00
Emmanuel Lepage Vallée
2f905f2522
Merge pull request #2895 from Elv13/ruled_client
...
Move `awful.rules` to `ruled.client`.
2020-01-19 20:15:52 -05:00
Uli Schlachter
8df463f971
doc: Improve the client documentation.
2020-01-19 20:30:06 -05:00
Emmanuel Lepage-Vallee
cb9c33cda8
"Really" deprecate the client marked and unmarked signals.
...
The doc said they were deprecated in 4.0, but back then there was
no API to deprecate signals.
2020-01-19 20:30:06 -05:00
Emmanuel Lepage-Vallee
74ba84b299
doc: Make use of the @classsignal tag.
...
It wasn't doing anything until now.
2020-01-19 20:30:06 -05:00
Emmanuel Lepage-Vallee
575b0f12dc
doc: Remove all type aliases.
...
They render poorly and serve no purpose.
#!/bin/bash
for FILE in $(git ls-files | grep -E "\.(h|c|lua)" | grep -v tests | grep -v spec); do
sed -i 's/^[ ]*--*[ ]*@client /-- @tparam client /g' $FILE
done
2020-01-19 20:30:06 -05:00
Emmanuel Lepage-Vallee
5e720c9744
doc: Major client documentation backfill.
...
This commit mostly rewrite the client documentation and pay the
technical debt accumulated over the years. Most of the client
documentation was still one-liners from the luadoc era. It now
has all the new tags, type. It also has actual description of
what the properties do beyond the name.
2020-01-19 20:11:19 -05:00
laith-m0
65512b5ea9
Fix prompt navigation ( #2970 )
...
1. Open any awful.prompt(mod+r or mod+x)
2. Type ()->
3. Press alt+b two times
2020-01-19 19:00:56 -05:00
Emmanuel Lepage Vallee
20743a9a16
Remove all usage of the now deprecated `awful.rules`.
2020-01-19 02:59:10 -05:00
Emmanuel Lepage Vallee
e309059f4c
doc: Add more example to awful.client.
2020-01-19 02:58:49 -05:00
Emmanuel Lepage Vallee
71c230035c
rules: Move `awful.rules` to `ruled.client`.
...
From now on, all core object will have their own rules. `awful.rules`
hardcodes some client specific code. All `rules` module have some form
of class specific code. This code will now be part of a new module
called `ruled`. Since a year or so, a lot of work has been done to
refactor the rules on top of the shared `gears.matcher` class. This way
there wont be as much duplication.
2020-01-19 02:58:37 -05:00
Emmanuel Lepage Vallee
39c90b8303
hotkeys: Port away from awful.rules
2020-01-19 02:39:30 -05:00