Commit graph

2324 commits

Author SHA1 Message Date
tobi-wan-kenobi
993be61eec [travis] remove pygit2 2020-07-21 08:43:08 +02:00
tobi-wan-kenobi
84f2fdd419 [travis] removed random 2020-07-21 08:27:23 +02:00
tobi-wan-kenobi
b7083aacce [travis] remove multiprocessing
doesn't install :(
2020-07-21 08:25:18 +02:00
tobi-wan-kenobi
6c7737cdd5 [travis] remove libvirt-python
requires at least python3.5
2020-07-21 08:23:17 +02:00
tobi-wan-kenobi
550b594c86 [tests] fix some test prerequisites 2020-07-21 08:20:55 +02:00
tobi-wan-kenobi
4fe56fc00d [travis] remove math module 2020-07-21 08:19:51 +02:00
tobi-wan-kenobi
6c9e89627a [travis] fix package name 2020-07-21 08:17:25 +02:00
tobi-wan-kenobi
bf1cae2399 [travis] forgot sudo 2020-07-21 08:15:47 +02:00
tobi-wan-kenobi
463bc9665b [travis] fix python-dbus 2020-07-21 08:14:21 +02:00
tobi-wan-kenobi
a008ce3e58 [travis] add all dependencies
to make all unit tests run, and none skipped (hopefully), add a list of
dependencies
2020-07-21 08:08:22 +02:00
tobi-wan-kenobi
54a2fc3a41 [generate-tests] black 2020-07-20 13:58:46 +02:00
tobi-wan-kenobi
548ccc5e94 [tests] add somewhat experimental import-time tests
add auto-generated tests that check that a given module can be imported,
if all prerequisites are followed.

see #641
2020-07-20 13:58:24 +02:00
tobi-wan-kenobi
9be1331e1b [tests] add placeholder for core tests 2020-07-20 13:17:35 +02:00
tobi-wan-kenobi
dc70527797 [util] add a script to generate basic autotests
Add a small utility that can generate a basic "import this unless you
are missing dependencies" test for all modules.
2020-07-20 13:17:15 +02:00
tobi-wan-kenobi
6025fcd2da [doc] update as per PR #683 2020-07-18 08:23:44 +02:00
tobi-wan-kenobi
7c8ddc9c87 [doc] update docstrings as per PR #683 2020-07-18 08:23:28 +02:00
tobi-wan-kenobi
72966ee37d [modules/{cpu,load,memory}] Add gnome-system-monitor dependency to doc 2020-07-18 08:16:57 +02:00
tobi-wan-kenobi
df29627983 [core/doc] add autogenerated warning to modules.rst 2020-07-18 08:14:23 +02:00
tobi-wan-kenobi
83a4be3bc0 [doc] add module portage_status (plus attribution) 2020-07-12 19:31:28 +02:00
tobi-wan-kenobi
088309df23
Merge pull request #682 from andrewreisner/main
Add simple Gentoo portage status module.
2020-07-12 19:29:48 +02:00
Andrew Reisner
b1bb0fe690
Run formatter. 2020-07-12 11:01:00 -06:00
Andrew Reisner
0785202860
Add simple portage status module.
This adds a simple module to display the status of Gentoo portage
operations by reading its logfile.
2020-07-12 10:52:05 -06:00
tobi-wan-kenobi
5ea2708f45
Merge pull request #681 from bbernhard/messagereceiver
reworked messagereceiver module
2020-07-11 19:33:42 +02:00
Bernhard B
a4a622252b reworked messagereceiver module
* use bumblebee's internal threading capabilities
* various small code improvements (pylint)
2020-07-11 18:07:57 +02:00
tobi-wan-kenobi
2b888325a6 [doc] add messagereceiver (+ attribution) 2020-07-10 20:19:43 +02:00
tobi-wan-kenobi
2d6cedd8ac
Merge pull request #680 from bbernhard/messagereceiver
Messagereceiver
2020-07-10 20:13:24 +02:00
Bernhard B
01cde70e14 improved documentation of messagereceiver module 2020-07-10 17:35:40 +02:00
Bernhard B
adbba9bf9a fixed small bug in messagereceiver
* wrong logging syntax
2020-07-10 17:17:16 +02:00
Bernhard B
0067ce83f0 added new module messagereceiver
* binds to unix sockets and listens for incoming messages. The message
  will then be displayed in the status bar.
