feat: Add support for swww and wallust and clean up a few things

This commit is contained in:
ferreo 2025-07-13 14:09:59 +01:00
parent d828e3d323
commit bd0135ec03
22 changed files with 1053 additions and 281 deletions

View file

@ -2,12 +2,13 @@ import QtQuick
import Quickshell
import Quickshell.Wayland
import Qt5Compat.GraphicalEffects
import qs.Helpers
import qs.Services
import qs.Settings
ShellRoot {
property string wallpaperSource: Settings.currentWallpaper !== "" ? Settings.currentWallpaper : "/home/lysec/nixos/assets/wallpapers/lantern.png"
property string wallpaperSource: WallpaperManager.currentWallpaper !== "" && !Settings.useSWWW ? WallpaperManager.currentWallpaper : ""
PanelWindow {
visible: wallpaperSource !== ""
anchors {
top: true
bottom: true
@ -25,10 +26,11 @@ ShellRoot {
source: wallpaperSource
cache: true
smooth: true
visible: true // Show the original for FastBlur input
visible: wallpaperSource !== "" // Show the original for FastBlur input
}
FastBlur {
anchors.fill: parent
visible: wallpaperSource !== ""
source: bgImage
radius: 24 // Adjust blur strength as needed
transparentBorder: true