Commit graph

59 commits

Author SHA1 Message Date
tobi-wan-kenobi
4838cf862f [doc] update notes 2020-05-02 09:42:36 +02:00
tobi-wan-kenobi
87915a34e9 [core] get output for list of themes/modules 2020-05-01 20:15:39 +02:00
tobi-wan-kenobi
2ab575d190 [core] do not scroll errors
to make errors easier to diagnose, do not scroll them, but instead fully
show them.

also, re-introduce the supplementary fields for the dwm bridge, kudos to
@somospocos
2020-05-01 15:34:29 +02:00
tobi-wan-kenobi
859a387676 [modules/rss] update to latest API 2020-05-01 09:54:21 +02:00
tobi-wan-kenobi
7956b28463 [doc] update notes 2020-05-01 09:46:14 +02:00
tobi-wan-kenobi
dbbc1284e8 [doc] update notes 2020-04-30 20:25:53 +02:00
tobi-wan-kenobi
9cd9ff626d [core] make widget name an attribute
first, this fixes #607

also, i think it slightly simplifies code to make "simple" stuff like
names, etc. attributes instead of methods all the time.

so, expect this to be extended to other components, as well.
2020-04-30 12:42:34 +02:00
tobi-wan-kenobi
cab87896f9 [doc] update 2020-04-29 20:15:44 +02:00
tobi-wan-kenobi
7867253fdd [doc] constructors have been updated 2020-04-26 16:41:16 +02:00
tobi-wan-kenobi
cfa1a5c896 [modules/cpu2] Update to latest API 2020-04-26 10:34:25 +02:00
tobi-wan-kenobi
3e79b95df4 [modules/battery] quotes 2020-04-19 13:42:16 +02:00
tobi-wan-kenobi
74c25ba2ee [util] Add central geolocation info library 2020-04-15 13:25:51 +02:00
tobi-wan-kenobi
0ef6a165e4 [modules/currency] Update to new API 2020-04-13 19:40:50 +02:00
tobi-wan-kenobi
53e2510a4c [doc] Updates and restructuring 2020-04-13 09:11:19 +02:00
tobi-wan-kenobi
b5b62c8827 [doc] Add more notes 2020-04-12 14:45:06 +02:00
tobi-wan-kenobi
d2c3a41db8 [doc] update notes 2020-04-11 09:26:28 +02:00
tobi-wan-kenobi
6b20d09d60 [doc] update notes 2020-04-11 08:59:11 +02:00
tobi-wan-kenobi
ab55cd6514 [doc] Improve theme howto 2020-04-11 08:46:09 +02:00
tobi-wan-kenobi
1cab99175b [core/theme] slight improvements for clarity 2020-04-10 16:56:15 +02:00
tobi-wan-kenobi
cde06bd33b [core/module] Re-enable aliases 2020-04-07 21:23:42 +02:00
tobi-wan-kenobi
be4e901e42 [doc] update notes 2020-04-07 21:04:22 +02:00
tobi-wan-kenobi
b5c2ca6ccf [core/output] Add generic pango support
Allow any piece of a theme that specifies a set of attributes (default,
cycles, states, widgets) to use pango *instead* of the usual attributes.

If pango is present, this will have precedence.

A practical example of this can be found in the powerline-pango theme,
which is added solely for demonstration purposes.

fixes #531
2020-04-04 14:38:37 +02:00
tobi-wan-kenobi
a43917594e [tests/event] Add some more tests for trigger-time args 2020-04-04 08:44:41 +02:00
tobi-wan-kenobi
944b223f1e [doc] small updates 2020-04-04 08:04:48 +02:00
tobi-wan-kenobi
a71828f0b4 [modules/weather] Small improvements 2020-04-04 07:47:53 +02:00
tobi-wan-kenobi
5ff0269662 [modules/weather] Update to new API 2020-04-02 22:10:18 +02:00
tobi-wan-kenobi
d0200b656d [core/config] Allow string formatted intervals
Allow users to specify intervals such as '5m', for convenience
2020-04-02 16:55:36 +02:00
tobi-wan-kenobi
2756f8fbb3 [core/theme] Fix retrieval of rotating theme values (e.g. battery)
When rotating theme values (e.g. the "charge" icon of the battery
module(s)), until now, the code just showed the raw list (because it
wasn't aware of the need to rotate).
2020-04-02 12:51:08 +02:00
tobi-wan-kenobi
232dcb733e [doc] Improve HOWTO_MODULE 2020-03-30 21:51:46 +02:00
tobi-wan-kenobi
95410e4adf [core/input] __ for private variables, use id as property 2020-03-29 14:43:04 +02:00
tobi-wan-kenobi
bd7ff3c8f1 [core] Allow modules to specify default update interval
Expanding on the implementation in d582016, add a decorator
`core.module.every()` that allows a module to specify how often to
update the module's state.

This can still be overridden using the CLI parameter `interval`.
2020-03-29 14:32:47 +02:00
tobi-wan-kenobi
da14ad3f36 [doc] Add small reminder about brightness 2020-03-29 14:13:12 +02:00
tobi-wan-kenobi
ce6fed181e [doc] Update notes 2020-03-29 13:56:43 +02:00
tobi-wan-kenobi
4f87f65f71 [doc] Add basic HOWTO write a module 2020-03-29 13:49:48 +02:00
tobi-wan-kenobi
18ea6d36d1 [doc] Add development priorities 2020-03-28 14:04:02 +01:00
Tobias Witek
9755a70578 [tests] Make tests pass again (configurable update interval) 2020-03-23 15:40:53 +01:00
Tobias Witek
7ffb2d8626 [doc] Update documentation structure 2020-03-13 14:23:11 +01:00
Tobias Witek
5851b104c5 [modules/xrandr] Adapt to new API 2020-03-13 13:56:08 +01:00
Tobias Witek
41dc387d0c [core] Re-enable WAL support
Implement a generic "load keywords and replace during runtime"
mechanism, with the first concrete use-case of WAL colors (load them
during startup, and during runtime, whenever a matching name is found in
the keywords, replace with the actual color)
2020-03-08 14:19:21 +01:00
Tobias Witek
2592069fb9 [modules/redshift] Single quotes 2020-03-07 14:06:18 +01:00
Tobias Witek
8efa101380 [util/format] Tests and minor renaming 2020-03-07 13:33:28 +01:00
Tobias Witek
0f96f2727b [doc] Some updates 2020-03-07 13:26:33 +01:00
Tobias Witek
b841ba3c93 [modules/battery] Re-enable battery module 2020-03-06 20:57:32 +01:00
Tobias Witek
c5f78ad60d [doc] Extend migration guide 2020-03-06 14:52:54 +01:00
Tobias Witek
56a6173282 [modules/memory] Simplify and use util methods 2020-03-06 14:52:16 +01:00
Tobias Witek
d2e8057141 [modules] Add CPU module
Also, change minwidth from theme.minwidth to widget property
2020-03-06 14:33:40 +01:00
Tobias Witek
28b891ef37 [doc] Extend module migration documentation 2020-03-05 21:13:48 +01:00
Tobias Witek
7420434358 [doc] Started module migration guide 2020-03-01 14:32:30 +01:00
Tobias Witek
a1aec8fff6 [core/module] Add error widgets if a module throws
Module should have to care less about thrown exceptions.
2020-03-01 14:08:16 +01:00
Tobias Witek
1a093a73b1 [core] Add prefix/postfix support 2020-02-24 14:54:11 +01:00