2020-07-10 17:11:50 +02:00
tobi-wan-kenobi
72045b2318 [core/config] make configurable module list work
configparser doesn't seem to have direct array support,
so use format.aslist() to get a list of modules

fixes #678
2020-07-09 07:04:45 +02:00
tobi-wan-kenobi
a9f50f1b51 [core/config] add "core" config section
move theme and modules into a "core" config section
2020-07-09 07:04:22 +02:00
tobi-wan-kenobi
057f894d52 [core/config] change preferred theme source
now, it works like this:

- if present, use what's on the CLI
- if not, use what's present in the config
- fallback is "default"

see #679
2020-07-09 06:56:43 +02:00
tobi-wan-kenobi
5c207df6ae
Merge pull request #679 from fenilgandhi/main
Updating config parser
2020-07-09 06:52:53 +02:00
ColdFire
aac2316d74
Updating config parser 2020-07-06 14:20:41 +05:30
tobi-wan-kenobi
6b63b87c42
Merge pull request #677 from andrewreisner/main
Small fix to xrandr module.
2020-07-06 07:00:52 +02:00
Andrew Reisner
edb8eaf410
Small fix to xrandr module. 2020-07-05 12:35:44 -06:00
tobi-wan-kenobi
b4fc88b57e
Merge pull request #675 from xsteadfastx/iw
[modules/nic] Using `iw` to find out whats the SSID name
2020-06-30 20:20:17 +02:00
tobi-wan-kenobi
8f0fdd6b39
Merge pull request #674 from gkeep/media-states-to-actions
[modules/media] Convert icon states to actions
2020-06-30 20:19:32 +02:00
Marvin Steadfast
6d9d325eca [modules/nic] Using iw to find out whats the SSID name 2020-06-30 14:49:43 +02:00
gkeep
7579a08615 Use icon actions instead of states 2020-06-30 13:58:10 +03:00
tobi-wan-kenobi
f75f1a9f26 [modules/spotify] fix layout parameter 2020-06-30 07:20:54 +02:00
tobi-wan-kenobi
227a23fdb5 [core/theme] fix mergeing of iconsets
iconsets should only overwrite parameters that are *not* set in the main
theme file.

fixes #666
2020-06-29 20:07:24 +02:00
tobi-wan-kenobi
e006344dcc [doc] add how to create icon-only widgets
fixes #669
2020-06-29 07:51:35 +02:00
tobi-wan-kenobi
9136ebd321 [core/input] clear previous input registrations
make sure that for a given event (widget/object/module, whatever), only
a *single* input event per button can be registered at one time.

the problem otherwise is with modules that re-register their widgets
with the same IDs (cmus, spotify, etc.): Each time the widget is
re-created (each intervall, typically), it re-registers an input event,
creating an always longer list of callbacks being executed when the
button is clicked (not speaking of the memory leak this introduces).

fixes #668
2020-06-29 07:44:22 +02:00
tobi-wan-kenobi
6839e81342
Merge pull request #667 from gkeep/spotify-improvements
[modules/spotify] Icon improvements
2020-06-29 07:38:04 +02:00
gkeep
134bbbd743 Use icons depending on widget state and icon set 2020-06-29 00:57:01 +03:00
gkeep
810daac16b Add icons for different states 2020-06-29 00:48:09 +03:00
tobi-wan-kenobi
6b09be1993 Revert "[core/theme] Make theme iconsets *not* override settings"
This reverts commit 320bba97d0.
2020-06-28 20:09:55 +02:00
tobi-wan-kenobi
320bba97d0 [core/theme] Make theme iconsets *not* override settings
Make sure that iconsets used as part of a theme do *not* override
anything already existing inside the theme.

Only iconsets that are manually specified can override settings in the
theme now (because those, you typically specify on the CLI).

TODO: Write unit test for this

fixes #666
2020-06-28 20:01:08 +02:00
tobi-wan-kenobi
8f3d48c0e6 [modules/brightness] re-enable reading brightness from ACPI
to enable reading the brightness from ACPF, set the device path and -
other than previously - explicitly enable this by setting the parameter
"brightness.use_acpi" to "true".

fixes #665
2020-06-28 11:00:51 +02:00