Commit graph

70 commits

Author SHA1 Message Date
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
tobi-wan-kenobi
95360fe522 [modules/brightness] Remove remaining reference to 'engine' 2020-03-28 21:17:38 +01:00
tobi-wan-kenobi
d5820160dc [modules/sensors2] Fix runtime errors 2020-03-28 13:44:45 +01:00
Tobias Witek
0e538a6088 [modules/weather] double quotes to single quotes 2020-03-15 14:05:26 +01:00
Tobias Witek
633bbdd6ff [modules] Reimport weather module 2020-03-15 14:05:13 +01:00
Tobias Witek
6975f179fc [modules/sensors2] Update to newest API 2020-03-15 13:53:12 +01:00
Tobias Witek
665fde5399 [modules/sensors2] Double to single quotes 2020-03-15 13:44:54 +01:00
Tobias Witek
d0406ffe83 [modules] Reimport sensors2 2020-03-15 13:44:38 +01:00
Tobias Witek
7fb626aa2c [modules/disk] Update to new API
Also, remove deprecated parameters
2020-03-15 13:40:13 +01:00
Tobias Witek
2007f8d0b9 [modules/disk] Quotes conversion 2020-03-15 13:34:09 +01:00
Tobias Witek
7aa1bc7b44 [modules] Reimport disk module 2020-03-14 14:04:45 +01:00
Tobias Witek
5851b104c5 [modules/xrandr] Adapt to new API 2020-03-13 13:56:08 +01:00
Tobias Witek
932d362d30 [modules/xrandr] Change quotation 2020-03-11 21:35:45 +01:00
Tobias Witek
59dc5f8047 [modules] Reimport xrandr 2020-03-11 21:35:25 +01:00
Tobias Witek
be2864b063 [modules/redshift] Update to latest framework 2020-03-07 14:13:25 +01:00
Tobias Witek
2592069fb9 [modules/redshift] Single quotes 2020-03-07 14:06:18 +01:00
Tobias Witek
967521593c [modules] Import redshift 2020-03-07 14:06:01 +01:00
Tobias Witek
867e87913d [modules/battery] Add warning log if no estimates 2020-03-07 13:56:05 +01:00
Tobias Witek
7cdcde0080 [modules/dunst] Update to make working again 2020-03-07 13:54:45 +01:00
Tobias Witek
4bc5f73ccc [modules/dunst] Single quotes 2020-03-07 13:49:09 +01:00
Tobias Witek
b373de4cad [modules] Import module dunst 2020-03-07 13:48:54 +01:00
Tobias Witek
f24cd6fa83 [modules/brightness] Update APIs 2020-03-07 13:37:56 +01:00
Tobias Witek
cfa4d0df48 [modules/brightness] Single quotes 2020-03-07 13:34:22 +01:00
Tobias Witek
e6181e2d94 [modules/brightness] Re-import brightness module 2020-03-07 13:34:02 +01:00
Tobias Witek
8efa101380 [util/format] Tests and minor renaming 2020-03-07 13:33:28 +01:00
Tobias Witek
47e8d5b82b [core] replace widget.minwidth with widget.set('theme.minwidth') 2020-03-07 13:21:19 +01:00
Tobias Witek
b841ba3c93 [modules/battery] Re-enable battery module 2020-03-06 20:57:32 +01:00
Tobias Witek
9b96c142d5 [modules/battery] Migrate constructor 2020-03-06 20:37:46 +01:00