diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-04-05 02:32:07 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-04-05 02:32:07 -0400 |
commit | e9dd1a8cebd4d870af0a6432edb10ec29244199b (patch) | |
tree | b7f77b338a0968214d5636ecaaa16b8e6c8fd1c2 /src/settings.hpp | |
parent | 02f7bfefe3185a38f8935b31c68857b986d709ac (diff) | |
download | abaddon-portaudio-e9dd1a8cebd4d870af0a6432edb10ec29244199b.tar.gz abaddon-portaudio-e9dd1a8cebd4d870af0a6432edb10ec29244199b.zip |
add runtime settings for notis
Diffstat (limited to 'src/settings.hpp')
-rw-r--r-- | src/settings.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/settings.hpp b/src/settings.hpp index 9d32d2e..53f3423 100644 --- a/src/settings.hpp +++ b/src/settings.hpp @@ -44,6 +44,14 @@ public: std::string MentionBadgeColor { "#b82525" }; std::string MentionBadgeTextColor { "#fbfbfb" }; std::string UnreadIndicatorColor { "#ffffff" }; + + // [notifications] +#ifdef _WIN32 + bool NotificationsEnabled { false }; +#else + bool NotificationsEnabled { true }; +#endif + bool NotificationsPlaySound { true }; }; SettingsManager(const std::string &filename); |