1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

desktop widgets: niri overview only option + grid on overlay when on

overview
This commit is contained in:
bbedward
2026-01-05 13:01:10 -05:00
parent 824792cca7
commit ef7d7ec13d
2 changed files with 27 additions and 3 deletions

View File

@@ -246,6 +246,23 @@ SettingsCard {
}
}
SettingsDivider {
visible: CompositorService.isNiri
}
SettingsToggleRow {
visible: CompositorService.isNiri
text: I18n.tr("Show on Overview Only")
checked: instanceData?.config?.showOnOverviewOnly ?? false
onToggled: isChecked => {
if (!root.instanceId)
return;
SettingsData.updateDesktopWidgetInstanceConfig(root.instanceId, {
showOnOverviewOnly: isChecked
});
}
}
SettingsDivider {}
Item {