Commit graph

97 commits

Author SHA1 Message Date
tobi-wan-kenobi
e7b9a0e2f8 [modules/uptime] Update to new API 2020-04-13 09:32:29 +02:00
tobi-wan-kenobi
6fd0dbd19d [modules] re-enable uptime 2020-04-13 09:29:16 +02:00
tobi-wan-kenobi
94ef496ee6 [core] Add a decorator for never updating a module 2020-04-13 09:27:03 +02:00
tobi-wan-kenobi
06ca5024dc [modules] re-enable xkcd 2020-04-13 09:20:17 +02:00
tobi-wan-kenobi
f2a62ca7c6 [modules/amixer] update to new API 2020-04-13 09:19:18 +02:00
tobi-wan-kenobi
f5c1c4975f [modules] re-enable amixer 2020-04-13 09:14:22 +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
4b641c08c6 [modules/hostname] Update to new API 2020-04-12 14:18:03 +02:00
tobi-wan-kenobi
c23670adab [modules] Re-add hostname 2020-04-12 14:15:51 +02:00
tobi-wan-kenobi
0f0a745957 [modules/pihole] Update to new API 2020-04-12 14:15:03 +02:00
tobi-wan-kenobi
cf16cecfec [modules/pihole] quotes 2020-04-12 14:05:55 +02:00
tobi-wan-kenobi
5f2455ac79 [modules] Re-add pihole module 2020-04-12 14:05:30 +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
22c91e352e [modules/publicip] Update to new API 2020-04-11 09:20:19 +02:00
tobi-wan-kenobi
818c0edbc4 [modules/publicip] quotes 2020-04-11 09:15:51 +02:00
tobi-wan-kenobi
a2865f941d [modules] Re-add publicip module 2020-04-11 09:15:29 +02:00
tobi-wan-kenobi
c998af5649 [modules/traffic] Update to new API 2020-04-11 09:11:24 +02:00
tobi-wan-kenobi
008f0dc4f2 [modules/traffic] update quotes 2020-04-11 09:02:47 +02:00
tobi-wan-kenobi
605b3bc20b [modules] Re-enable traffic module 2020-04-11 09:02:11 +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
9b50e96b21 [modules/progress] Update to latest API 2020-04-10 17:11:06 +02:00
tobi-wan-kenobi
55c8f6af28 [modules/progress] double to single quotes 2020-04-10 16:58:54 +02:00
tobi-wan-kenobi
8875e75734 [modules] Re-add "progress" 2020-04-10 16:58:19 +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
f32affa563 [modules/shell] Fix missing trim of output string
Remove starting/trailing whitespaces, \n etc.

fixes #592
2020-04-06 08:23:17 +02:00
tobi-wan-kenobi
a71828f0b4 [modules/weather] Small improvements 2020-04-04 07:47:53 +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
658fbd2c1c [modules/hddtemp] Update to new API 2020-03-31 21:06:44 +02:00
tobi-wan-kenobi
52ca6e5a43 [modules/hddtemp] double to single quotes 2020-03-31 21:03:30 +02:00
tobi-wan-kenobi
0873a58dc0 [modules] Re-added hddtemp 2020-03-31 21:03:07 +02:00
tobi-wan-kenobi
f262080e78 [modules/shell] Small refactoring
Use threads a bit differently do make do with fewer helper functions.
2020-03-30 21:18:28 +02:00
tobi-wan-kenobi
422a9986b4 [modules/shell] Update to new API 2020-03-30 21:09:09 +02:00
tobi-wan-kenobi
251a23d2f1 [modules/shell] double quotes -> single quotes 2020-03-30 20:56:35 +02:00
tobi-wan-kenobi
006a729be3 [modules] re-add shell module 2020-03-30 20:56:08 +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
b66b13211e [modules/dunst] Fix toggling
At least Void Linux doesn't like kill -SIGUSR<N>

Also, added some debugging to inspect state changes for modules/widgets.

Also also, fix problem with min width, if no minwidth is set
2020-03-29 14:14:30 +02:00