1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42:50 -05:00

launcher: add sort by alphabetically option

sounds: convert files to wav
This commit is contained in:
bbedward
2025-10-14 11:08:52 -04:00
parent 6d0fba1905
commit 8aff381676
10 changed files with 122 additions and 15 deletions

View File

@@ -97,6 +97,7 @@ Singleton {
property alias dankBarRightWidgetsModel: rightWidgetsModel
property string appLauncherViewMode: "list"
property string spotlightModalViewMode: "list"
property bool sortAppsAlphabetically: false
property string networkPreference: "auto"
property string iconTheme: "System Default"
property var availableIconThemes: ["System Default"]
@@ -376,6 +377,7 @@ Singleton {
}
appLauncherViewMode = settings.appLauncherViewMode !== undefined ? settings.appLauncherViewMode : "list"
spotlightModalViewMode = settings.spotlightModalViewMode !== undefined ? settings.spotlightModalViewMode : "list"
sortAppsAlphabetically = settings.sortAppsAlphabetically !== undefined ? settings.sortAppsAlphabetically : false
networkPreference = settings.networkPreference !== undefined ? settings.networkPreference : "auto"
iconTheme = settings.iconTheme !== undefined ? settings.iconTheme : "System Default"
if (settings.useOSLogo !== undefined) {
@@ -529,6 +531,7 @@ Singleton {
"dankBarRightWidgets": dankBarRightWidgets,
"appLauncherViewMode": appLauncherViewMode,
"spotlightModalViewMode": spotlightModalViewMode,
"sortAppsAlphabetically": sortAppsAlphabetically,
"networkPreference": networkPreference,
"iconTheme": iconTheme,
"launcherLogoMode": launcherLogoMode,
@@ -1009,6 +1012,11 @@ Singleton {
saveSettings()
}
function setSortAppsAlphabetically(enabled) {
sortAppsAlphabetically = enabled
saveSettings()
}
// Weather location setter
function setWeatherLocation(displayName, coordinates) {
weatherLocation = displayName