mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-15 15:54:00 -04:00
41 lines
1.3 KiB
QML
41 lines
1.3 KiB
QML
import QtQuick
|
|
import qs.Common
|
|
import qs.Modules.Settings.Widgets
|
|
|
|
Column {
|
|
id: root
|
|
|
|
property var page: null
|
|
|
|
width: parent?.width ?? 0
|
|
spacing: Theme.spacingL
|
|
|
|
SettingsCard {
|
|
settingKey: "barWidgetRunningApps"
|
|
|
|
SettingsToggleRow {
|
|
text: I18n.tr("Compact mode")
|
|
checked: root.page.value("runningAppsCompactMode")
|
|
onToggled: checked => root.page.set("runningAppsCompactMode", checked)
|
|
}
|
|
|
|
SettingsToggleRow {
|
|
text: I18n.tr("Group by app")
|
|
checked: root.page.value("runningAppsGroupByApp")
|
|
onToggled: checked => root.page.set("runningAppsGroupByApp", checked)
|
|
}
|
|
|
|
SettingsToggleRow {
|
|
text: I18n.tr("Current workspace", "Running apps filter: only show apps from the active workspace")
|
|
checked: root.page.value("runningAppsCurrentWorkspace")
|
|
onToggled: checked => root.page.set("runningAppsCurrentWorkspace", checked)
|
|
}
|
|
|
|
SettingsToggleRow {
|
|
text: I18n.tr("Current display", "Running apps filter: only show apps from the same monitor")
|
|
checked: root.page.value("runningAppsCurrentMonitor")
|
|
onToggled: checked => root.page.set("runningAppsCurrentMonitor", checked)
|
|
}
|
|
}
|
|
}
|