From 7e16362f9650e8f89601fad3dc993dfb9d93308f Mon Sep 17 00:00:00 2001 From: Amaro Lopes Date: Tue, 14 Oct 2025 00:35:43 -0300 Subject: [PATCH] Add blur effect on WindowSwitcher, speeds up listview animation speed --- Widgets/WindowSwitcher.qml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/Widgets/WindowSwitcher.qml b/Widgets/WindowSwitcher.qml index f0f80a4..17ba573 100644 --- a/Widgets/WindowSwitcher.qml +++ b/Widgets/WindowSwitcher.qml @@ -5,9 +5,8 @@ import QtQuick.Layouts import Quickshell import Quickshell.Widgets import qs.Services -import qs.Common.Styled -import qs.Common import Quickshell.Wayland +import QtQuick.Effects PanelWindow { id: root @@ -26,8 +25,26 @@ PanelWindow { visible: true signal clear + WlrLayershell.layer: WlrLayer.Overlay WlrLayershell.keyboardFocus: WlrKeyboardFocus.OnDemand + exclusionMode:ExclusionMode.Ignore + + ScreencopyView { + id: raveel + + anchors.fill: parent + captureSource: screen + } + + MultiEffect { + source: raveel + anchors.fill: raveel + blurEnabled: true + blurMax: 32 + blur: 1.0 + } + MouseArea { anchors.fill: parent onClicked: root.clear() @@ -42,6 +59,7 @@ PanelWindow { color: "transparent" + ListView { id: listview @@ -58,6 +76,7 @@ PanelWindow { } highlightFollowsCurrentItem: true keyNavigationEnabled: false + highlightMoveDuration: 100 Keys.onPressed: event => { switch (event.key) {