Commit graph

1346 commits

Author SHA1 Message Date
tobi-wan-kenobi
63a14cb590 Merge branch 'master' into pep8 2017-06-05 10:56:28 +02:00
tobi-wan-kenobi
ac9c71cdb9 Merge pull request #107 from RobertSacks/publicip-region
[modules/publicip] Added 'region' and 'service' options
2017-06-05 10:55:04 +02:00
tobi-wan-kenobi
815a48f65d Merge pull request #105 from ibrokemypie/github-headers
[modules/github] Use header rather than url for token
2017-06-05 10:54:25 +02:00
ibrokemypie
b21a62e823
[modules/cpu] Linting 2017-06-05 18:27:51 +10:00
Robert Sacks
a167ac9381 [modules/publicip] Added option to use own ip retrieval service 2017-06-05 03:53:44 -04:00
Robert Sacks
c5a1555618 [modules/publicip] Added region option to publicip module and switched to 'requests' package 2017-06-05 03:30:23 -04:00
ibrokemypie
644c55292d
[modules/sensors] Linting
Un-import os, fix indentation
2017-06-05 12:56:39 +10:00
ibrokemypie
3317b6d2d8
[module/github] Linting
Removed some unused imports, fixed indentations, removed unused variables.
2017-06-05 12:56:37 +10:00
ibrokemypie
ae536ee70d
[modules/github] Use header for token
Doesnt allow sniffers to get the access token from url.
Closes #104
2017-06-05 12:42:02 +10:00
Tobias Witek
0bfb725ae0 [modules/traffic] Recreate widget list during each iteration
To avoid "stray" devices being kept in the list, empty the widgets list
during each iteration and re-populate it from the list of available
interfaces.

fixes #101
2017-06-03 15:26:00 +02:00
Tobias Witek
2d99bdf314 [modules/traffic] Allow for state filtering
The optional parameter "states" can now be used to filter which
interfaces to display. "^" can be used for negation.

For example, to only show "up" interfaces:

-p traffic.states=up

To show all interfaces not in "down" state:

-p traffic.states=^down

fixes #98
2017-06-03 15:20:27 +02:00
tobi-wan-kenobi
c4a3a9d6a4 Merge pull request #100 from ibrokemypie/patch-1
[themes/icons/awesome-fonts] Replace "Sensors" icon FA alt
2017-06-03 13:25:51 +02:00
Conor Randall
8a6f6a7635 [themes/icons/awesome-fonts] Replace "Sensors" icon with one included in FA
The current thermometer icon isn't actually included in fontawesome, requiring a user to install and find another font that does support it, such as symbola or nota-emoji
Since this is for font-awesome it would make sense to only require font-awesome.
2017-06-03 16:03:46 +10:00
tobi-wan-kenobi
eafe0a4038 Merge pull request #97 from ibrokemypie/cpu-rounding
[module/cpu] More useful rounding
2017-06-02 16:07:37 +02:00
ibrokemypie
277ea2f255 [module/cpu] More useful rounding
psutil.cpu_percent() only outputs to one decimal place anyway, so the trailing 0 is useless.
The prepended 0 is also not important, will only be not 0 at 100% utilization, so why not let it be 100% then and take up one less column otherwise?
2017-06-02 16:25:49 +10:00
brunosmmm
85ec7c4331 example usage of popup menu in the bluetooth module. 2017-06-01 20:25:40 -04:00
brunosmmm
2e152d1be4 simple popup menu implementation using tkinter 2017-06-01 20:23:18 -04:00
Tobias Witek
c75ad75920 [tests/module/disk] Adapt to new input parameters
Open application now defaults to xdg-open, replace with nautilus
manually.
2017-06-01 19:57:50 +02:00
tobi-wan-kenobi
3b1c28955d Merge pull request #95 from brunosmmm/disk-options
Disk options
2017-06-01 19:57:22 +02:00
brunosmmm
40d767ae6e added an option to select which file manager to open 2017-06-01 12:27:39 -04:00
Tobias Witek
b2fb438bef [doc] Add bluetooth module requirements 2017-06-01 18:27:03 +02:00
Tobias Witek
2e3336f55d [screenshots] Add bluetooth module 2017-06-01 18:24:56 +02:00
tobi-wan-kenobi
7410f96aa1 Merge pull request #94 from brunosmmm/bluetooth-plugin
Simple bluetooth module with toggling and status display
2017-06-01 18:23:39 +02:00
brunosmmm
d13ffcd9f7 added more options to the disk module 2017-06-01 12:21:10 -04:00
tobi-wan-kenobi
17e9bc2a09 Merge pull request #93 from ibrokemypie/ram-used
[modules/memory] Add parameter to only show used memory
2017-06-01 18:21:06 +02:00
brunosmmm
185690f030 Simple bluetooth module with toggling and status display 2017-06-01 12:12:49 -04:00
ibrokemypie
7527cfcb48 [modules/memory] Add parameter to only show used memory
No change to default behaviour, but adds boolean to only display used rather than used, total and percentage.

