Commit graph

746 commits

Author SHA1 Message Date
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
Fernando Chu
82af91f737 Forgot to change the left-click interaction 2017-06-14 12:00:51 -05:00
Ryunaq
8d842eb043 [modules/getcrypto] Get crypto prices module
Extremely niche module that will probably never be used for getting the price of BTC, ETH and/or LTC from Kraken.
2017-06-14 11:30:48 -05:00
Ryunaq
2d3b153f0c [modules/getcrypto] Get crypto prices module
A module for getting the prices of BTC, ETH and/or LTC from Kraken.
2017-06-14 11:26:04 -05:00
Justin Wheeler
29f3e7b515 Add weather icons.
Add icons to the weather output to show condition to go with current
temperature.
2017-06-12 22:26:33 -04:00
Justin Wheeler
5d89c3dfc1 Fix icons.
The moon icon seems to make more sense for night time.
Add a datetime icon so you get a clock when using datetime.
Change the CPU icon to the microchip character.
2017-06-12 22:25:10 -04:00
Justin Wheeler
e93e1120f7 Show CPU MHz in sensors output.
This may need some tweaking (specifically parameters settings) to show
at what speed your CPU is running when showing sensors output.
2017-06-12 22:19:30 -04:00
Justin Wheeler
2b5c85cb8c Add packet loss to ping.
Show packet loss in ping response.
2017-06-12 22:18:49 -04:00
Tobias Witek
13d4c493a3 [README] Add contributor attribution 2017-06-12 19:00:17 +02:00
Tobias Witek
8c085ecb97 Merge branch 'chrugi-master' 2017-06-12 18:50:36 +02:00
Tobias Witek
82d8cf1370 [modules/mocp] Initialize variables 2017-06-12 18:50:08 +02:00
Chrugi
6fd168993f Added Module for mocp (Music On Console Player)
This Module Displays the Status, Song, Artist and Time of the current song played or paused in mocp.
Clicking the Modules toggles play/pause.
I'm no programmer so alteration and feedback is welcome.
Best regards, Chrugi
2017-06-12 15:06:56 +02:00
Tobias Witek
3e7f7334cf [doc] Added nvidia-smi dependency for nvidiagpu module 2017-06-11 14:45:14 +02:00
Tobias Witek
dfc8e23f08 Merge branch 'RileyRedpath-gpu_module' 2017-06-11 14:44:33 +02:00
Tobias Witek
37f3a11f68 [modules/nvidiagpu] Added docstring 2017-06-11 14:43:59 +02:00
Riley Redpath
06c85b4dc4 Added nvidiagpu module, which parses nvidia-smi to get the gpu name, temperature and vram usage. 2017-06-10 15:33:53 -05:00
Tobias Witek
7d13268f66 [engine] Report current module when error occurs
Keep track of the latest updated module in the engine part, so that the
module causing an exception can be reported correctly.

fixes #110
2017-06-10 14:08:49 +02:00
Tobias Witek
dc06611fb1 [modules] weather & github: Protect against missing data
If data cannot be retrieved for some reason (be pretty generous about
that by catching generic exceptions), instead of terminating the whole
status bar, simply report unknown data.

see #110
2017-06-10 13:59:44 +02:00
Tobias Witek
b89e384b20 [modules/pulseaudio] Ignore errors when starting pulseaudio daemon
This does not really solve the issue indicated in the ticket, but at
least it should leave the user with a working bar.

see #108
2017-06-09 11:01:25 +02:00
Tobias Witek
2eff6b4933 [modules/pulseaudio] Start pulseaudio daemon, if not running
Since the module requires the pulseaudio daemon to be running, in order
to query system information such as the default source/sink and the
current volume, start the daemon, if necessary.

fixes #108
2017-06-06 10:49:33 +02:00
Tobias Witek
d48e661d97 [modules/traffic] Fix delta calculation
A previous commit broke the traffic module by deleting widgets during
each iteration. This is fatal as the widgets contain the traffic
information from the previous iteration, for delta calculation.

Store previous traffic data in the module itself instead.
2017-06-05 15:06:56 +02:00
Tobias Witek
937e61a863 [modules/pulseaudio] Localization independence
In order to (hopefully) achieve localization independence, switch from
using pactl for retrieving pulseaudio information to pacmd, which seems
to be unaffected by the LANG environment variable.

fixes #103
2017-06-05 15:01:10 +02:00
tobi-wan-kenobi
c31015c296 Merge pull request #106 from ibrokemypie/pep8
[WIP] Pep8 Linting
2017-06-05 10:57:15 +02:00