Holger Schurig
2627f087c5
doc: fix beautiful.arcchart_thickness ( #1439 )
...
The arcchart_ prefix was missing.
2017-01-23 21:26:18 +01:00
Emmanuel Lepage Vallée
193c73353f
Merge pull request #1426 from SammysHP/prompt-customization
...
prompt: Make awful.widget.prompt themeable
2017-01-23 07:27:58 -05:00
SammysHP
37f0b7e3bf
prompt: Make awful.widget.prompt themeable
...
Adds new optional properties to the theme:
prompt_fg
prompt_bg
prompt_fg_cursor
prompt_bg_cursor
prompt_font
2017-01-23 13:15:09 +01:00
SammysHP
9553f616c0
doc: fix typo ( #1430 )
2017-01-22 21:57:26 +01:00
Emmanuel Lepage Vallee
7faac6b59f
doc: Fix awful.tag.attached_connect_signal
2017-01-22 09:31:56 -05:00
Emmanuel Lepage Vallée
e0bce2936f
Merge pull request #1329 from Elv13/prompt_refactor
...
Prompt documentation & fixes
2017-01-22 09:14:00 -05:00
Emmanuel Lepage Vallee
2229d7aeed
doc: Fix a copy/paste error in the master_count doc
2017-01-22 09:00:53 -05:00
Emmanuel Lepage Vallee
1c4b991e33
doc: Better document the prompt hooks
2017-01-22 01:14:20 -05:00
Emmanuel Lepage Vallee
a6161d1229
tests: Test the prompt highligher
2017-01-22 01:14:20 -05:00
Emmanuel Lepage Vallee
2472201b71
prompt: Add command highlighter support.
2017-01-20 01:09:30 -05:00
Emmanuel Lepage Vallee
39f0a1c95c
doc: Document the prompt callbacks
2017-01-20 01:09:30 -05:00
Emmanuel Lepage Vallee
928f7b04b4
prompt: Add a key filter example
2017-01-20 01:09:30 -05:00
Emmanuel Lepage Vallee
f6cce940a5
prompt: Add a Vi like prompt parser
...
Otherwise hooks that modify the command are not documented well
enough.
2017-01-20 01:09:29 -05:00
Emmanuel Lepage Vallee
4934697817
prompt: Add a more complete hook example
2017-01-20 01:09:29 -05:00
Emmanuel Lepage Vallee
42205220dd
prompt: Move the keybindings section to the header
...
This is part of a longer series of commit to expand the
documentation.
2017-01-20 01:09:29 -05:00
Emmanuel Lepage Vallee
53d32d362a
prompt: Unit test the example
2017-01-20 01:09:29 -05:00
Emmanuel Lepage Vallee
856244723c
prompt: Restore the ability to use hooks without exiting
...
It was in an earlier version of the patchset but was lost at
some point.
2017-01-20 00:22:49 -05:00
Emmanuel Lepage Vallee
1e1bebc269
timer: Add a "real world" example
...
This was asked on IRC. While many user configs have such patterns,
the documentation had none.
It isn't using the test framework because of the delay.
2017-01-20 00:22:49 -05:00
Emmanuel Lepage Vallee
595ade2228
timer: Add a `singleshot` constructor property.
...
Also save some boilerplate code.
This closes the gap between timer.start_new and timer.new. Now the
only difference is that one have a special callback format while
the other only has predefined properties.
2017-01-20 00:22:49 -05:00
Emmanuel Lepage Vallee
d8f51a4039
timer: Add a callback constructor property
...
Avoids having to keep a local variable just to be able to
register the callback.
2017-01-20 00:22:49 -05:00
Emmanuel Lepage Vallee
bd96eacbe2
timer: Add an autostart constructor property
2017-01-20 00:22:49 -05:00
Yauhen Kirylau
bfb3534955
doc(awful: hotkeys_popup): change variable names to fix ldoc result and add one missing docstring ( #1396 )
2017-01-17 10:13:26 +01:00
Emmanuel Lepage Vallée
a9e8cc3dab
Merge pull request #1404 from Veratil/tasklist-spacing-fix
...
Tasklist spacing fix + taglist spacing doc addition
2017-01-16 23:39:53 -05:00
Kevin Zander
44e0ea5681
taglist_shape_border_width_focus and taglist_shape_border_color_focus are not put into the correct variables
2017-01-16 11:18:47 -06:00
Kevin Zander
74b5ac72da
Fix incorrect variable lookup for theme.tasklist_bg_image_*
2017-01-16 02:39:01 -06:00
Kevin Zander
56a2e98896
Add doc for taglist_spacing
2017-01-16 01:12:12 -06:00
Kevin Zander
c3b565faab
Fix theme lookup of tasklist_spacing; fix doc typo
2017-01-16 01:11:42 -06:00
Yauhen Kirylau
316734a681
move `theme_assets` from xresources theme to `beautiful` module. ( #1219 )
2017-01-14 04:09:54 +01:00
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
Daniel Hahler
466988eb5a
Merge pull request #1354 from psychon/menubar-fixes
...
Menubar fixes
2017-01-04 20:55:51 +01: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
Emmanuel Lepage Vallee
790d2aa6ee
doc: Add a missing test example macro
...
I found this while doing a review in case the intentation changes
broke other tests.
2017-01-03 00:07:57 -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
1078a9f395
Bump minimal LGI version to 0.8.0 ( #1350 )
...
Turns out that menubar already uses features that were only added in
that version.
Fixes: https://github.com/awesomeWM/awesome/issues/1348
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-02 19:53:02 +01:00
Uli Schlachter
dadf8463bd
menubar: Fix refresh without show
...
When menubar.refresh() is called, it tries to update the menubar widget.
The call chain looks like this: menulist_update -> common.list_update ->
get_current_page. get_current_page then tries to query information about
the size of the menubar.
Since there is not much point in this, just skip the whole callback in
this case.
Side note: What is the point of menubar.get()? It seems quite useless to
me.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-02 17:23:20 +01:00
Uli Schlachter
7f3ff5f26f
menubar: Fix hide()
...
When hide() was called without any calls to shown() before, an error
would occur.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-02 17:21:10 +01:00
Uli Schlachter
68f0883a44
menubar: Refactor initialisation
...
No functional changes intended. I just like things more like this.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2017-01-02 17:20:41 +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
Uli Schlachter
40c653c4b6
Fix luacheck warnings in wibox.drawable
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-25 13:05:26 +01:00
Uli Schlachter
0907411997
Merge branch 'force-drawable-screen' of https://github.com/psychon/awesome
2016-12-25 11:09:58 +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
Uli Schlachter
4d2a1d5534
wibox.drawable: Support forced screens
...
Up to now, a drawable always figured out the screen that it is on by
looking at its position. This causes memleak-like problems with wibars:
A wibar has a screen assigned, but its underlying drawable will end up
referring to another screen. Via this, we were managing to build a long
reference chain of screens and drawable that meant that none of the fake
screens that our test suite added could be garbage collected.
To fix this, add wibox.drawable._force_screen(s). After this function is
called, the normal screen detection based on the position is skipped and
instead the given screen is always used. This breaks the above reference
chain and things become garbage-collectable.
Also, this chains the drawable to the life time of the screen: When the
screen becomes invalid (.valid == false), the drawable will stop
redrawing.
Fixes: https://github.com/awesomeWM/awesome/issues/1237
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-12-18 10:56:47 +01:00
Emmanuel Lepage Vallee
5ff29bb00e
doc: Document how to open a document using `awful.spawn`
2016-12-16 12:38:33 -05:00