From 682dcc775a02222aa9c08784490dfee908891159 Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Sun, 1 Apr 2018 19:39:14 +0200 Subject: [PATCH 1/2] [modules/traffic] Add parameter to hide down networks --- bumblebee/modules/traffic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bumblebee/modules/traffic.py b/bumblebee/modules/traffic.py index a87ece5..218d64d 100644 --- a/bumblebee/modules/traffic.py +++ b/bumblebee/modules/traffic.py @@ -76,6 +76,8 @@ class Module(bumblebee.engine.Module): state = "down" if len(self.get_addresses(interface)) > 0: state = "up" + elif bumblebee.util.asbool(self.parameter("hide_down", True)): + continue if len(self._states["exclude"]) > 0 and state in self._states["exclude"]: continue if len(self._states["include"]) > 0 and state not in self._states["include"]: continue From 1999ba532d0fe884ba3654d7e23cb89b07d8c99d Mon Sep 17 00:00:00 2001 From: Pavle Portic Date: Sun, 1 Apr 2018 19:45:56 +0200 Subject: [PATCH 2/2] [readme] Update username for paxy97 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a4b5bf..acc4bac 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Here are some screenshots for all themes that currently exist: :exclamation: Some themes (all 'Powerline' themes) require [Font Awesome](http://fontawesome.io/) and a powerline-compatible font ([powerline-fonts](https://github.com/powerline/fonts), for example) to display all icons correctly. -Gruvbox Powerline (`-t gruvbox-powerline`) (contributed by [@paxy97](https://github.com/paxy97)): +Gruvbox Powerline (`-t gruvbox-powerline`) (contributed by [@TheEdgeOfRage](https://github.com/TheEdgeOfRage)): ![Gruvbox Powerline](https://github.com/tobi-wan-kenobi/bumblebee-status/blob/master/screenshots/themes/powerline-gruvbox.png)