1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -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

@@ -29,6 +29,7 @@ Singleton {
property string configValidationOutput: ""
property bool hasInitialConnection: false
property bool suppressConfigToast: true
property bool suppressNextConfigToast: false
readonly property string socketPath: Quickshell.env("NIRI_SOCKET")
@@ -345,9 +346,10 @@ Singleton {
if (ToastService.toastVisible && ToastService.currentLevel === ToastService.levelError) {
ToastService.hideToast()
}
if (hasInitialConnection && !suppressConfigToast) {
if (hasInitialConnection && !suppressConfigToast && !suppressNextConfigToast) {
ToastService.showInfo("niri: config reloaded")
}
suppressNextConfigToast = false
}
if (!hasInitialConnection) {
@@ -493,6 +495,10 @@ Singleton {
})
}
function suppressNextToast() {
suppressNextConfigToast = true
}
function findNiriWindow(toplevel) {
if (!toplevel.appId) {
return null