Commit graph

2131 commits

Author SHA1 Message Date
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
0f96f2727b [doc] Some updates 2020-03-07 13:26:33 +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
Tobias Witek
c2b0c8e754 [modules/core] Add battery module 2020-03-06 20:34:30 +01:00
Tobias Witek
7c866f1476 [tests] Add tests for byte formats 2020-03-06 15:00:03 +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
13e512d1f1 [modules/memory] Fix imports an module constructor 2020-03-06 14:48:11 +01:00
Tobias Witek
5ccf60a16b [modules] Re-added module memory 2020-03-06 14:46:33 +01:00
Tobias Witek
48c21a902e [tests/module] Skip failing tests in Python 3.{4,5} 2020-03-06 14:45:09 +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
51faef9fd4 [modules/kernel] Make widget dynamic (update if kernel changes) 2020-03-06 14:31:08 +01:00
Tobias Witek
efc2e4f94e [modules] Separate modules into core & contrib
Also, improve errors when importing a module fails.

Also, add more tests.
2020-03-06 14:14:34 +01:00
Tobias Witek
bb2c92732e [tests/traffic] Fix tests for module traffic 2020-03-06 07:03:18 +01:00
tobi-wan-kenobi
afa1645e60
Merge pull request #570 from somospocos/sync-raw
Sync _raw and full_text
2020-03-06 07:01:32 +01:00
tobi-wan-kenobi
14032393b8
Merge pull request #569 from somospocos/remove-debug-print
modules/traffic] Remove debug print()
2020-03-06 07:01:19 +01:00
me
0269bf1433 [core/output] sync _raw with full_text minwidth-wise 2020-03-06 00:19:25 +02:00
me
7187228d07 modules/traffic] Remove debug print() 2020-03-05 23:27:38 +02:00
Tobias Witek
47950240d0 [tests/core/module] Add tests for widget retrieval by name 2020-03-05 21:17:06 +01:00
Tobias Witek
28b891ef37 [doc] Extend module migration documentation 2020-03-05 21:13:48 +01:00
Tobias Witek
0a0e39b516 [modules] Re-add load module 2020-03-05 21:13:15 +01:00
Tobias Witek
6171c792e3 [modules/traffic] Fix format string width calculation 2020-03-05 21:08:29 +01:00
Tobias Witek
d19eb72296 [tests/module] Test generation of error widget
When a module/widget throws, an error widget should be produced.
2020-03-04 21:06:09 +01:00
tobi-wan-kenobi
fc6aa3ca15
Merge pull request #568 from RomainGehrig/master
[modules/pomodoro] Fix bug arising when the refresh interval is greater than 1s
2020-03-04 20:56:16 +01:00
Romain Gehrig
d59b0161a3 [modules/pomodoro] Fix bug arising when the refresh interval is greater than 1s 2020-03-04 16:27:31 +01:00
Tobias Witek
533b8ca0cc [modules] Re-add module nic 2020-03-01 14:36:12 +01:00
Tobias Witek
7420434358 [doc] Started module migration guide 2020-03-01 14:32:30 +01:00
Tobias Witek
b839a9eb44 [modules/pulseaudio] Raise if not able to handle error 2020-03-01 14:09:45 +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
a7d22edcda [core/output] Add prefix/suffix metadata
see #561
2020-02-29 20:57:00 +01:00
Tobias Witek
cb3482ae27 [core/decorators] Simplify and test scrolling 2020-02-29 14:05:02 +01:00
Tobias Witek
302296ee03 [core/output] Add custom "raw" data variable
see #561
2020-02-29 13:44:27 +01:00
tobi-wan-kenobi
1865b5488b
Merge pull request #565 from somospocos/align-cpuload
[modules/cpu2] align cpu load
2020-02-29 13:39:55 +01:00
me
87725f783a [modules/cpu2] align cpu load
This fixes a rough edge in cpu2 module where variable size of total cpu
load value string was making the whole bar slide during updates. CPU
load is right-alligned now and takes 3 chars in the widget, so load can
go up to 100 and still fit.
2020-02-28 17:30:52 +02:00
Tobias Witek
b99ac07ef0 [core/decorators] Add more tests 2020-02-27 21:39:04 +01:00
Tobias Witek
46d376a382 [README] bump module count (libvirtvms) 2020-02-27 21:25:51 +01:00
tobi-wan-kenobi
7404156a5f
Merge pull request #562 from maxpivo/master
Added modules/libvirtvms.py but no way to unit test.
2020-02-27 21:25:28 +01:00
Max Pivo
c7e1759e85 Added libvirtvms.py module 2020-02-27 12:23:10 -08:00