mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-27 23:12:49 -05:00
feat: Dock overflow & New setting options
This commit is contained in:
@@ -162,6 +162,39 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SettingsSliderRow {
|
||||
settingKey: "dockMaxVisibleApps"
|
||||
tags: ["dock", "overflow", "max", "apps", "limit"]
|
||||
text: I18n.tr("Max Number of Pinned Apps Before Overflow")
|
||||
minimum: 3
|
||||
maximum: 20
|
||||
value: SettingsData.dockMaxVisibleApps
|
||||
defaultValue: 10
|
||||
unit: ""
|
||||
onSliderValueChanged: newValue => SettingsData.set("dockMaxVisibleApps", newValue)
|
||||
}
|
||||
|
||||
SettingsSliderRow {
|
||||
settingKey: "dockMaxVisibleRunningApps"
|
||||
tags: ["dock", "overflow", "max", "running", "apps", "limit"]
|
||||
text: I18n.tr("Max Open Running Apps Before Overflow")
|
||||
minimum: 0
|
||||
maximum: 20
|
||||
value: SettingsData.dockMaxVisibleRunningApps
|
||||
defaultValue: 10
|
||||
unit: ""
|
||||
onSliderValueChanged: newValue => SettingsData.set("dockMaxVisibleRunningApps", newValue)
|
||||
}
|
||||
|
||||
SettingsToggleRow {
|
||||
settingKey: "dockShowOverflowBadge"
|
||||
tags: ["dock", "overflow", "badge", "count", "indicator"]
|
||||
text: I18n.tr("Show Overflow Badge Count")
|
||||
description: I18n.tr("Display a badge with the number of apps in overflow")
|
||||
checked: SettingsData.dockShowOverflowBadge
|
||||
onToggled: checked => SettingsData.set("dockShowOverflowBadge", checked)
|
||||
}
|
||||
}
|
||||
|
||||
SettingsCard {
|
||||
|
||||
Reference in New Issue
Block a user