Commit graph

2734 commits

Author SHA1 Message Date
tobi-wan-kenobi
45c0a382c9 [core/module] fix load error when no user module exists 2021-01-17 15:17:14 +01:00
tobi-wan-kenobi
21ded8f640 [core] Allow module loading from user directory
If a module fails to load from both core and contrib, fall back to
loading by file name from "~/.config/bumblebee-status/modules/<name>.py"

fixes #757
2021-01-17 14:18:58 +01:00
tobi-wan-kenobi
413abdcae7 [doc] add license badge 2020-12-31 13:22:40 +01:00
tobi-wan-kenobi
5e790b7496 [doc] Add reference to slackbuild
fixes #755
2020-12-31 13:21:35 +01:00
tobi-wan-kenobi
0e37d6cbf2
Merge pull request #754 from gkeep/playerctl-improvements
[modules/playerctl] Add format and layout parameters
2020-12-27 17:58:33 +01:00
gkeep
b74ebce702 [modules/playerctl] Small fix 2020-12-27 19:12:36 +03:00
gkeep
436cea8f37 [modules/playerctl] Add format and layout parameters 2020-12-27 19:02:45 +03:00
tobi-wan-kenobi
af95b2e276 [tests] fix syntax error 2020-12-27 14:52:45 +01:00
tobi-wan-kenobi
960792b2e5 [tests] fix module load test for python 3.6 and further 2020-12-27 14:49:12 +01:00
tobi-wan-kenobi
73b071edb0 [doc] clarify interval handling further
fixes #751
2020-12-20 15:11:35 +01:00
tobi-wan-kenobi
7b1659a1b5 [core/theme] add /usr/share as theme directory
add a theme directory /usr/share/bumblebee-status/themes for system-wide
theme installation.

fixes #753
2020-12-20 10:23:06 +01:00
tobi-wan-kenobi
7fd4f710a1 [doc] improve interval documentation
Add information about global vs. per-module intervals.

see #751
2020-12-19 13:17:05 +01:00
tobi-wan-kenobi
a94114dd94 [core/module] better error reporting for failed module loads
if a module fails to load, explicitly log errors for core and contrib in
the error log, but be a bit less verbose (and less confusing) in the
module error message itself.

fixes #747
2020-12-19 13:07:29 +01:00
tobi-wan-kenobi
64355e5314
Merge pull request #752 from gkeep/spotifyd-support
[modules/spotify] Add initial spotifyd compatibility
2020-12-18 12:49:48 +01:00
gkeep
601b2115ce Add initial spotifyd compatibility 2020-12-18 13:56:26 +03:00
tobi-wan-kenobi
3644acce76 [pip] adjust removed dependencies 2020-12-07 10:00:20 +01:00
tobi-wan-kenobi
fa66873582 [core/theme] add xresources support
add support for reading foreground and background, and colors, from
xresources.py

many thanks to @Aliuakbar for the addition!

fixes #731
2020-12-07 09:01:08 +01:00
tobi-wan-kenobi
13b06793da
Merge pull request #745 from jayvdb/libvirt
.travis.yml setup
2020-12-05 13:43:04 +01:00
John Vandenberg
9e9dff7658 rss.txt: Unpin feedparser
And install feedparser<6 on Travis for Python 3.4-5.
2020-12-05 17:11:30 +07:00
John Vandenberg
e872897346 .travis.yml: Pre-install libvirt-dev
Also install libvirt-python<6.3 for Python 3.4 support.
2020-12-05 15:01:07 +07:00
John Vandenberg
a018343af6 .travis.yml: Add libgit2-dev
And pre-install pygit2<1 for Python 3.4 and 3.5 support.
2020-12-05 14:59:46 +07:00
John Vandenberg
d0e309ad0f test_format: Allow 2.00TiB 2020-12-05 14:57:52 +07:00
John Vandenberg
b598869450 .travis.yml: Add taskwarrior
Taskwarrior package requires task to be installed.
2020-12-05 14:57:50 +07:00
tobi-wan-kenobi
5ff6263986 [travis] forgotten in previous commit 2020-12-04 18:55:21 +01:00
tobi-wan-kenobi
3937e73e7d [travis] hopefully fixed test build
locally tested with a xenial image, and this should work.

