mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
Remove obsolete setting
This commit is contained in:
@@ -447,8 +447,7 @@ Singleton {
|
|||||||
if (typeof Theme !== "undefined" && typeof Quickshell !== "undefined") {
|
if (typeof Theme !== "undefined" && typeof Quickshell !== "undefined") {
|
||||||
var screens = Quickshell.screens
|
var screens = Quickshell.screens
|
||||||
if (screens.length > 0 && screenName === screens[0].name) {
|
if (screens.length > 0 && screenName === screens[0].name) {
|
||||||
if (typeof SettingsData !== "undefined" && SettingsData.wallpaperDynamicTheming) {
|
if (Theme.currentTheme === Theme.dynamic) {
|
||||||
Theme.switchTheme("dynamic")
|
|
||||||
Theme.extractColors()
|
Theme.extractColors()
|
||||||
}
|
}
|
||||||
Theme.generateSystemThemesFromCurrentTheme()
|
Theme.generateSystemThemesFromCurrentTheme()
|
||||||
|
|||||||
@@ -88,7 +88,6 @@ Singleton {
|
|||||||
property string osLogoColorOverride: ""
|
property string osLogoColorOverride: ""
|
||||||
property real osLogoBrightness: 0.5
|
property real osLogoBrightness: 0.5
|
||||||
property real osLogoContrast: 1
|
property real osLogoContrast: 1
|
||||||
property bool wallpaperDynamicTheming: true
|
|
||||||
property bool weatherEnabled: true
|
property bool weatherEnabled: true
|
||||||
property string fontFamily: "Inter Variable"
|
property string fontFamily: "Inter Variable"
|
||||||
property string monoFontFamily: "Fira Code"
|
property string monoFontFamily: "Fira Code"
|
||||||
@@ -291,7 +290,6 @@ Singleton {
|
|||||||
osLogoColorOverride = settings.osLogoColorOverride !== undefined ? settings.osLogoColorOverride : ""
|
osLogoColorOverride = settings.osLogoColorOverride !== undefined ? settings.osLogoColorOverride : ""
|
||||||
osLogoBrightness = settings.osLogoBrightness !== undefined ? settings.osLogoBrightness : 0.5
|
osLogoBrightness = settings.osLogoBrightness !== undefined ? settings.osLogoBrightness : 0.5
|
||||||
osLogoContrast = settings.osLogoContrast !== undefined ? settings.osLogoContrast : 1
|
osLogoContrast = settings.osLogoContrast !== undefined ? settings.osLogoContrast : 1
|
||||||
wallpaperDynamicTheming = settings.wallpaperDynamicTheming !== undefined ? settings.wallpaperDynamicTheming : true
|
|
||||||
fontFamily = settings.fontFamily !== undefined ? settings.fontFamily : defaultFontFamily
|
fontFamily = settings.fontFamily !== undefined ? settings.fontFamily : defaultFontFamily
|
||||||
monoFontFamily = settings.monoFontFamily !== undefined ? settings.monoFontFamily : defaultMonoFontFamily
|
monoFontFamily = settings.monoFontFamily !== undefined ? settings.monoFontFamily : defaultMonoFontFamily
|
||||||
fontWeight = settings.fontWeight !== undefined ? settings.fontWeight : Font.Normal
|
fontWeight = settings.fontWeight !== undefined ? settings.fontWeight : Font.Normal
|
||||||
@@ -403,7 +401,6 @@ Singleton {
|
|||||||
"osLogoColorOverride": osLogoColorOverride,
|
"osLogoColorOverride": osLogoColorOverride,
|
||||||
"osLogoBrightness": osLogoBrightness,
|
"osLogoBrightness": osLogoBrightness,
|
||||||
"osLogoContrast": osLogoContrast,
|
"osLogoContrast": osLogoContrast,
|
||||||
"wallpaperDynamicTheming": wallpaperDynamicTheming,
|
|
||||||
"fontFamily": fontFamily,
|
"fontFamily": fontFamily,
|
||||||
"monoFontFamily": monoFontFamily,
|
"monoFontFamily": monoFontFamily,
|
||||||
"fontWeight": fontWeight,
|
"fontWeight": fontWeight,
|
||||||
@@ -897,11 +894,6 @@ Singleton {
|
|||||||
saveSettings()
|
saveSettings()
|
||||||
}
|
}
|
||||||
|
|
||||||
function setWallpaperDynamicTheming(enabled) {
|
|
||||||
wallpaperDynamicTheming = enabled
|
|
||||||
saveSettings()
|
|
||||||
}
|
|
||||||
|
|
||||||
function setFontFamily(family) {
|
function setFontFamily(family) {
|
||||||
fontFamily = family
|
fontFamily = family
|
||||||
saveSettings()
|
saveSettings()
|
||||||
|
|||||||
Reference in New Issue
Block a user