tobi-wan-kenobi
41f8f31dd8
[modules/redshift] Use boolean format, rename parameter
2020-05-08 16:14:07 +02:00
Martin
478ee68f89
Improved reshdift
2020-05-07 06:44:27 +02:00
tobi-wan-kenobi
f49300e568
[doc] update docs as per #606
2020-05-06 12:57:38 +02:00
tobi-wan-kenobi
60a2d82e1c
[modules] rename __pulseaudio to pulseaudio
2020-05-06 12:57:16 +02:00
tobi-wan-kenobi
5da0819610
[doc] Update list of modules to produce RST output
...
Also, adapt some module docstrings to conform with RST
2020-05-05 20:33:27 +02:00
tobi-wan-kenobi
30c1f712a6
[formatting] reformat using "black -t py34"
...
getting rid of thinking about consistent formatting...
2020-05-03 11:15:52 +02:00
tobi-wan-kenobi
2a663deb7b
[core/modules] Add widget producer for module
...
simplifies and debugs widget creation
2020-05-01 10:03:50 +02:00
tobi-wan-kenobi
13626f6b3e
[modules/sensors2] Add module reference to widgets
...
fixes #612
2020-05-01 09:45:02 +02:00
tobi-wan-kenobi
595778f7c3
[core/config] enable logging into a log file
...
Re-enable the -f | --logfile parameter, but still default to logging to
stderr.
Also, add a "debug" module that is automatically displayed if a bar is
run in debug mode (thanks to @bbernhard for the excellent suggestion)
fixes #614
2020-05-01 09:42:26 +02:00
tobi-wan-kenobi
b27956071f
[core/widget] Make module an attribute
...
Instead of having an artifical getter/setter method, just make module a
plain attribute.
2020-04-30 12:46:57 +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
2cc463eb1a
[modules/mpd] update to latest API
2020-04-29 20:29:51 +02:00
tobi-wan-kenobi
32444ed49f
[modules/cmus] Update to latest API
2020-04-28 20:25:28 +02:00
tobi-wan-kenobi
a943e65ed7
[modules/cmus] quotes
2020-04-28 20:16:29 +02:00
tobi-wan-kenobi
2314a7b27a
[modules] re-enable cmus
2020-04-28 20:16:15 +02:00
tobi-wan-kenobi
f2d411276d
[modules/all] Update constructore to include theme
2020-04-26 16:39:24 +02:00
tobi-wan-kenobi
b85412fb2d
[modules/git] Update to latest API
2020-04-24 16:31:37 +02:00
tobi-wan-kenobi
9a1aedab62
[modules] re-enable git
2020-04-24 16:28:01 +02:00
tobi-wan-kenobi
3bb7cf51ec
[modules/redshift] Try to improve transition removal
...
For some reason, the transition state info sticks around even at night
2020-04-21 20:43:34 +02:00
tobi-wan-kenobi
9617a59d48
[modules/upower] Update to latest API
2020-04-19 14:32:51 +02:00
tobi-wan-kenobi
3f392be4a4
[modules] re-enable battery-upower
2020-04-19 14:27:56 +02:00
tobi-wan-kenobi
1dbe4f6fcc
[modules/battery] fold battery-all into battery
...
Make battery-all a submodule of battery by adding a special parameter
("compact-devices") that compacts all devices into a single widget.
2020-04-19 14:21:50 +02:00
tobi-wan-kenobi
fae06da446
[modules/battery] Rewrite for bigger reuse
2020-04-19 14:07:15 +02:00
tobi-wan-kenobi
3e79b95df4
[modules/battery] quotes
2020-04-19 13:42:16 +02:00
tobi-wan-kenobi
756c4a113a
[modules/layout-xkb] Updated to latest API
2020-04-19 10:13:44 +02:00
tobi-wan-kenobi
bd27c05fc7
[modules/layout-xkb] quotes
2020-04-19 09:57:54 +02:00
tobi-wan-kenobi
deae6ac98d
[modules] re-enable layout-xkb
2020-04-19 09:57:33 +02:00
tobi-wan-kenobi
968df75945
[modules/sensors2] incorporate latest changes
2020-04-19 09:43:44 +02:00
tobi-wan-kenobi
8bb47c14aa
[modules] Use central location libary instead of individual
2020-04-15 13:26:08 +02:00
tobi-wan-kenobi
0306760eb3
[modules/redshift] No digits for transition anymore
...
Having 2 digits *after* the comma for transitions seems excessive -
truncate value at the digit sign.
2020-04-12 20:36:32 +02:00
tobi-wan-kenobi
d87b18a824
[modules/redshift] Simplify structure
2020-04-12 20:28:11 +02:00
tobi-wan-kenobi
e36694c03d
[modules/ping] Simplify update logic
2020-04-12 20:13:18 +02:00
tobi-wan-kenobi
c2eea913e8
[modules/ping] Update to new API
2020-04-12 14:44:44 +02:00
tobi-wan-kenobi
b9b1e65176
[modules/ping] quotes
2020-04-12 14:21:59 +02:00
tobi-wan-kenobi
8ff7af2b24
[modules] re-add ping
2020-04-12 14:21:44 +02:00
tobi-wan-kenobi
f7ee2e87bb
[modules/spacer] update to latest api
2020-04-12 14:20:43 +02:00
tobi-wan-kenobi
e4151685ff
[modules] re-add spacer
2020-04-12 14:19:24 +02:00
tobi-wan-kenobi
4b402438cc
[modules/vault] Update to new API
2020-04-11 13:35:12 +02:00
tobi-wan-kenobi
2837a78502
[modules/error] Minor refactoring
2020-04-11 13:21:41 +02:00
tobi-wan-kenobi
801eceddd2
[modules/vault] quotes
2020-04-11 12:49:25 +02:00
tobi-wan-kenobi
de42edc6b7
[modules] re-add vault
2020-04-11 12:49:04 +02:00
tobi-wan-kenobi
bda153720f
[modules/brightness] Use tools also for reading backlight info
2020-04-11 08:58:34 +02:00
tobi-wan-kenobi
2b8eda9d72
[modules/error] Add simple module to show bumblebee errors
2020-04-07 20:44:10 +02:00
tobi-wan-kenobi
a7effbff78
[modules/weather] move to contrib
2020-04-02 22:10:37 +02:00
tobi-wan-kenobi
5ff0269662
[modules/weather] Update to new API
2020-04-02 22:10:18 +02:00
tobi-wan-kenobi
18154dd74f
[modules] Adjust update schedules
...
Make a few modules update more seldomly, to reduce CPU consumption.
2020-04-02 16:30:31 +02:00
tobi-wan-kenobi
c625baa47a
[core] Move "every" to decorators module
2020-03-29 14:36:44 +02:00
tobi-wan-kenobi
11ebcee29a
[tests] Fix kernel module test
2020-03-29 14:35:20 +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
95360fe522
[modules/brightness] Remove remaining reference to 'engine'
2020-03-28 21:17:38 +01:00