Unfortunately, cannot get the pygit2 to build against the provided
libgit2-dev, so using the packaged version instead.
2020-12-04 18:55:03 +01:00
tobi-wan-kenobi
e0fc98bfb0 [travis] temporarily exclude dbus and libvirt from requirements
since they cause issues in the automated tests, do not install the dbus
and libvirt python libraries.
2020-12-03 20:48:06 +01:00
tobi-wan-kenobi
47a640e610
Merge pull request #744 from jayvdb/travis-pip-install
.travis.yml: Install declared PyPI dependencies
2020-12-03 07:15:49 +01:00
John Vandenberg
a58454de97 .travis.yml: Allow building dbus-python 2020-12-03 12:54:44 +07:00
John Vandenberg
21268d7d86 Use dbus-python PyPI package 2020-12-03 10:55:23 +07:00
John Vandenberg
071a69b2d8 .travis.yml: Install declared PyPI dependencies 2020-12-03 08:02:41 +07:00
John Vandenberg
659a0147da system.txt: Replace tk with Pillow
Related to https://github.com/tobi-wan-kenobi/bumblebee-status/issues/741
2020-12-03 08:02:12 +07:00
John Vandenberg
38c4b46351 libvirtvms.txt: Fix PyPI dependency name
Related to https://github.com/tobi-wan-kenobi/bumblebee-status/issues/741
2020-12-03 07:56:36 +07:00
tobi-wan-kenobi
cd851340e2 [pip] updated/fixed dependencies
many thanks to @jayvdb for pointing those out!

fixes #741
2020-12-02 21:21:34 +01:00
tobi-wan-kenobi
1d8b261057
Merge pull request #742 from cdbrkfxrpt/main
Add TiB to disk units, add SI unit option for disk space
2020-12-02 21:14:18 +01:00
tobi-wan-kenobi
efebc8d049 [travis] add sudo (accidentially removed) 2020-12-02 20:53:43 +01:00
Florian Eich
3c08eafa4a Add TiB to disk units, add SI unit option for disk space 2020-12-02 19:08:45 +01:00
tobi-wan-kenobi
2de39be731 [travis/code climate] update to new reporter + small fixes 2020-12-02 11:07:19 +01:00
tobi-wan-kenobi
a8d1254e06 [modules/nic] Make regex for SSID a raw string 2020-12-01 15:58:55 +01:00
tobi-wan-kenobi
5fb19b66da
Merge pull request #740 from cdbrkfxrpt/main
Change iw call in module nic from link to info
2020-12-01 03:32:10 +01:00
Florian Eich
de01d96b91 Change iw call in module nic from link to info 2020-12-01 00:19:17 +01:00
tobi-wan-kenobi
f5e6bc12db [doc] update doc 2020-11-30 17:22:42 +01:00
tobi-wan-kenobi
d0ee1b06e4 [modules/nic] make exclude list regular expression capable
Allow the usage of regexps in the exclude list, but keep the "this is a
prefix" logic for backwards compatibility.

should address (see #738)
2020-11-30 17:21:17 +01:00
tobi-wan-kenobi
a8b28cd0bf
Merge pull request #739 from eumiro/py39
add python 3.9 support
2020-11-30 07:06:27 +01:00
Miroslav Šedivý
681bba4f12 add python 3.9 support 2020-11-29 22:14:33 +01:00
tobi-wan-kenobi
6c08336154
Merge pull request #736 from jebaum/main
add rofication module
2020-11-24 07:03:56 +01:00
James Baumgarten
02465ea0c2 add rofication module 2020-11-23 20:44:17 -08:00
Tobias Witek
08ef42834e [modules/nic] update documentation to include iwgetid
fixes #734
2020-11-13 14:56:31 +01:00
tobi-wan-kenobi
0fc1782e0b
Merge pull request #733 from martindoublem/main
[module] Improved smartstatus with combined_singles
2020-11-06 12:36:33 +01:00
Martin Morlot
a811c9c886 [module] Improved smartstatus with combined_singles
Added combined_singles as way to detect the drives that are permanently inside your machine and not plugged via USB.

As USB flash drives without smartstatus sometime caused the module to crash.
2020-11-06 12:14:56 +01:00
tobi-wan-kenobi
c5f13746b3
Merge pull request #730 from donfranio/fix-for-missing-python2
update python name in shebang to respect PEP-0394
2020-10-26 09:03:51 +01:00