mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-08-05 04:58:30 -04:00
display config: persist applied layout to auto profile and skip no-op re-apply on startup
related #2526
This commit is contained in:
@@ -8,14 +8,14 @@ PluginSettings {
|
||||
|
||||
SelectionSetting {
|
||||
settingKey: "clockStyle"
|
||||
label: I18n.tr("Clock Style")
|
||||
label: "Clock Style"
|
||||
options: [
|
||||
{
|
||||
label: I18n.tr("Analog"),
|
||||
label: "Analog",
|
||||
value: "analog"
|
||||
},
|
||||
{
|
||||
label: I18n.tr("Digital"),
|
||||
label: "Digital",
|
||||
value: "digital"
|
||||
}
|
||||
]
|
||||
@@ -24,19 +24,19 @@ PluginSettings {
|
||||
|
||||
ToggleSetting {
|
||||
settingKey: "showSeconds"
|
||||
label: I18n.tr("Show Seconds")
|
||||
label: "Show Seconds"
|
||||
defaultValue: true
|
||||
}
|
||||
|
||||
ToggleSetting {
|
||||
settingKey: "showDate"
|
||||
label: I18n.tr("Show Date")
|
||||
label: "Show Date"
|
||||
defaultValue: true
|
||||
}
|
||||
|
||||
SliderSetting {
|
||||
settingKey: "backgroundOpacity"
|
||||
label: I18n.tr("Background Opacity")
|
||||
label: "Background Opacity"
|
||||
defaultValue: 50
|
||||
minimum: 0
|
||||
maximum: 100
|
||||
|
||||
@@ -14,8 +14,8 @@ QtObject {
|
||||
return;
|
||||
}
|
||||
done({
|
||||
"title": I18n.tr("boregard is required"),
|
||||
"details": I18n.tr("The 'boregard' tool is not installed or not on your PATH.\n\nInstall it from https://danklinux.com, then re-enable this plugin.")
|
||||
"title": "boregard is required",
|
||||
"details": "The 'boregard' tool is not installed or not on your PATH.\n\nInstall it from https://danklinux.com, then re-enable this plugin."
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user