aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-06-21 18:34:48 +0200
committerdec05eba <dec05eba@protonmail.com>2021-06-21 18:35:29 +0200
commita573a3f1a30e3e06ef0ffb0731f6a6db3419cc42 (patch)
tree9219e437a27da6573e957b76f1281b49c56256be
parentb11c3abc93decfcf82140b92d83a1278bcc51375 (diff)
Disable blur for nord theme
-rw-r--r--README.md2
-rw-r--r--src/Theme.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index d416efb..1d75836 100644
--- a/README.md
+++ b/README.md
@@ -122,7 +122,7 @@ Type text and then wait and QuickMedia will automatically search.\
`/react [text]`: React to the selected message or if you are replying to message then it reacts to that message.
## Environment variables
Set `QM_PHONE_FACTOR=1` to disable the room list side panel in matrix.\
-Set `QM_THEME` to one of the following: `default` to change the theme.
+Set `QM_THEME` to one of the following: `default, nord` to change the theme.
## UI scaling
Either set the `GDK_SCALE` environment variable or add `Xft.dpi` to `$HOME/.Xresources` (`xrdb` which is part of the `xorg-xrdb` package needs to be installed).\
For example a value of 96 for the `Xft.dpi` means 1.0 scaling and 144 (96*1.5) means 1.5 scaling.\
diff --git a/src/Theme.cpp b/src/Theme.cpp
index f6fe9e5..63c1dc8 100644
--- a/src/Theme.cpp
+++ b/src/Theme.cpp
@@ -57,6 +57,7 @@ namespace QuickMedia {
themes[Theme::THEME_NORD].arrow_color = sf::Color(236, 239, 244);
themes[Theme::THEME_NORD].url_text_color = sf::Color(136, 192, 208);
themes[Theme::THEME_NORD].loading_page_color = sf::Color(229, 233, 240);
+ themes[Theme::THEME_NORD].blur_enabled = false;
}
void init_themes() {