diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-07-07 20:57:29 +0200 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-07-07 20:57:29 +0200 |
commit | df9d9f990ae97904f01af3b710042713d31da7f6 (patch) | |
tree | 6f38cce9f38a088b99cdaaf7d69de0ef2db4c54d /gui/qml/main.qml | |
parent | 39eb4a176ef2fe52247db4ca551fc0f945ffa2ae (diff) |
[ux] customize background for calyxvpn
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r-- | gui/qml/main.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml index e12c61d..b30fa0a 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -276,6 +276,14 @@ ApplicationWindow { allowEmptyPass = Logic.shouldAllowEmptyPass(providers) needsRestart = false; shownDonate = false; + + /* this is a temporary workaround until general GUI revamp for 0.21.8 */ + let provider = Logic.getSelectedProvider(providers); + if (provider == "calyx") { + background.backgroundVisible = false; + background.color = "#8EA844"; + } + if (!systrayAvailable) { app.visible = true app.raise() |