1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-09 15:08:31 -04:00

feat(settings): add option to suppress config reload toast (#2730) (#2915)

* feat(settings): add option to suppress config reload toast (#2730)

Add a toggle in Settings → Compositor Layout to disable the 'config reloaded' toast for Niri and MangoWC compositors. Session setting showConfigReloadToast defaults to true.

* chore: update settings search index for config reload toast

* refactor(settings): rename 'Compositor Notifications' to 'Compositor Toasts'

* fix(settings): reuse existing I18n.tr('Notifications') translation
This commit is contained in:
Huỳnh Thiện Lộc
2026-07-23 21:12:39 +07:00
committed by GitHub
parent 8188ced955
commit 5538913320
6 changed files with 69 additions and 3 deletions
@@ -9105,6 +9105,32 @@
],
"description": "Space between windows"
},
{
"section": "compositorNotifications",
"label": "Notifications",
"tabIndex": 37,
"category": "Personalization",
"keywords": [
"alert",
"alerts",
"appearance",
"compositor",
"config",
"custom",
"customize",
"notif",
"notifications",
"notifs",
"personal",
"personalization",
"reloaded",
"show",
"toast"
],
"icon": "notifications",
"description": "Show a toast when the compositor config is reloaded",
"conditionKey": "isNiri"
},
{
"section": "hyprlandLayoutGapsOutOverride",
"label": "Outer Gaps",
@@ -9316,6 +9342,26 @@
],
"description": "Resize windows by dragging their edges with the mouse"
},
{
"section": "showConfigReloadToast",
"label": "Show \\",
"tabIndex": 37,
"category": "Personalization",
"keywords": [
"appearance",
"compositor",
"config",
"custom",
"customize",
"personal",
"personalization",
"reload",
"reloaded",
"show",
"toast"
],
"description": "Show a toast when the compositor config is reloaded"
},
{
"section": "hyprlandLayoutRadiusOverride",
"label": "Window Corner Radius",