feat: add Linux support for Live Notifications toasts w/ libnotify (#5881)

This commit is contained in:
cmp
2025-02-08 13:06:48 -06:00
committed by GitHub
parent e4ae092b6f
commit 2656fd0d6b
15 changed files with 95 additions and 16 deletions
@@ -46,9 +46,11 @@ NotificationPage::NotificationPage()
settings.append(this->createCheckBox(
"Suppress live notifications on startup",
getSettings()->suppressInitialLiveNotification));
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN) || defined(CHATTERINO_WITH_LIBNOTIFY)
settings.append(this->createCheckBox(
"Show notification", getSettings()->notificationToast));
#endif
#ifdef Q_OS_WIN
auto openIn = settings.emplace<QHBoxLayout>().withoutMargin();
{
openIn