Ryan
49f9cc90bc
added mpd support
2017-05-26 19:48:23 +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
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
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
ba38a9d4a0
Added a currencies parameter to the stock ticker.
2017-05-10 15:38:44 -04: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
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
Tobias Witek
2e5ea91291
Merge branch 'meain-traffic'
2017-04-23 07:18:15 +02:00
Tobias Witek
30bdab2767
[modules/traffic] Make traffic icons prefixes again
...
For consistent look, make the traffic icons prefixes, and change the
alignment to left again, in order to avoid "jumping" of the icons.
2017-04-23 07:15:30 +02:00
Tobias Witek
434473c875
[general] Minor edit: Move from "theme-" to "theme." prefix
...
Thinking about it, I find domain delimitors using "." more intuitive
than "-", so fix that.
2017-04-22 13:11:59 +02:00
Tobias Witek
1670890491
[modules/cmus] Make text description scrollable
...
Since the description of a song can get pretty lengthy, make it
scrollable.
fixes #27
2017-04-22 13:10:13 +02:00
Tobias Witek
547910611c
[modules/traffic] fix docstring location
2017-04-22 11:10:01 +02:00
Tobias Witek
e6357f4c90
[modules/traffic] Add alignment and minimum width
...
Set the minimum width for uplink and downlink widgets to "down 1000MB",
which should be plenty, and change alignment to right (personally, I
find this looks nicer).
To not have the icons on the left side "jump around" depending on the
value, make them suffixes.
If this solution is not sufficient, alternatively, the widget itself
could perform value padding. In that case, the whole alignment and
min-width settings would be obsolete and the icons could remain on the
left side.
2017-04-22 08:26:28 +02:00
Tobias Witek
430c9f5e93
[modules/traffic] Minor refactoring
...
* use psutil instead of "ifconfig" in order to avoid external command
calls
* fix a small bug in the ascii theme (missing colon)
* show statistics per-nic
2017-04-22 08:11:55 +02:00
Tobias Witek
16359c883b
Merge branch 'traffic' of git://github.com/meain/bumblebee-status into meain-traffic
2017-04-22 07:45:22 +02:00
Abin Simon
bc26cd5dd6
basic exception handling
2017-04-21 14:52:19 +05:30
Abin Simon
a8693dcada
seperate up and down speeds for traffic widget
2017-04-21 11:40:02 +05:30
Abin Simon
ed3d9bd595
remove interface name from traffic
2017-04-21 10:52:41 +05:30
tobi-wan-kenobi
7153c5fa0d
Merge pull request #68 from meain/remove-unused
...
Remove unused variable in battery module
2017-04-21 07:21:13 +02:00
Abin Simon
14943a69cb
traffic module added
2017-04-21 10:46:16 +05:30
Abin Simon
243e4b326c
remove unused variable
2017-04-21 08:32:06 +05:30
mike-work
b1ce9645ac
Remove decimal places for sensors.
2017-04-20 23:18:11 +01:00
Tobias Witek
2052f58dde
[modules/sensors] Minor cosmetic changes + screenshot
...
Cosmetic changes:
* replace all single ticks with double ticks
* add vim line
Added screenshot for sensors module.
2017-04-19 18:53:45 +02:00
mike-work
3d50024e5f
Create sensors module.
2017-04-19 12:36:35 +01:00
Tobias Witek
e5db3d825d
[modules/cmus] Declare file encoding
...
This seems to fix #51
2017-04-02 08:58:12 +02:00
Tobias Witek
251f8d2e9f
[core] Add debugging capabilities
...
* If an exception is thrown, catch it and show a (somewhat) nice error
message in the i3bar instead of the normal content
* Add a flag "-d" for debugging into a debug log. Currently, this only
logs commandline calls as they occur and their return values, as well
as exceptions.
fixes #58
2017-04-02 08:31:23 +02:00
Tobias Witek
11235d6883
[modules/weather] Set indicator to "?" when data is invalid
...
If retrieving weather information fails, replace the temperature data
with a "?".
fixes #60
2017-04-01 16:53:39 +02:00
Michal Siedlaczek
d826e250c8
Catch RequestException when fetching weather
2017-04-01 09:23:32 -04:00
Tobias Witek
f0bacdecd8
[modules/xrandr] Fix a crash caused by Python3
...
Python3 does not have sys.maxint anymore, so replace it with
sys.maxsize, which is available in both Python2 and Python3.
fixes #59
2017-03-28 19:08:17 +02:00
Chris LaRose
fe11bad826
Silence ImportErrors for optional dependencies. Fixes #55 .
2017-03-25 18:35:56 -07:00
zetxx
289b42b26a
fix: state, check regex result before use it
2017-03-15 23:12:55 +02:00
zetxx
0b961e2304
fix: init type
2017-03-15 23:02:13 +02:00
zetxx
69e4780182
feat: added volume level for amixer
2017-03-15 22:55:05 +02:00
Yashar Shahi
c203cd6173
[modules/pacman] Update url filtering
...
Arch mirrors can also have rsync protocol
2017-03-10 21:18:34 +03:30
Yashar Shahi
e2fcbfae4f
[modules/pacman] Remove extra debugging raise
2017-03-10 20:02:28 +03:30
Yashar Shahi
82ce0ac834
[modules/pacman] Set thresholds
...
Compute weighted sum and set thresholds accordingly
2017-03-10 19:53:52 +03:30
Yashar Shahi
b9a4b590a4
[modules/pacman] Update list of repositories
2017-03-10 19:09:31 +03:30
Yashar Shahi
50d7a27487
Bug fix: pacman.py freezes the bar
...
Move update in a seperate thread.
2017-03-10 18:51:30 +03:30
yashar-sb-sb
88e3b8c146
Update pacman.py
...
Use widget to store parameters instead of using private variables.
2017-03-10 16:22:54 +03:30
Tobi-wan Kenobi
16c202a7ed
[modules/disk] Remove stray unicode character in output
2017-03-10 08:17:43 +01:00
yashar-sb-sb
422348e01d
Update diskspace()
...
Delete extra space! (looks better without the extra space. and now it's consistent with other widgets.)
2017-03-09 23:41:55 +03:30
yashar-sb-sb
3f96102b28
Update diskspace()
...
Add hdd icon.
2017-03-09 23:38:31 +03:30
yashar-sb-sb
dfb5bfe71c
Update comment
...
Re-add the comment which was deleted by mistake.
2017-03-09 22:51:28 +03:30
yashar-sb-sb
9efca45b02
Update update()
...
Fix the issue with computation of used space.
2017-03-09 22:37:41 +03:30