Yauhen Kirylau
f69769f7ba
fix(awful: hotkeys_popup): use new widget api in pagination ( #1384 )
2017-01-11 13:12:38 +01:00
Daniel Hahler
83a118e421
awful.util.{get_themes_dir,get_awesome_icon_dir}: support env
...
Look at environment variables AWESOME_THEMES_PATH and AWESOME_ICON_PATH,
which allows to override this in the integration test runner.
2017-01-08 20:34:13 +01:00
rob
703b11182c
taglist: added volatile tag theme variables
2017-01-07 21:21:46 -07:00
Emmanuel Lepage Vallee
cefa14d1bd
layout: Fix the magnifier layout
...
It was broken since the dynamic screen support was merged.
Fix #1338
2017-01-04 04:56:54 -05:00
Daniel Hahler
4b9e8e232d
Merge pull request #1341 from psychon/modeline
...
Lots of fun with vim modelines
2017-01-02 19:56:06 +01:00
Uli Schlachter
2b79165622
Add missing vim modelines in lib/
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-31 14:07:13 +01:00
Daniel Hahler
af961e974c
doc: improve client.dockable ( #1336 )
2016-12-31 00:40:17 +01:00
Uli Schlachter
e7b4898a7e
Fix typo: Remove double tasklist_tasklist_ ( #1323 )
2016-12-28 22:25:23 +01:00
Daniel Hahler
d13f465374
awful.screen: add stacked arg to some functions ( #1301 )
...
Fixes https://github.com/awesomeWM/awesome/issues/1300
2016-12-28 12:41:59 +01:00
Uli Schlachter
bdb7e90b74
Fix classmod in awful.widget.keyboardlayout ( #1314 )
...
Fixes: https://github.com/awesomeWM/awesome/issues/1313
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-27 21:38:20 +01:00
Emmanuel Lepage Vallee
2b462cb2e3
doc: Document the tag `master_fill_policy`
2016-12-21 11:41:30 -05:00
Emmanuel Lepage Vallée
8935ed2a30
Remove traces of the old URL ( #1280 )
...
**WARNING**: This breaks the API
2016-12-21 02:03:03 +01:00
Emmanuel Lepage Vallee
5ff29bb00e
doc: Document how to open a document using `awful.spawn`
2016-12-16 12:38:33 -05:00
Emmanuel Lepage Vallee
1efbb57049
doc: Add a little awful.spawn async tutorial
2016-12-16 12:38:33 -05:00
Emmanuel Lepage Vallee
7f1933f99c
doc: Document when spawning with a shell is needed
2016-12-16 12:38:33 -05:00
Emmanuel Lepage Vallee
b9dbc79308
doc: Add more `awful.spawn` documentation
...
It was lacking
2016-12-16 12:38:33 -05:00
Emmanuel Lepage Vallée
65ec764416
Merge pull request #1267 from Elv13/fix_rules_screen_mismatch
...
Fix more rules screen mismatch
2016-12-12 13:07:18 -05:00
Emmanuel Lepage Vallee
4b61dbba82
rules.tags: Behave like rules.tag
...
One did try to match tag by name and the other didn't.
While at it, also ensure that the screen is consistent.
2016-12-12 11:49:11 -05:00
Emmanuel Lepage Vallée
f22c067efd
Merge pull request #1265 from Elv13/improve_deprecation
...
Improve deprecation messages
2016-12-12 10:26:39 -05:00
Emmanuel Lepage Vallee
c96aa9866e
rules.tag: Prevent a screen mismatch
...
As c:tags() doesn't (cannot) check for screen mismatch, then it
has to be done.
This is a follow up of 6f7019b2d0
, see #1236 .
2016-12-11 22:50:00 -05:00
Emmanuel Lepage Vallee
828d6f2cd9
utils: Better class deprecation warnings
...
Fix #1228
2016-12-11 14:54:12 -05:00
Emmanuel Lepage Vallee
e239492696
utils: Add optional awful.util.deprecate options.
...
For now, only a `raw` option is implemented.
2016-12-11 14:51:33 -05:00
Emmanuel Lepage Vallee
52fbf49309
prompt: Fix indentation
...
There was tabs mixed with spaces
2016-12-11 14:39:08 -05:00
Emmanuel Lepage Vallee
73afe0e954
doc: Add a prompt example.
2016-12-11 14:35:20 -05:00
Emmanuel Lepage Vallee
0e1c193450
prompt: Make exe_callback optional
...
The menubar already bypass it using keypress listener. Having an
empty callback is ugly.
Fixes #1180
2016-12-11 14:19:25 -05:00
Emmanuel Lepage Vallee
1eeaf6b9c9
doc: Add a missing awful.rule field
2016-12-11 00:10:39 -05:00
Emmanuel Lepage Vallee
5aa38f6fe5
doc: Add a missing ewmh handler documentation
2016-12-11 00:10:39 -05:00
Emmanuel Lepage Vallée
548b15e883
doc: Document the client layouts. ( #1247 )
...
This commit doesn't add any useful documentation, but adds
previously hidden documentation variables. It can be the basis
of a better layout documentation.
Fix #1246
2016-12-10 02:24:22 +01:00
Uli Schlachter
9a5092226a
awful.wibox.stretch: Spell out full replacement
...
The function that is documented as awful.wibox.stretch is deprecated,
because it was removed (that's not a deprecation, is it?!?). For the
replacement, we used "@see stretch". However, LDoc was randomly
resolving this reference to awful.wibar.stretch (good) or
awful.wibox.stretch (bad; the see points to the element where it
appears).
Fix this by spelling out the "full name" of the function in the @see.
Related-to: https://github.com/awesomeWM/awesome/issues/834
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-09 18:03:03 +01:00
Uli Schlachter
480b8b6477
Remove @see tag.swap on awful.tag.object.swap
...
The only other swap function is awful.tag.swap and that one is
deprecated. Thus, it should not be linked to.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-09 18:00:40 +01:00
Emmanuel Lepage Vallée
883b5934c0
Merge pull request #1236 from Elv13/fix_new_tag_rule
...
rules.new_tag: Fix when the tag screen doesn't match the client
2016-12-01 19:53:17 -05:00
Michael Beaumont
4cb11b8754
Fix awful.tag.add ignoring props.index ( #1245 )
2016-12-01 22:04:57 +01:00
Uli Schlachter
f9cdc98c73
Fix spawn callbacks
...
Spawn callbacks were never invoked when no startup-notification-rules were
given. This commit fixes the code so that "startup done" callbacks are also
called when no rules were given.
Fixes: https://github.com/awesomeWM/awesome/issues/1218
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-01 15:32:21 +01:00
MoreThanOneAnimal
51bbb53b30
Add references to gears.color in documentation.
2016-11-28 20:07:29 -08:00
Emmanuel Lepage Vallee
6f7019b2d0
rules.new_tag: Fix when the tag screen doesn't match the client
...
Also add the documented `props` argument to the high priority
rules.
2016-11-27 04:57:35 -05:00
Daniel Hahler
fc13b1b4eb
doc: s/Wether/Whether/
2016-11-22 02:40:15 +01:00
Daniel Hahler
71259748d2
Minor doc and code style fixes
...
Closes https://github.com/awesomeWM/awesome/pull/1215 .
2016-11-21 22:38:40 +01:00
Daniel Hahler
aeab2a70e9
Fix whitespace warnings reported by luacheck ( #1229 )
2016-11-21 22:38:23 +01:00
actionless
3fea2db8c5
feat(awful: hotkeys_popup): add possibility to create new widget instance
2016-11-21 13:44:20 +01:00
MoreThanOneAnimal
61d4f4310a
Use unmodified command for the command history.
...
Closes awesomeWM/awesome#1104 .
2016-11-15 23:25:31 -08:00
Emmanuel Lepage Vallee
2d5a1798af
doc: Document tasklist_plain_task_name
...
It was missing.
2016-11-15 16:33:20 -05:00
Daniel Hahler
d0dc447dd5
Emit screen::arrange signal outside of arrange_lock ( #1191 )
...
This will handle changes in the layout recursively, e.g. when changing
the border_width of clients.
Ref: https://github.com/awesomeWM/awesome/issues/171#issuecomment-256146578
2016-10-26 16:20:34 +02:00
Uli Schlachter
d07fc822a1
Fix awful.tag.object.get_gap_single_client ( #1190 )
...
The usual "a or b"-trick to simulate C's ?:-operator does not work when
"false" is a valid value. Fix the code to handle this correctly and add
a short unit test which would have caught this problem.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-26 01:43:45 +02:00
Uli Schlachter
c1b6b204d6
awful.util.file_readable: Use Gio ( #1187 )
...
Instead of doing Linux-specific magic with error codes and trying to
read the first byte of a file, just use Gio to check if a file exists
and is readable.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-25 00:23:18 +02:00
Uli Schlachter
70d4961a3e
awful.spawn: Separate rules from callbacks ( #1186 )
...
When adding callbacks as a `callback` entry in a property, the callback
is run by `awful.rules`, because it does `c.callback =
result_of_function`. This is obviously not intended. Also, this causes
the callbacks to run twice, because the code already handled this
`callback` property specially.
Fix this by just not merging callbacks with the normal rules at all.
Fixes: https://github.com/awesomeWM/awesome/issues/1159
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-25 00:22:36 +02:00
Emmanuel Lepage Vallee
07f3a178fa
prompt: Fix 2 deprecation warnings
...
An oversaw in a previous commit introduced deprecation warnings
on the default config.
2016-10-12 01:53:53 -04:00
Emmanuel Lepage Vallée
de121975bf
Merge pull request #1165 from psychon/fix-deprecation-warning
...
Corner layout: Fix deprecation warning
2016-10-10 18:01:32 -04:00
Uli Schlachter
c9f085f439
Fix a broken deprecation warning ( #1164 )
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-10 21:00:20 +02:00
Uli Schlachter
19fe233982
Corner layout: Fix deprecation warning
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-10 20:59:49 +02:00
Uli Schlachter
fd3daf54b3
keyboardlayout: Don't break if parsing the layout fails ( #1154 )
...
Fixes: https://github.com/awesomeWM/awesome/issues/1108
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-09 22:36:41 +02:00