Commit graph

1018 commits

Author SHA1 Message Date
Frederic Junod
b0268a412b Add bumblebee.util.asbool function
Harmonize the boolean parameter value. Now `t`, `true`, `y`, `yes`, `on`, `1` are considered truthy and
everything else falsy.
2017-07-08 06:56:20 +02:00
tobi-wan-kenobi
cc6da2b70e Merge pull request #128 from ibrokemypie/patch-2
Update module dependencies in readme
2017-07-07 19:12:21 +02:00
Conor Randall
0542205dc5 Update module dependencies in readme
A few more now depend on requests, which were not added accordingly.
2017-07-08 03:03:54 +10:00
tobi-wan-kenobi
ccc952b12c Merge pull request #126 from fredj/spelling
[module/pacman] Fix spelling
2017-07-07 17:44:25 +02:00
tobi-wan-kenobi
ca4e9bbed6 Merge pull request #127 from fredj/github_requires
[module/github] Fix requirements for GitHub module
2017-07-07 17:44:09 +02:00
Frederic Junod
7abe3b7918 [module/github] Fix requirements for GitHub module 2017-07-07 17:25:02 +02:00
Frederic Junod
a834a7d356 [module/pacman] Fix spelling 2017-07-07 17:16:07 +02:00
tobi-wan-kenobi
1b95f55851 Merge pull request #123 from fredj/github_module_simplify
[module/github] Use json function from requests and 'filter' instead of a loop
2017-07-07 16:22:07 +02:00
tobi-wan-kenobi
a7448c78e3 Merge pull request #124 from fredj/github_module_left_click
[module/github] Open GitHub notifications on left click
2017-07-07 16:21:21 +02:00
tobi-wan-kenobi
3cc9901400 Merge pull request #125 from fredj/memory_doc_typo
[module/memory] Fix parameter prefix in doc
2017-07-07 16:20:53 +02:00
Frederic Junod
fd0a09945b [module/memory] Fix parameter prefix in doc 2017-07-07 08:49:31 +02:00
Frederic Junod
b48c02a3e2 [module/github] Open GitHub notifications on left click 2017-07-07 06:56:16 +02:00
Frederic Junod
0ce2a25d4e [module/github] Use 'json' from requests and 'filter' instead of a loop 2017-07-07 06:51:57 +02:00
tobi-wan-kenobi
8fb100c237 Merge pull request #122 from fredj/github_network_down
github module: move the requests.get inside the try/except
2017-07-06 19:42:13 +02:00
Frederic Junod
be7fa79e8a [modules/github] Move the requests.get inside the try/except 2017-07-06 13:52:14 +02:00
tobi-wan-kenobi
494b11be88 Merge pull request #121 from quartje/master
Add error handling and the ability to change currencies for the getcrypto module
2017-06-27 18:20:34 +02:00
Bart Geesink
915cfc681a [modules/getcrypto] Add the option to display the price in other
currencies than USD.
2017-06-26 22:35:33 +02:00
Tobias Witek
e5061b4d5f [tests/brightness] Disable failing test
Honestly: I don't know why Travis is failing on this test, it works fine
on my machine with Python 2.7. Therefore, I will disable this test until
I can get to the bottom of it.
2017-06-26 20:42:33 +02:00
Tobias Witek
fd7c5f6f0b [tests/brightness] Create open call, if it does not exist
Hopefully, this fixes the failing Travis build.
2017-06-26 20:33:06 +02:00
Tobias Witek
62f60a172f Merge branch 'jmg5e-master' 2017-06-26 19:11:18 +02:00
Tobias Witek
d37218ce4a [tests/brightness] Fix FileNotFoundError for Python 2.7 2017-06-26 19:10:51 +02:00
jmg5e
fc912a8fbc fixed tests for brightness module 2017-06-26 06:07:19 -05:00
jmg5e
11f86b75c8 removed xbacklight dependency for brightness module 2017-06-26 05:31:44 -05:00
Bart Geesink
43a25486ba [modules/getcrypto] Add error handling to the api request. This prevents
a bumblebee crash when no internet connection is present (like when a
laptop resumes from sleep mode)
2017-06-24 17:41:40 +02:00
Tobias Witek
d69f13f0b4 [modules/battery] Autodetect battery devices
The module now creates a widget for each battery device it detects and
shows the status for each of them (I don't know of anyone with more than
a single battery, but if I'm overhauling the module anyhow, might as
well do it comprehensively).

