Yauhen Kirylau
316734a681
move `theme_assets` from xresources theme to `beautiful` module. ( #1219 )
2017-01-14 04:09:54 +01:00
Uli Schlachter
259c4f716f
Remove @release @AWESOME_VERSION@ everywhere ( #1157 )
...
It does not provide much value. The version number is already known to
ldoc globally in the "description" variable.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-10-09 22:36:20 +02:00
Emmanuel Lepage Vallee
be8f0c376b
doc: Document the basic variables.
2016-09-26 00:40:20 -04:00
Daniel Hahler
8966c73599
Minor doc fixes
2016-03-06 14:46:13 +01:00
Daniel Hahler
f874b0ad2e
Merge pull request #712 from psychon/protected_calls
...
Protected calls (gears.protected_call)
2016-02-28 22:16:13 +01:00
Daniel Hahler
2bcff5af27
Merge pull request #708 from psychon/less_screen_indicies2
...
Less screen indicies
2016-02-28 22:15:37 +01:00
Uli Schlachter
8560c6d2af
Use gears.protected_call where applicable
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-28 12:28:55 +01:00
Uli Schlachter
20e13602de
beautiful.xresources: Support screen objects
...
This commit makes beautiful accept a screen object everywhere where a screen
index is accepted.
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-26 18:19:24 +01:00
Uli Schlachter
f3091154f6
Make beautiful work directly under unit tests
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-21 17:09:08 +01:00
Uli Schlachter
f2cf4a6385
Fix luacheck warnings in beautiful and menubar
...
Signed-off-by: Uli Schlachter <psychon@znc.in>
2016-02-11 21:55:32 +01:00
Uli Schlachter
2ab98f5e4a
Merge branch 'rgb-xresources' of https://github.com/actionless/awesome
2016-01-17 16:00:11 +01:00
Uli Schlachter
720cd879f3
Add timestamps to messages on stderr ( #602 )
...
Closes https://github.com/awesomeWM/awesome/pull/606 .
Fixes https://github.com/awesomeWM/awesome/issues/602 .
Signed-off-by: Uli Schlachter <psychon@znc.in>
2015-12-31 15:38:17 +01:00
actionless
2d7fc8bc49
feat(beautiful: xresources): read rgb: and argb: prefixed colors
2015-12-07 09:38:22 +01:00
Daniel Hahler
4bffa7e47e
doc: fix unintentional rendering as code due to indent
2015-10-14 00:22:26 +02:00
Daniel Hahler
11473aa490
Use awful.util.round in beautiful.xresources.apply_dpi
2015-08-12 14:18:57 +02:00
Daniel Hahler
b028a0ba1d
xresources.apply_dpi: use "round" instead of "ceil"
...
Given an outcome of e.g. 1.01 its more sane to use 1 than 2, especially
for `border_width`.
This uses the method from `wibox.layout.flex`.
Closes https://github.com/awesomeWM/awesome/pull/389 .
2015-08-04 20:48:17 +02:00
Daniel Hahler
9835f73a01
doc: fix invalid @see references to URLs
2015-07-24 01:56:36 +02:00
Daniel Hahler
b28cda2ac6
beautiful.xresources.apply_dpi: use `math.ceil`
...
Closes https://github.com/awesomeWM/awesome/pull/330 .
2015-07-24 01:52:51 +02:00
Daniel Hahler
1f3ad814c9
beautiful.xresources: allow to set/get DPI per screen
...
This adds an optional screen argument to get_dpi/apply_dpi and set_dpi
to store DPI values per screen.
This can be used in your config to manage different DPI values for an
internal and external display:
beautiful.xresources.set_dpi(125, 1)
beautiful.xresources.set_dpi(94, 2)
This is meant to be the foundation for more evolved DPI handling in
awesome.
Closes https://github.com/awesomeWM/awesome/pull/336 .
2015-07-24 01:48:03 +02:00
Daniel Hahler
173545bc72
Add beautiful.get_merged_font; fix doc / load_font
...
This is meant to get a new font (copy) with adjusted attributes, e.g.
font_focus = beautiful.get_font_copy(theme.font, "bold")
Closes https://github.com/awesomeWM/awesome/pull/308 .
2015-07-22 13:59:05 +02:00
Daniel Hahler
ddb1f64acd
beautiful.init: use xpcall / debug.backtrace
2015-07-22 13:52:47 +02:00
actionless
cec04b2684
Add DPI support and 'xresources' theme
...
This makes awesome respect DPI settings, and adds a new theme based on
xrdb and xsettingsd color settings ("xresources").
Closes https://github.com/awesomeWM/awesome/pull/229
2015-06-25 06:40:38 +02:00