From cb0c9875316de636d52d396c5e04fe6388041fd0 Mon Sep 17 00:00:00 2001 From: Bernhard B Date: Fri, 1 May 2020 08:51:05 +0200 Subject: [PATCH 1/2] [modules/vpn] fixed typo in vpn module * due to a typo in the vpn module it wasn't possible anymore to disconnect an established vpn connection. --- modules/contrib/vpn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/contrib/vpn.py b/modules/contrib/vpn.py index 6f64792..c403487 100644 --- a/modules/contrib/vpn.py +++ b/modules/contrib/vpn.py @@ -71,7 +71,7 @@ class Module(core.module.Module): def __on_vpndisconnect(self): try: - util.lci.execute('nmcli c down \'{vpn}\'' + util.cli.execute('nmcli c down \'{vpn}\'' .format(vpn=self.__connected_vpn_profile)) self.__connected_vpn_profile = None except Exception as e: From e7466292d260ca6a83acc71a2b876b7802aae871 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 1 May 2020 13:36:28 +0200 Subject: [PATCH 2/2] Added a new theme and missing icons --- themes/iceberg-contrast.json | 60 +++++++++++++++++++++++++++++++++ themes/icons/awesome-fonts.json | 6 ++++ 2 files changed, 66 insertions(+) create mode 100644 themes/iceberg-contrast.json diff --git a/themes/iceberg-contrast.json b/themes/iceberg-contrast.json new file mode 100644 index 0000000..cf2864a --- /dev/null +++ b/themes/iceberg-contrast.json @@ -0,0 +1,60 @@ +{ + "icons": [ "awesome-fonts" ], + "defaults": { + "separator-block-width": 0, + "separator": "", + "warning": { + "fg": "#282A36", + "bg": "#E5C07B" + }, + "critical": { + "fg": "#282A36", + "bg": "#FF5555" + }, + "fg": "#EFEFEF", + "bg": "#161821" + }, + "dnf": { + "good": { + "fg": "#0f1117", + "bg": "#b4be82" + } + }, + "apt": { + "good": { + "fg": "#0f1117", + "bg": "#b4be82" + } + }, + "pacman": { + "good": { + "fg": "#0f1117", + "bg": "#b4be82" + } + }, + "battery": { + "charged": { + "fg": "#b4be82", + "bg": "#161821" + }, + "charging": { + "fg": "#89b8c2", + "bg": "#161821" + } + }, + "pomodoro": { + "paused": { + "fg": "#0f1117", + "bg": "#e2a478" + }, + "work": { + "fg": "#1d2021", + "bg": "#b8bb26" + }, + "break": { + "fg": "#89b8c2", + "bg": "#161821" + } + } + +} diff --git a/themes/icons/awesome-fonts.json b/themes/icons/awesome-fonts.json index 8c6688c..a7fc670 100644 --- a/themes/icons/awesome-fonts.json +++ b/themes/icons/awesome-fonts.json @@ -20,6 +20,7 @@ "fan": { "prefix": "" } }, "disk": { "prefix": "" }, + "smartstatus": { "prefix": "" }, "dnf": { "prefix": "" }, "apt": { "prefix": "" }, "pacman": { "prefix": "" }, @@ -90,6 +91,11 @@ "OFF": { "prefix": "" }, "?": { "prefix": "" } }, + "bluetooth2": { + "ON": { "prefix": "" }, + "warning": { "prefix": "" }, + "critical": { "prefix": "" } + }, "battery-upower": { "charged": { "prefix": "", "suffix": "" }, "AC": { "suffix": "" },