Daniel Hahler
a87387d9f3
doc fixes for awful.mouse.resize, awful.rules, awful.util ( #1717 )
2017-04-10 21:57:12 +02:00
Uli Schlachter
87e69e8677
Add a header to hotkeys_popup.keys.firefox to make LDoc happy
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-04-08 11:18:07 +02:00
Uli Schlachter
f8678d39a4
Fix parameters docs in awful.hotkeys_popup.widget
...
This fixes broken API docs introduced in commit c183588ba1
.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-04-08 11:15:03 +02:00
Jonathan
c183588ba1
Allow to add group rules to hotkeys_popup default instance
2017-04-03 17:49:50 +02:00
Uli Schlachter
e1b4f17e64
awful.ewmh.add_activate_filter: Fix doc example
...
I didn't actually test this, but at least this now looks like valid Lua
code to me, so this is definitely an improvement.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-04-02 18:20:48 +02:00
Kevin Zander
74fb39afbd
Remove deprecated calls in tests
...
Change deprecated util.table call in lib/awful/widget/clienticon.lua to gears.table call
2017-03-30 23:07:20 -05:00
Kevin Zander
6cb2e0fa82
Fix some deprecated calls in code and docs
...
Add missing newline in test runner
2017-03-30 21:26:50 -05:00
Emmanuel Lepage Vallée
7818fd3dba
Merge pull request #1666 from awesomeWM/doc_tag_signal
...
doc: Add 2 missing tag singals
2017-03-19 17:21:42 -04:00
Emmanuel Lepage Vallée
9aa801cc97
doc: Add 2 missing tag singals
2017-03-19 16:28:38 -04:00
Emmanuel Lepage Vallée
32341b1091
doc: find_by_name: Fix the doc
...
Swap the parameters the next time the API break / deprecation season is open.
This is indeed confusing, as reported on IRC. The screen is *not* optional,
`awful.tag.find_by_name(name)` wont work
2017-03-19 16:06:22 -04:00
Emmanuel Lepage Vallée
b73f9e963c
Merge pull request #1613 from SammysHP/spawn-cursor
...
Add beautiful property to control busy cursor during spawn
2017-03-17 15:15:19 -04:00
Kevin Zander
7687275607
Move awful.util.deprecate and awful.util.deprecate_class to gears.debug
...
Change all awful.util function calls to gears.debug function calls
Update all old deprecate calls to have deprecated_in=4
2017-03-15 20:08:22 -05:00
Kevin Zander
45dadde0dd
Move filesystem functions out of awful.util into new gears.filesystem
...
Update awful.util filesystem function calls to gears.filesystem function calls
Rename getdir to get_dir for consistency
2017-03-15 13:46:33 -05:00
Lego Stax
7c775e967c
Fix 'no such file' errors for icons ( #1655 )
...
Fixes https://github.com/awesomeWM/awesome/issues/1650 .
Signed-off-by: Lego Stax legostax@gmail.com
2017-03-15 17:29:53 +01:00
Emmanuel Lepage Vallée
4a42ed0d44
Merge pull request #1636 from psychon/client-icons2
...
Add support for multiple client icons
2017-03-11 18:59:09 -05:00
Kevin Zander
2f105eac86
Move string functions out of awful.util into new gears.string ( #1584 )
...
Update deprecated awful.util string function calls to gears.string calls
2017-03-11 18:57:32 -05:00
Christoph Mertz
2d91d49b30
awful.screen.focus_bydirecttion: fix setting screen focus ( #1635 )
...
This was broken in 9cb60b8
in PR #1597 (from myself).
focus() is not defined on the screen instance as method
but on the screen module as function.
Signed-off-by: Christoph Mertz <chris@nimel.de>
Fix #1644
2017-03-09 00:07:35 -05:00
Kevin Zander
0066257a59
Move ensure_pango_color out of awful.util into gears.color
...
Update deprecated awful.util.ensure_pango_color calls to gears.color.ensure_pango_color calls
2017-03-08 15:28:48 -06:00
Kevin Zander
c3461b535c
gears: Move awful.util.table to gears.table ( #1641 )
...
* Move table functions out of awful.util into new gears.table
* travis: Use v9999 prefix for full requests
Make sure no newly deprecated functions are used
* Move all `awful.util.table.*` calls to `gears.table.*` calls
Move table test functions from awful/util_spec to new gears/table_spec
Change awful.util.subsets call to gears.math.subsets in awful/key.lua
2017-03-08 15:18:33 -05:00
Emmanuel Lepage Vallée
d3ca6aa301
Merge pull request #1637 from psychon/deprecation_warnings
...
Fix some deprecation warnings
2017-03-07 18:43:32 -05:00
Uli Schlachter
73944dac00
Add awful.widget.clienticon
...
This adds a new widget that displays the icon of a client. This widget
tries to use the best fitting of the available icons.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-03-07 22:45:49 +01:00
Uli Schlachter
675b05ff34
fixup! Fix code using awful.util.round
2017-03-06 17:28:31 +01:00
Uli Schlachter
dde71265c5
fixup! Fix code using awful.util.cycle
2017-03-06 17:28:08 +01:00
Uli Schlachter
ad113fa3aa
Fix code using awful.util.cycle
...
This gets rid of lots of deprecation warnings.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-03-06 17:15:40 +01:00
Uli Schlachter
6f803cf3b3
Fix code using awful.util.round
...
This gets rid of lots of deprecation warnings
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-03-06 17:11:05 +01:00
Kevin Zander
ad3782b08a
Fix typo in awful.tag.setmwfact
2017-03-05 18:04:33 -06:00
actionless
e0f9245abc
fix(awful: hotkeys_popup: vim): fix hotkeys for scroll line up/down
2017-03-05 22:01:11 +01:00
Christoph Mertz
9cb60b8130
awful.screen: extract screen:get_next_in_direction() ( #1597 )
...
This extracts the code for finding the next screen
from focus_bydirection to a separate method on
the screen object.
The main reason was to use the finding code without
actually changing the screen focus but this should
incidentally make the code slightly easier to test
as well since both concerns can be tested in
isolation.
Signed-off-by: Christoph Mertz <chris@nimel.de>
2017-03-04 22:16:15 -05:00
Emmanuel Lepage Vallée
dacf22aae7
Merge pull request #1618 from legostax/master
...
Added _hover & _click to client buttons
2017-03-04 22:13:21 -05:00
Emmanuel Lepage Vallée
971adec0d0
Merge pull request #1622 from Veratil/fix-new-luacheck
...
Fix Luacheck 0.19.0 release Travis breaks
2017-03-04 13:32:53 -05:00
Daniel Hahler
0bd29ae1e9
Merge pull request #1580 from psychon/only_on_screen
...
Add a only_on_screen container widget
2017-03-04 04:06:21 +01:00
Kevin Zander
3f6df8ddee
Fix Luacheck 0.19.0 release Travis breaks
2017-03-03 16:41:12 -06:00
Uli Schlachter
2b2612314c
Add a only_on_screen container widget
...
Fixes: https://github.com/awesomeWM/awesome/issues/1565
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-03-03 13:25:28 +01:00
Kevin Zander
d8f57e4997
Move math functions out of awful.util into new gears.math
2017-03-02 18:15:59 -06:00
Lego Stax
cb311a5d61
Updated to comply
2017-03-02 16:01:22 -07:00
Lego Stax
8ffe4460d0
Added _hover & _click to client buttons
...
Every client button type (e.g. minimize, maximize_inactive, maximize_active, close) has the option to show a different icon when the mouse hovers over it or a "button::press" signal is sent.
Signed-off-by: Lego Stax legostax@gmail.com
2017-03-02 14:49:14 -07:00
Kevin Zander
edd9415df6
Add a deprecated_in variable to util.deprecate args table ( #1586 )
2017-03-01 23:02:49 +01:00
SammysHP
2f0d0e37da
Add beautiful property to control busy cursor during spawn
2017-03-01 21:57:59 +01:00
Emmanuel Lepage Vallée
2f34e69cab
Merge pull request #1605 from legostax/master
...
Added disable_task_name property
2017-03-01 14:42:38 -05:00
Emmanuel Lepage Vallée
ef668bc028
ewmh.tag: Fix the transient_for clients without parent client tags ( #1610 )
...
ewmh.tag: Fix the transient_for clients without parent client tags
Fix #1594
2017-03-01 14:11:38 -05:00
Emmanuel Lepage Vallée
3b0269d5e9
Merge pull request #1600 from Drauthius/master
...
Corrected selected check in awful.tag.set_screen()
2017-02-27 16:48:08 -05:00
Emmanuel Lepage Vallee
4e161d4a0a
doc: Fix the variable names
...
It was still wrong
2017-02-27 16:20:47 -05:00
Emmanuel Lepage Vallee
f24e957c17
doc: Fix wibar documentation
...
I got it wrong in the PR that introduced the beautiful variables.
Too much find&replace...
2017-02-27 16:12:37 -05:00
Emmanuel Lepage Vallée
8210b11ab0
wibar: Add beautiful variables ( #1602 )
...
* wibar: Add beautiful variables
This was done a few weeks ago for the notifications. This was
requested on IRC a while ago to have different font for the wibars.
Now that shapes are supported, it also makes more sense for the
border.
2017-02-26 15:56:09 -05:00
Lego Stax
b54cf0330b
Added disable_task_name property
...
style.disable_task_name and beautiful.tasklist_disable_task_name. Suppresses display of a given client's name, but preserves the setting of tasklist_plain_task_name
2017-02-25 17:21:36 -07:00
Drauthius
28709c282e
Corrected selected check in awful.tag.set_screen()
...
Previously it would check if the awful.tag.selected function existed,
and not whether the tag was actually selected.
2017-02-25 16:07:36 +01:00
morethanoneanimal
1c71260389
Replace improperly used asserts with warnings.
...
Add awful.spawn noop function to hooks.lua test. Previously it was nil.
2017-02-21 00:31:33 +01:00
Daniel Hahler
a4b06bca58
awful.prompt.run: improve deprecation warnings ( #1577 )
2017-02-18 19:39:19 +01:00
Daniel Hahler
bd02ee8558
minor: code style and comment fixes
2017-02-16 10:40:54 +01:00
Daniel Hahler
52011a68e1
util.deprecate_class: use raw=true always ( #1564 )
...
Fixes
> W: awful: function margin is deprecated, see wibox.layout.margin has been renamed to wibox.container.margin.
to
> W: wibox.layout.margin has been renamed to wibox.container.margin.
2017-02-15 19:45:23 +01:00