Settings: completed migration of old settings on startup

This commit is contained in:
LemmyCook 2025-09-07 22:55:28 -04:00
parent 517c7c97d4
commit 5a1231a17e
4 changed files with 83 additions and 50 deletions

View file

@ -38,17 +38,6 @@ Singleton {
})
property var widgetMetadata: ({
"CustomButton": {
"allowUserSettings": true,
"icon": "favorite",
"leftClickExec": "",
"rightClickExec": "",
"middleClickExec": ""
},
"Spacer": {
"allowUserSettings": true,
"width": 20
},
"ActiveWindow": {
"allowUserSettings": true,
"showIcon": true
@ -58,6 +47,37 @@ Singleton {
"alwaysShowPercentage": false,
"warningThreshold": 30
},
"Brightness": {
"allowUserSettings": true,
"alwaysShowPercentage": false
},
"Clock": {
"allowUserSettings": true,
"showDate": false,
"use12HourClock": false,
"showSeconds": false,
"reverseDayMonth": true
},
"CustomButton": {
"allowUserSettings": true,
"icon": "favorite",
"leftClickExec": "",
"rightClickExec": "",
"middleClickExec": ""
},
"Microphone": {
"allowUserSettings": true,
"alwaysShowPercentage": false
},
"NotificationHistory": {
"allowUserSettings": true,
"showUnreadBadge": true,
"hideWhenZero": false
},
"Spacer": {
"allowUserSettings": true,
"width": 20
},
"SystemMonitor": {
"allowUserSettings": true,
"showCpuUsage": true,
@ -75,33 +95,13 @@ Singleton {
"showVisualizer": false,
"visualizerType": "linear"
},
"Clock": {
"allowUserSettings": true,
"showDate": false,
"use12HourClock": false,
"showSeconds": false,
"reverseDayMonth": true
},
"Volume": {
"allowUserSettings": true,
"alwaysShowPercentage": false
},
"Microphone": {
"allowUserSettings": true,
"alwaysShowPercentage": false
},
"Brightness": {
"allowUserSettings": true,
"alwaysShowPercentage": false
},
"SidePanelToggle": {
"allowUserSettings": true,
"useDistroLogo": false
},
"NotificationHistory": {
"Volume": {
"allowUserSettings": true,
"showUnreadBadge": true,
"hideWhenZero": false
"alwaysShowPercentage": false
}
})