1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 15:32:50 -05:00

niri: ability to blur wallpaper on overview + add a separate layer for

blurred wallpapers
This commit is contained in:
bbedward
2025-10-24 12:37:57 -04:00
parent 1abd3ef8b1
commit ca2acbc704
9 changed files with 323 additions and 132 deletions

View File

@@ -1,4 +1,5 @@
import QtQuick
import QtQuick.Effects
import Quickshell
import Quickshell.Wayland
import Quickshell.Widgets
@@ -6,6 +7,7 @@ import Quickshell.Io
import qs.Common
import qs.Widgets
import qs.Modules
import qs.Services
Variants {
model: {
@@ -467,6 +469,15 @@ Variants {
})
}
}
MultiEffect {
anchors.fill: parent
source: effectLoader.active ? effectLoader.item : (root.actualTransitionType === "none" ? currentWallpaper : null)
visible: CompositorService.isNiri && SettingsData.blurWallpaperOnOverview && NiriService.inOverview
blurEnabled: true
blur: 0.8
blurMax: 48
}
}
}
}