Ari Breitkreuz
2e6c911821
Add test for menubar.match_empty
2020-04-26 19:48:47 +02:00
Unai Fernández
654a3216e2
fix wibox declarative opacity
2020-04-26 17:36:36 +02:00
Emmanuel Lepage Vallée
29f6387def
Merge pull request #3069 from aDogCalledSpot/dont_force_defaults
...
Don't force defaults in menubar
2020-04-23 21:18:47 -07:00
actionless
124c6f9b23
fix(naughty: widget: _markup): correctly un-escape "<span property=value>"
2020-04-23 13:44:34 +02:00
actionless
d686a0e357
test(examples: awful: placement: skip_fullscreen): cover non-fullscreen clients
2020-04-23 08:29:27 +02:00
actionless
e820136810
fixup! fix(awful: placement: skip_fullscreen): force screen geometry
...
doc(awful: placement: no_offscreen): add descriptions to examples
2020-04-23 07:41:18 +02:00
actionless
9ef78c4f88
fix(awful: placement: skip_fullscreen): force screen geometry
2020-04-23 07:27:51 +02:00
actionless
05d905cd7d
test(examples: awful: placement): add for "skip_fullscreen"
2020-04-23 07:14:21 +02:00
actionless
b71d522f8c
feat(awful: placement): add "skip_fullscreen"
2020-04-23 06:23:49 +02:00
Yauhen Kirylau
6c7a5a5073
Update lib/menubar/init.lua
...
Co-Authored-By: Ari <ari.breitkreuz@pm.me>
2020-04-22 22:03:28 +02:00
mergify[bot]
87928befe2
Merge pull request #3072 from Aire-One/titlebar_size
...
Fix `awful.titlebar` example property.
2020-04-22 19:17:40 +00:00
Aire-One
00e826dcad
Fix `awful.titlebar` example property.
2020-04-22 19:53:38 +02:00
Ari Breitkreuz
138e37576d
Add note that prompt_args will override defaults
2020-04-22 13:05:19 +02:00
Ari Breitkreuz
30911a3959
Rename v to entry in add_entry loop
2020-04-22 13:02:46 +02:00
Ari Breitkreuz
ec5ec642c3
Add match_empty option to menubar
2020-04-22 13:02:41 +02:00
actionless
f803347fc8
fixup! fix(gears: matcher: default_matcher): handle sidecase of string.match-ing the empty string ('')
...
style: return true/false instead of assigning nil to result
2020-04-22 01:52:41 +02:00
actionless
fa494a1e18
test(spec: gears: matcher): spec _match() for string typ
2020-04-22 01:40:00 +02:00
actionless
90aacbc5b5
fix(gears: matcher: default_matcher): handle sidecase of string.match-ing the empty string ('')
2020-04-21 19:51:11 +02:00
Ari Breitkreuz
788d8fec33
Don't force defaults in menubar
2020-04-21 16:45:40 +02:00
mergify[bot]
87e7b84ff5
Merge pull request #3065 from reinerh/gcc10
...
Move variable declarations from header to C file to fix build with GCC 10
2020-04-18 10:19:50 +00:00
Reiner Herrmann
d256d90550
Move variable declarations from header to C file to fix build with GCC 10
...
GCC 10 builds with -fno-common by default, which causes linker errors when
variables are declared in header files and included in multiple places.
See also: https://gcc.gnu.org/gcc-10/porting_to.html
2020-04-17 19:25:40 +02:00
mergify[bot]
245f38ccd5
Merge pull request #3064 from hertg/master
...
Docs: Fixed wrong code example in 03-declarative-layout
2020-04-16 17:40:54 +00:00
Michael
b959c9de1a
docs: Fix wrong code example in "03-declarative-layout"
2020-04-16 18:23:50 +00:00
mergify[bot]
c6282d97fe
Merge pull request #3058 from hugotrsd/master
...
Add doc fields for tasklist icon theming
2020-04-16 17:23:23 +00: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]
f997009ff4
Merge pull request #3050 from ndgnuh/star-shape
...
New shape: star
2020-03-29 09:18:32 +00:00
hung
33f99fea1c
Remove double blank line
2020-03-28 21:13:53 +07:00
hung
7f7793378e
Use cr:save and cr:restore instead
2020-03-28 20:43:07 +07:00
hung
4eff88679c
new shape: star
2020-03-28 20:21:39 +07:00
Seth Barberee
6e7d235c5a
add additional match for firefox
2020-03-21 09:27:07 -05: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
mergify[bot]
8ef75281f4
Merge pull request #3023 from SethBarberee/hotkeys_awful_popup
...
convert hotkeys_popup to awful.popup instead of wibox
2020-03-19 22:31:23 +00:00
Seth Barberee
5c7574bce8
convert hotkeys_popup to awful.popup instead of wibox
2020-03-19 10:51:51 -05:00
Emmanuel Lepage Vallée
2da1cb9ba0
Merge pull request #3040 from Elv13/notif_icons_v3
...
[RFC] Redesign how notification icons are handled.
2020-03-18 21:35:29 -07:00
Emmanuel Lepage Vallée
b656991027
Merge pull request #3011 from ArenaL5/lua2c
...
Extending the C API to query the name of a key
2020-03-17 03:06:27 -04:00
Emmanuel Lepage Vallee
9601cf4a89
naughty: Plug to the permission system.
...
This allows to control which kind of icon actions can be done
on individual notifications. Once the second part of the permission
system will be merged, this will mostly be used in `ruled.notification`.
2020-03-16 04:46:51 -04:00
Emmanuel Lepage Vallee
4492a37885
naughty: Use a request handler to clear the notification icon.
2020-03-16 04:45:52 -04:00
Emmanuel Lepage Vallee
64fb498422
tests: Test the newly added notification icon request handlers.
2020-03-16 04:44:15 -04:00
Emmanuel Lepage Vallee
c75203ac03
naughty: Handle icon paths with file:// in them.
2020-03-16 04:44:11 -04:00
Emmanuel Lepage Vallee
32fd11a220
naughty: Move the get_icon implementation to 2 request handlers.
...
They can now be disconnected or extended.
2020-03-16 04:44:10 -04:00
Emmanuel Lepage Vallee
9e19e7a18c
tests: Test naughty request::icon.
2020-03-16 04:43:55 -04:00
Emmanuel Lepage Vallee
c3cdac368d
naughty: Stop request::icon as soon as there is an icon.
2020-03-16 04:43:53 -04:00
Emmanuel Lepage Vallee
625b9c8901
object: Add a private API to optimize chain of responsibilities.
...
Currently, emit_signal always call all connected function. However,
it is very wasteful for some I/O intensive operations like icon
lookup. This commit adds a trick (private API) to stop once
a condition is met.
It will also in the future be used for the permission system, but
this is not yet implementd.
2020-03-15 04:08:06 -04:00
Emmanuel Lepage Vallee
a3c37382be
naughty: Add a new request::icon for the main icon.
...
My initial implementation was overly optimistic. It turns out there
is no end in sight to "correctly" support icons. Apps randomly use
XDG name, paths and URLs. Rather than baloon the size of the
implementation, this commit moves toward to request:: pattern
found in other APIs. This will allow people who wish to "fix"
specific icons to do so in a way that scales.
The next 2 commits will move the current implementation to request
handlers.
2020-03-15 03:35:40 -04:00
Emmanuel Lepage Vallee
9cf717b994
naughty: Replace request::icon by request::action_icon.
...
It wasn't a good idea to use ::icon because sometime the notification
themselves needs to request assistance for their icons.
2020-03-14 20:21:35 -04:00
ArenaL5
e5566c0415
Add a test for awesome.get_key_name()
...
Signed-off-by: ArenaL5 <arenal5@gmx.com>
2020-03-14 19:33:04 -04: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
515867d42f
Fix luaa.c following suggestions from @psychon
...
Also remove a file that at the end really was unnecessary `xkb_utf32_to_keysym.h`
2020-03-14 19:04:08 -04:00