1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Add wallpaper transition effects, courtesy of @Ly-Sec

- Just copied the shaders from noctalia since they're pretty awesome
This commit is contained in:
bbedward
2025-09-22 12:28:15 -04:00
parent 78683032aa
commit ca11735c1d
18 changed files with 897 additions and 74 deletions

View File

@@ -677,6 +677,33 @@ Item {
}
}
}
Rectangle {
width: parent.width
height: 1
color: Theme.outline
opacity: 0.2
}
DankDropdown {
width: parent.width
text: "Transition Effect"
description: "Visual effect used when wallpaper changes"
currentValue: {
switch (SessionData.wallpaperTransition) {
case "fade": return "Fade"
case "wipe": return "Wipe"
case "disc": return "Disc"
case "stripes": return "Stripes"
default: return "Fade"
}
}
options: ["Fade", "Wipe", "Disc", "Stripes"]
onValueChanged: value => {
var transition = value.toLowerCase()
SessionData.setWallpaperTransition(transition)
}
}
}
}