To only show used  memory:
-p memory.usedonly=1
2017-06-02 00:29:09 +10:00
tobi-wan-kenobi
0e5ff2956b Merge pull request #92 from RobertSacks/master
[modules/publicip] Add module to show current public IP address
2017-05-30 11:52:53 +02:00
Robert Sacks
c57ddc48fe Removed unwanted comments in publicip module 2017-05-30 04:49:58 -04:00
Robert Sacks
892f78e42b Added prefix icon to publicip 2017-05-30 04:34:28 -04:00
Robert Sacks
d98a998c2a Added publicip module 2017-05-30 04:33:53 -04:00
Tobias Witek
3113c9a4d3 [screenshots] New and updated: spotify and github 2017-05-27 13:31:53 +02:00
Tobias Witek
bbe43dccf4 [modules/spotify] More generic error handling
OK - I admit it: Mostly for the benefit of Travis and automated testing,
which complains about the DBusException, move to a more generic
exception.

However, this is probably a good idea anyhow, because independently of
the error, setting the song to an empty string is probably the best bet.
2017-05-27 13:29:08 +02:00
tobi-wan-kenobi
764ab2e199 Merge pull request #90 from yvesh/iconsGhSpotify
[themes] Added icons for GitHub and Spotify
2017-05-27 13:16:09 +02:00
tobi-wan-kenobi
3fdfc7b272 Merge pull request #88 from yvesh/spotifymodule
[modules/spotify] Add rudimentary spotify currently playing module
2017-05-27 13:15:56 +02:00
Yves Hoppe
e3e0cfa912
[themes] Added icons for GitHub and Spotify 2017-05-27 12:48:02 +02:00
tobi-wan-kenobi
27a06fc666 Merge pull request #87 from alrayyes/mpd
Mpd widget
2017-05-27 11:29:18 +02:00
tobi-wan-kenobi
8fba2f1809 Merge pull request #89 from yvesh/dontdrawwidgetwhenempty
[Output] Only draw widget when full text is not empty
2017-05-27 11:27:04 +02:00
Yves Hoppe
ec2b39f04c
[Output] Only draw widget when full text is not empty 2017-05-26 21:36:01 +02:00
Yves Hoppe
cffd2b8609
handling closed spotify better 2017-05-26 21:33:58 +02:00
Yves Hoppe
c3789a1399
[modules/spotify] Add rudimentary spotify currently playing module 2017-05-26 21:14:05 +02:00
Ryan
2a93e0109e cropped widget properly 2017-05-26 19:50:59 +02:00
Ryan
49f9cc90bc added mpd support 2017-05-26 19:48:23 +02:00
Tobias Witek
541b6e68c2 Merge branch 'yvesh-githubunread' 2017-05-26 16:33:13 +02:00
Tobias Witek
6c6434cefd [screenshots] Added github module screenshot 2017-05-26 16:32:38 +02:00
Tobias Witek
710342d7d4 [modules/github] Minor refactoring
* Use requests library instead of curl
* Exactly parse the github API responses
* Return a string value in order to pass unit tests

see #86
2017-05-26 13:32:47 +02:00
Yves Hoppe
320b4b466e
Plugin description 2017-05-26 11:11:58 +02:00
Yves Hoppe
99080e7ac3
[modules/github] Add rudimentary GitHub unread messages module 2017-05-26 11:06:20 +02:00
Tobias Witek
27f5091ae3 [modules/nic] Add parameter to filter by state
Allow the user to filter the state of devices that should be displayed.
It's possible to use both white- and blacklists (and combinations).

For example, to only show devices in state "up":
-p nic.states=up

To only show devices that are not down:
-p nic.states=^down

fixes #84
2017-05-22 18:09:00 +02:00
tobi-wan-kenobi
15db0c7756 Merge pull request #83 from Majora320/master
Fixed the bug of `ping.interval` raising an exception with any value
2017-05-16 08:18:44 +02:00