fixes #117
2017-06-18 11:35:06 +02:00
Tobias Witek
24a7c5c926 Merge branch 'brunosmmm-popups' 2017-06-16 15:37:40 +02:00
Tobias Witek
ba843355eb [engine/popup] Make tkinter module optional
If tkinter is not available, status bar should still work as expected
(but all the popup functionality will not work and likely throw errors).
2017-06-16 15:36:56 +02:00
Tobias Witek
d5875827fa Merge branch 'popups' of git://github.com/brunosmmm/bumblebee-status into brunosmmm-popups 2017-06-16 15:29:14 +02:00
Tobias Witek
d2b4f44188 [screenshots] Add module "todo" 2017-06-16 11:29:17 +02:00
Tobias Witek
e5c30d81ce [theme] Fix icons for TODO 2017-06-16 11:27:21 +02:00
Tobias Witek
1fc94a99e8 Merge branch 'codingo-master' 2017-06-16 11:25:16 +02:00
Tobias Witek
6183054ac6 [modules/todo] Make path to TODO file configurable 2017-06-16 11:24:55 +02:00
Tobias Witek
4337c2b087 [modules/todo] Make unit test pass
Return value of full_text must be a string.
2017-06-16 11:22:08 +02:00
Michael Skelton
c27236cd82 Updated icon for todo module 2017-06-16 16:54:52 +10:00
Michael Skelton
66ecf73760 Updated todo module to agnostic user path 2017-06-16 16:52:01 +10:00
Michael Skelton
250c0135e6 added bumblebee module 2017-06-16 16:51:27 +10:00
Tobias Witek
76404bf90b [modules/pulseaudio] Default pulseaudio autostart to false
To pacify @ibrokemypie ;-)

Joking aside: Not autostarting the pulseaudio daemon by default makes a
lot of sense, so adjust default behaviour.

see #108
2017-06-15 14:14:16 +02:00
Tobias Witek
c7e2f39132 [tests/cpu] Fix expectation for CPU module output 2017-06-15 14:06:45 +02:00
Tobias Witek
d189b3a335 [modules/battery] Remove leading zeroes and use minwidth 2017-06-15 13:22:27 +02:00
tobi-wan-kenobi
302e14007b Create CONTRIBUTING.md 2017-06-15 13:08:14 +02:00
tobi-wan-kenobi
f25b04ee28 Create CODE_OF_CODUCT.md 2017-06-15 12:58:13 +02:00
Tobias Witek
0f5fdaab5a [README] Update counters 2017-06-15 11:14:22 +02:00
Tobias Witek
68e0b51178 [modules/pulseaudio] Automatically restart pulseaudio daemon
If the current volume and mute status cannot be retrieved, the most
likely explanation is that the pulseaudio daemon is not running.
Automatically start it in such a case.

Also, add a parameter "autostart" to the pulseaudio module to disable
this behaviour in case it causes issues.

see #108
2017-06-15 11:09:00 +02:00
Tobias Witek
7e45e797f1 [modules/cpu] Enforce minimum width
Set the minimum width of the CPU widget to 99.9% to avoid constant size
changes as the utilization fluctuates between one and two digit numbers.
2017-06-15 11:00:22 +02:00
Tobias Witek
e3f6642fcf Merge branch 'dnfm-master' 2017-06-15 07:49:12 +02:00
Tobias Witek
215bfd23df [modules/sensors] Remove unused imports and minor reformatting 2017-06-15 07:48:25 +02:00
Tobias Witek
df6e323fa4 Merge branch 'master' of git://github.com/dnfm/bumblebee-status into dnfm-master 2017-06-15 07:42:05 +02:00
Tobias Witek
56109e9637 [screenshots] Add getcrypto module 2017-06-15 07:38:52 +02:00
tobi-wan-kenobi
be26253463 Merge pull request #115 from Ryunaq/master
[Modules/getcrypto] Get crypto prices module
2017-06-15 07:37:18 +02:00
Fernando Chu
f635bed4d0 Changed _curprice to string 2017-06-14 14:31:31 -05:00