Commit graph

524 commits

Author SHA1 Message Date
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
Moses Miller
84d4e87fbf
Fixed the bug of ping.interval raising an exception with any value 2017-05-15 20:57:24 -07:00
Tobias Witek
9b0c9a49e8 [core] Cleanly abort on ctrl+c
During debugging, being able to cleanly (i.e. without backtrace) exit
using ctrl+c is a very welcome functionality :)
2017-05-13 20:28:11 +02:00
Tobias Witek
f03eada002 [travis] Try to pin coverage to 4.3 for code climate
Try to make the code climate test reporter happy by pinning coverage.py
to 4.3
2017-05-13 16:58:43 +02:00
tobi-wan-kenobi
ec7b5f26d4 Merge pull request #81 from thunderstruck47/master
Don't rely on platform specific encoding for Python 3
2017-05-13 16:51:58 +02:00
thunderstruck47
50330e38d1 using io.open, instead of open (python 2.6/2.7) 2017-05-13 17:41:43 +03:00
thunderstruck47
8d4db0282f explicity encoding only for Python 3 2017-05-13 17:16:34 +03:00
thunderstruck47
bfa06cead1 dont rely on platform specific encoding 2017-05-13 16:36:25 +03:00
Tobias Witek
fe91d5bc78 Merge branch 'msoulier-master' 2017-05-11 19:46:35 +02:00
Tobias Witek
12a3aa5456 [modules/stock] Modify symbol decoding for Python3 compatibility
In Python3, string doesn't have a "decode" method. I will need to find a
proper fix for this, but for now, the workaround seems to do the trick.
2017-05-11 19:43:59 +02:00
Michael P. Soulier
c73a3cfa34 Merge remote-tracking branch 'tobi-wan-kenobi/master' 2017-05-10 15:46:57 -04:00
Michael P. Soulier
ba38a9d4a0 Added a currencies parameter to the stock ticker. 2017-05-10 15:38:44 -04:00
Tobias Witek
fdcc908d83 [core] Use class theme, if no specific module theme matches
For modules that use aliases, until now, *only* the alias theme was
considered. This is typically a bad idea (tm), as the "generic" case is
that of a module theme (e.g. "disk", not that of a theme per instance of
the module (i.e. "home", "root", etc.)).

Therefore, introduce the concept of a "class" theme that can be
optionall overridden by a specific module theme.

As a pleasant side-effect, this should bring back the disk icons for all
instances of the disk module :)

fixes #79
2017-05-10 20:01:29 +02:00
Tobias Witek
86dad7436e [screenshots] Add stock.png 2017-05-09 20:45:01 +02:00
tobi-wan-kenobi
d03f366dfb Merge pull request #77 from msoulier/master
Adding simple stock ticker.
2017-05-09 20:37:26 +02:00
Michael P. Soulier
b4576e846f Adding simple stock ticker. 2017-05-09 13:23:18 -04:00
Tobias Witek
f52702fbb5 [modules/traffic] Refactor code for simplicity
Try to reduce code duplication by having a helper function that creates
the traffic widgets and do widget generation more generically.
2017-05-05 20:58:15 +02:00
Tobias Witek
ea7227dc53 [core] Convert command output to utf-8
Instead of fixing encoding in every individual module (cmus, gpmdp, ...)
perform decoding to utf-8 directly in the core.

(hopefully) fixes #74
2017-04-26 07:51:11 +02:00
Tobias Witek
94c72a1e6a [tests] Fix failing test for i3bar protocol 2017-04-26 07:50:27 +02:00
Tobias Witek
02f3559734 [input] Terminate i3 protocol header with newline
According to https://i3wm.org/docs/i3bar-protocol.html, the header block
needs to be terminated by a newline.

fixes #76
2017-04-26 07:37:47 +02:00
tobi-wan-kenobi
fc516102b8 Merge pull request #75 from graynk/master
fix for non-latin symbols in GPM module
2017-04-24 20:24:11 +02:00
graynk
0dfa80fc7a fix should work for Python 2 and 3 2017-04-24 23:18:15 +05:00
graynk
612c3605b5 fix for non-latin symbols in GPM module 2017-04-24 22:12:00 +05:00