From 25de796710135214b7055dd6075b5bb607f52925 Mon Sep 17 00:00:00 2001 From: jwihardi Date: Fri, 17 Apr 2026 20:15:48 -0400 Subject: [PATCH 1/6] ID strips string and single quote --- diagnose | 4 ++-- sdata/lib/dist-determine.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/diagnose b/diagnose index 3001a62a2..55c97704f 100755 --- a/diagnose +++ b/diagnose @@ -39,8 +39,8 @@ _exec() { _check_distro_id() { OS_RELEASE_FILE=/etc/os-release if [[ -f "$OS_RELEASE_FILE" ]]; then - OS_DISTRO_ID=$(awk -F'=' '/^ID=/ { gsub("\"","",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) - OS_DISTRO_ID_LIKE=$(awk -F'=' '/^ID_LIKE=/ { gsub("\"","",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) + OS_DISTRO_ID=$(awk -F'=' '/^ID=/ { gsub(/["\x27]/,"",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) + OS_DISTRO_ID_LIKE=$(awk -F'=' '/^ID_LIKE=/ { gsub(/["\x27]/,"",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) echo "distro ID: $OS_DISTRO_ID" echo "distro ID_LIKE: $OS_DISTRO_ID_LIKE" else diff --git a/sdata/lib/dist-determine.sh b/sdata/lib/dist-determine.sh index 78f548ac1..e45d46bc3 100644 --- a/sdata/lib/dist-determine.sh +++ b/sdata/lib/dist-determine.sh @@ -78,8 +78,8 @@ elif test -f /etc/os-release; then else printf "${STY_RED}/etc/os-release does not exist, aborting...${STY_RST}\n" ; exit 1 fi -export OS_DISTRO_ID=$(awk -F'=' '/^ID=/ { gsub("\"","",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) -export OS_DISTRO_ID_LIKE=$(awk -F'=' '/^ID_LIKE=/ { gsub("\"","",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) +export OS_DISTRO_ID=$(awk -F'=' '/^ID=/ { gsub(/["\x27]/,"",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) +export OS_DISTRO_ID_LIKE=$(awk -F'=' '/^ID_LIKE=/ { gsub(/["\x27]/,"",$2); print tolower($2) }' ${OS_RELEASE_FILE} 2> /dev/null) #################### From e6570bbe7529e906ddc22d2d8e52c21b28d852bb Mon Sep 17 00:00:00 2001 From: MVN123123123123123 <96687442+MVN123123123123123@users.noreply.github.com> Date: Tue, 28 Apr 2026 20:50:24 +0700 Subject: [PATCH 2/6] Update version tag to 4.1.0 in matugen.spec --- sdata/dist-fedora/SPECS/matugen.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdata/dist-fedora/SPECS/matugen.spec b/sdata/dist-fedora/SPECS/matugen.spec index 9f7bc70aa..ee41278a1 100644 --- a/sdata/dist-fedora/SPECS/matugen.spec +++ b/sdata/dist-fedora/SPECS/matugen.spec @@ -2,7 +2,7 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commits 719 %global snapdate 20260213 -%global tag 4.0.0 +%global tag 4.1.0 Name: matugen Version: %{tag}^%{commits}.%{shortcommit} From 75965097778b4806e879cec7d812ba2a1be27276 Mon Sep 17 00:00:00 2001 From: MVN123123123123123 <96687442+MVN123123123123123@users.noreply.github.com> Date: Tue, 28 Apr 2026 20:59:23 +0700 Subject: [PATCH 3/6] Modify commit hash and snapshot date in matugen.spec Updated commit hash and snapshot date in matugen.spec --- sdata/dist-fedora/SPECS/matugen.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sdata/dist-fedora/SPECS/matugen.spec b/sdata/dist-fedora/SPECS/matugen.spec index ee41278a1..1014975e4 100644 --- a/sdata/dist-fedora/SPECS/matugen.spec +++ b/sdata/dist-fedora/SPECS/matugen.spec @@ -1,11 +1,10 @@ -%global commit e65259d68edc034905da477b6c1a349e89e2aa8d +%global commit 4112d352914742ba69f6380fd07984adba02d376 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commits 719 -%global snapdate 20260213 +%global snapdate 20260322 %global tag 4.1.0 Name: matugen -Version: %{tag}^%{commits}.%{shortcommit} +Version: %{tag}.%{shortcommit} Release: 0%{?dist} Summary: A cross-platform material you and base16 color generation tool From e79c9a8792bb38b65042d1aa7f6bc689b3d32811 Mon Sep 17 00:00:00 2001 From: fb24m Date: Wed, 29 Apr 2026 14:41:16 +0400 Subject: [PATCH 4/6] fedora: remove hyprland-qt-support from SPECS --- .../SPECS/hyprland-qt-support.spec | 45 ------------------- sdata/dist-fedora/feddeps.toml | 2 +- sdata/dist-fedora/install-deps.sh | 1 - 3 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 sdata/dist-fedora/SPECS/hyprland-qt-support.spec diff --git a/sdata/dist-fedora/SPECS/hyprland-qt-support.spec b/sdata/dist-fedora/SPECS/hyprland-qt-support.spec deleted file mode 100644 index 4cae243ae..000000000 --- a/sdata/dist-fedora/SPECS/hyprland-qt-support.spec +++ /dev/null @@ -1,45 +0,0 @@ -# Original-Spec: https://copr-dist-git.fedorainfracloud.org/packages/solopasha/hyprland/hyprland-qt-support.git/plain/hyprland-qt-support.spec?h=master - -Name: hyprland-qt-support -Version: 0.1.0 -Release: %autorelease -b9 -Summary: A Qt6 Qml style provider for hypr* apps -License: BSD-3-Clause -URL: https://github.com/hyprwm/hyprland-qt-support -Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz - -# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval -ExcludeArch: %{ix86} - -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: qt6-rpm-macros - -BuildRequires: cmake(Qt6Quick) -BuildRequires: cmake(Qt6QuickControls2) -BuildRequires: cmake(Qt6Qml) - -BuildRequires: pkgconfig(hyprlang) - -%description -%{summary}. - -%prep -%autosetup -p1 - -%build -%cmake -DINSTALL_QMLDIR=%{_qt6_qmldir} -%cmake_build - -%install -%cmake_install - -%files -%license LICENSE -%doc README.md -%{_prefix}/lib/libhyprland-quick-style-impl.so -%{_prefix}/lib/libhyprland-quick-style.so -%{_qt6_qmldir}/org/hyprland/ - -%changelog -%autochangelog diff --git a/sdata/dist-fedora/feddeps.toml b/sdata/dist-fedora/feddeps.toml index e1b842e50..57083f53a 100644 --- a/sdata/dist-fedora/feddeps.toml +++ b/sdata/dist-fedora/feddeps.toml @@ -84,6 +84,7 @@ packages = [ packages = [ "hyprland", "hyprland-guiutils", + "hyprland-qt-support", "hyprsunset", "wl-clipboard" ] @@ -205,4 +206,3 @@ packages = [ "unzip" ] install_opts = ["--setopt=install_weak_deps=False"] - diff --git a/sdata/dist-fedora/install-deps.sh b/sdata/dist-fedora/install-deps.sh index cf0efb675..a87009656 100644 --- a/sdata/dist-fedora/install-deps.sh +++ b/sdata/dist-fedora/install-deps.sh @@ -37,7 +37,6 @@ function install_RPMS() { packages=( "cpptrace" "quickshell-git" - "hyprland-qt-support" "matugen" ) for package in "${packages[@]}"; do From fe9eb0e84ce58520e15d3bb7766abe024ed4178b Mon Sep 17 00:00:00 2001 From: fb24m Date: Fri, 1 May 2026 18:49:57 +0400 Subject: [PATCH 5/6] add class selectors to nautilus pathbar elements --- .../.config/matugen/templates/gtk-4.0/gtk.css | 70 +++++++++++-------- 1 file changed, 42 insertions(+), 28 deletions(-) diff --git a/dots/.config/matugen/templates/gtk-4.0/gtk.css b/dots/.config/matugen/templates/gtk-4.0/gtk.css index 84cd38ee1..6f24e30dc 100644 --- a/dots/.config/matugen/templates/gtk-4.0/gtk.css +++ b/dots/.config/matugen/templates/gtk-4.0/gtk.css @@ -173,54 +173,68 @@ splitbutton menubutton { border-radius: 999px; } -#NautilusPathBar #NautilusPathButton * { - color: @accent_color; - font-weight: 400; +#NautilusPathBar #NautilusPathButton *, +.nautilus-pathbar .nautilus-path-button * { + color: @sidebar_row_active_fg_color; + font-weight: 400; } -#NautilusPathBar #NautilusPathButton { - background: @accent_active_color; - border-radius: 4px; - margin: 0; - margin-right: 2px; +#NautilusPathBar #NautilusPathButton, +.nautilus-pathbar .nautilus-path-button { + background: @accent_active_color; + border-radius: 4px; + margin: 0; + margin-right: 2px; } -#NautilusPathBar { - background: transparent; +#NautilusPathBar #NautilusPathButton:hover, +.nautilus-pathbar .nautilus-path-button:hover { + background: @accent_vibrant_hover_color; } -#NautilusPathBar box box:first-child #NautilusPathButton { - border-radius: 24px 4px 4px 24px; +#NautilusPathBar #NautilusPathButton:active, +.nautilus-pathbar .nautilus-path-button:active { + background: @accent_vibrant_active_color; } -#NautilusPathBar box box:last-child #NautilusPathButton { - border-radius: 4px 24px 24px 4px; +#NautilusPathButton, +.nautilus-pathbar { + background: transparent; } -#NautilusPathBar #NautilusPathButton.current-dir.current-dir { - border-radius: 999px; +#NautilusPathBar box box:first-child #NautilusPathButton, +.nautilus-pathbar box box:first-child .nautilus-path-button { + border-radius: 24px 4px 4px 24px; } -#NautilusPathBar #NautilusPathButton * { - color: @sidebar_row_active_fg_color; +#NautilusPathBar box box:last-child #NautilusPathButton, +.nautilus-pathbar box box:last-child .nautilus-path-button { + border-radius: 4px 24px 24px 4px; } -#NautilusPathBar .dim-label { - font-size: 0; +#NautilusPathBar #NautilusPathButton.current-dir.current-dir, +.nautilus-pathbar .nautilus-path-button.current-dir.current-dir { + border-radius: 999px; } -#NautilusPathBar button .dim-label { - font-size: 14px; - opacity: 100%; +#NautilusPathBar .dim-label, +.nautilus-pathbar .dim-label { + font-size: 0; } -#NautilusPathBar button { - border-radius: 8px; +#NautilusPathBar button .dim-label, +.nautilus-pathbar button .dim-label { + font-size: 14px; + opacity: 100%; } - -#NautilusPathBar button:checked { - background: @accent_vibrant_hover_color; +#NautilusPathBar button, +.nautilus-pathbar button { + border-radius: 8px; +} +#NautilusPathBar button:checked, +.nautilus-pathbar button:checked { + background: @accent_vibrant_hover_color; } headerbar button { From f992294ec28586c26517eb9a24a21c8dc7e03302 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Mon, 4 May 2026 09:20:12 +0200 Subject: [PATCH 6/6] proper image scaling with screen scaling (#3036, #3037) --- .../ii/modules/common/widgets/CliphistImage.qml | 2 -- .../ii/modules/common/widgets/DirectoryIcon.qml | 2 +- .../ii/modules/common/widgets/NotificationAppIcon.qml | 9 ++------- .../quickshell/ii/modules/common/widgets/StyledImage.qml | 6 ++++++ .../quickshell/ii/modules/ii/background/Background.qml | 4 ---- .../ii/modules/ii/mediaControls/PlayerControl.qml | 6 +----- .../modules/ii/overlay/floatingImage/FloatingImage.qml | 7 +++++-- .../quickshell/ii/modules/ii/overview/OverviewWindow.qml | 6 +++--- .../ii/modules/ii/screenTranslator/ScreenTextOverlay.qml | 1 - .../ii/modules/ii/sidebarLeft/anime/BooruImage.qml | 2 -- .../ii/sidebarRight/volumeMixer/VolumeMixerEntry.qml | 4 +--- .../ii/wallpaperSelector/WallpaperDirectoryItem.qml | 4 ---- .../quickshell/ii/modules/settings/QuickConfig.qml | 2 -- .../quickshell/ii/modules/waffle/lock/WaffleLock.qml | 3 +-- .../waffle/notificationCenter/WSingleNotification.qml | 2 -- .../ii/modules/waffle/taskView/TaskViewWorkspace.qml | 1 - 16 files changed, 20 insertions(+), 41 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/CliphistImage.qml b/dots/.config/quickshell/ii/modules/common/widgets/CliphistImage.qml index 7aa1e6f12..bebb01184 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/CliphistImage.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/CliphistImage.qml @@ -88,8 +88,6 @@ Rectangle { width: root.imageWidth * root.scale height: root.imageHeight * root.scale - sourceSize.width: width - sourceSize.height: height } Loader { diff --git a/dots/.config/quickshell/ii/modules/common/widgets/DirectoryIcon.qml b/dots/.config/quickshell/ii/modules/common/widgets/DirectoryIcon.qml index 9df2ee2fe..e49dbacf9 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/DirectoryIcon.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/DirectoryIcon.qml @@ -7,7 +7,7 @@ import qs.modules.common.functions // From https://github.com/caelestia-dots/shell with modifications. // License: GPLv3 -Image { +StyledImage { id: root required property var fileModelData asynchronous: true diff --git a/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml b/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml index ad250d9b6..351da2b45 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/NotificationAppIcon.qml @@ -30,7 +30,7 @@ MaterialShape { // App icon color: isUrgent ? Appearance.colors.colPrimaryContainer : Appearance.colors.colSecondaryContainer Loader { id: materialSymbolLoader - active: root.appIcon == "" + active: root.appIcon == "" && root.image == "" anchors.fill: parent sourceComponent: MaterialSymbol { text: { @@ -63,7 +63,7 @@ MaterialShape { // App icon anchors.fill: parent sourceComponent: Item { anchors.fill: parent - Image { + StyledImage { id: notifImage anchors.fill: parent readonly property int size: parent.width @@ -74,11 +74,6 @@ MaterialShape { // App icon antialiasing: true asynchronous: true - width: size - height: size - sourceSize.width: size - sourceSize.height: size - layer.enabled: true layer.effect: OpacityMask { maskSource: Rectangle { diff --git a/dots/.config/quickshell/ii/modules/common/widgets/StyledImage.qml b/dots/.config/quickshell/ii/modules/common/widgets/StyledImage.qml index 17dfc56c4..93d0d1b3f 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/StyledImage.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/StyledImage.qml @@ -1,4 +1,5 @@ import QtQuick +import Quickshell import qs.services import qs.modules.common import qs.modules.common.widgets @@ -22,4 +23,9 @@ Image { currentFallbackIndex += 1; } } + + sourceSize: { + const dpr = (QsWindow.window as QsWindow)?.devicePixelRatio ?? 1; + return Qt.size(width * dpr, height * dpr); + } } diff --git a/dots/.config/quickshell/ii/modules/ii/background/Background.qml b/dots/.config/quickshell/ii/modules/ii/background/Background.qml index 0c1f1c0f7..7841fe1de 100644 --- a/dots/.config/quickshell/ii/modules/ii/background/Background.qml +++ b/dots/.config/quickshell/ii/modules/ii/background/Background.qml @@ -194,10 +194,6 @@ Variants { easing.type: Easing.OutCubic } } - sourceSize { - width: bgRoot.scaledWallpaperWidth - height: bgRoot.scaledWallpaperHeight - } width: bgRoot.scaledWallpaperWidth height: bgRoot.scaledWallpaperHeight } diff --git a/dots/.config/quickshell/ii/modules/ii/mediaControls/PlayerControl.qml b/dots/.config/quickshell/ii/modules/ii/mediaControls/PlayerControl.qml index a53255f11..7f0eabbca 100644 --- a/dots/.config/quickshell/ii/modules/ii/mediaControls/PlayerControl.qml +++ b/dots/.config/quickshell/ii/modules/ii/mediaControls/PlayerControl.qml @@ -113,12 +113,10 @@ Item { // Player instance } } - Image { + StyledImage { id: blurredArt anchors.fill: parent source: root.displayedArtFilePath - sourceSize.width: background.width - sourceSize.height: background.height fillMode: Image.PreserveAspectCrop cache: false antialiasing: true @@ -179,8 +177,6 @@ Item { // Player instance width: size height: size - sourceSize.width: size - sourceSize.height: size } } diff --git a/dots/.config/quickshell/ii/modules/ii/overlay/floatingImage/FloatingImage.qml b/dots/.config/quickshell/ii/modules/ii/overlay/floatingImage/FloatingImage.qml index 081f9eaad..78494fe94 100644 --- a/dots/.config/quickshell/ii/modules/ii/overlay/floatingImage/FloatingImage.qml +++ b/dots/.config/quickshell/ii/modules/ii/overlay/floatingImage/FloatingImage.qml @@ -1,5 +1,6 @@ pragma ComponentBehavior: Bound import QtQuick +import Quickshell import Qt5Compat.GraphicalEffects import qs.modules.common import qs.modules.common.functions @@ -71,8 +72,10 @@ StyledOverlayWidget { anchors.centerIn: parent width: root.imageWidth * root.scaleFactor height: root.imageHeight * root.scaleFactor - sourceSize.width: width - sourceSize.height: height + sourceSize: { + const dpr = (QsWindow.window as QsWindow)?.devicePixelRatio ?? 1; + return Qt.size(width * dpr, height * dpr); + } playing: visible asynchronous: true diff --git a/dots/.config/quickshell/ii/modules/ii/overview/OverviewWindow.qml b/dots/.config/quickshell/ii/modules/ii/overview/OverviewWindow.qml index a05fde09b..0032bf061 100644 --- a/dots/.config/quickshell/ii/modules/ii/overview/OverviewWindow.qml +++ b/dots/.config/quickshell/ii/modules/ii/overview/OverviewWindow.qml @@ -3,6 +3,7 @@ import qs import qs.services import qs.modules.common import qs.modules.common.functions +import qs.modules.common.widgets import Qt5Compat.GraphicalEffects import QtQuick import QtQuick.Layouts @@ -109,7 +110,7 @@ Item { // Window border.width : 1 } - Image { + StyledImage { id: windowIcon property real baseSize: Math.min(root.targetWindowWidth, root.targetWindowHeight) anchors { @@ -126,12 +127,11 @@ Item { // Window // console.log("Final:", Math.min(targetWindowWidth, targetWindowHeight) * (root.compactMode ? root.iconToWindowRatioCompact : root.iconToWindowRatio) / root.monitorData.scale) return baseSize * (root.compactMode ? root.iconToWindowRatioCompact : root.iconToWindowRatio); } - // mipmap: true + mipmap: true Layout.alignment: Qt.AlignHCenter source: root.iconPath width: iconSize height: iconSize - sourceSize: Qt.size(iconSize, iconSize) Behavior on width { animation: Appearance.animation.elementMoveEnter.numberAnimation.createObject(this) diff --git a/dots/.config/quickshell/ii/modules/ii/screenTranslator/ScreenTextOverlay.qml b/dots/.config/quickshell/ii/modules/ii/screenTranslator/ScreenTextOverlay.qml index 7d87e69f9..175407ff3 100644 --- a/dots/.config/quickshell/ii/modules/ii/screenTranslator/ScreenTextOverlay.qml +++ b/dots/.config/quickshell/ii/modules/ii/screenTranslator/ScreenTextOverlay.qml @@ -186,7 +186,6 @@ Item { asynchronous: false width: root.windowWidth height: root.windowHeight - sourceSize: Qt.size(root.windowWidth, root.windowHeight) source: Qt.resolvedUrl(root.screenshotPath) visible: false } diff --git a/dots/.config/quickshell/ii/modules/ii/sidebarLeft/anime/BooruImage.qml b/dots/.config/quickshell/ii/modules/ii/sidebarLeft/anime/BooruImage.qml index feeeeb05b..ef0d7540e 100644 --- a/dots/.config/quickshell/ii/modules/ii/sidebarLeft/anime/BooruImage.qml +++ b/dots/.config/quickshell/ii/modules/ii/sidebarLeft/anime/BooruImage.qml @@ -67,8 +67,6 @@ Button { height: root.rowHeight fillMode: Image.PreserveAspectFit source: modelData.preview_url - sourceSize.width: root.rowHeight * modelData.aspect_ratio - sourceSize.height: root.rowHeight layer.enabled: true layer.effect: OpacityMask { diff --git a/dots/.config/quickshell/ii/modules/ii/sidebarRight/volumeMixer/VolumeMixerEntry.qml b/dots/.config/quickshell/ii/modules/ii/sidebarRight/volumeMixer/VolumeMixerEntry.qml index 8598cd5cb..9464b858b 100644 --- a/dots/.config/quickshell/ii/modules/ii/sidebarRight/volumeMixer/VolumeMixerEntry.qml +++ b/dots/.config/quickshell/ii/modules/ii/sidebarRight/volumeMixer/VolumeMixerEntry.qml @@ -36,12 +36,10 @@ Item { text: root.node?.audio.muted ? Translation.tr("Click to unmute") : Translation.tr("Click to mute") } - Image { + StyledImage { id: iconImg anchors.fill: parent visible: false - sourceSize.width: parent.size - sourceSize.height: parent.size source: { let icon; icon = AppSearch.guessIcon(root.node?.properties["application.icon-name"] ?? ""); diff --git a/dots/.config/quickshell/ii/modules/ii/wallpaperSelector/WallpaperDirectoryItem.qml b/dots/.config/quickshell/ii/modules/ii/wallpaperSelector/WallpaperDirectoryItem.qml index a2720605d..bdcd94161 100644 --- a/dots/.config/quickshell/ii/modules/ii/wallpaperSelector/WallpaperDirectoryItem.qml +++ b/dots/.config/quickshell/ii/modules/ii/wallpaperSelector/WallpaperDirectoryItem.qml @@ -66,8 +66,6 @@ MouseArea { cache: false fillMode: Image.PreserveAspectCrop clip: true - sourceSize.width: wallpaperItemColumnLayout.width - sourceSize.height: wallpaperItemColumnLayout.height - wallpaperItemColumnLayout.spacing - wallpaperItemName.height Connections { target: Wallpapers @@ -102,8 +100,6 @@ MouseArea { anchors.fill: parent sourceComponent: DirectoryIcon { fileModelData: root.fileModelData - sourceSize.width: wallpaperItemColumnLayout.width - sourceSize.height: wallpaperItemColumnLayout.height - wallpaperItemColumnLayout.spacing - wallpaperItemName.height } } } diff --git a/dots/.config/quickshell/ii/modules/settings/QuickConfig.qml b/dots/.config/quickshell/ii/modules/settings/QuickConfig.qml index 5964f4dff..75d956a88 100644 --- a/dots/.config/quickshell/ii/modules/settings/QuickConfig.qml +++ b/dots/.config/quickshell/ii/modules/settings/QuickConfig.qml @@ -71,8 +71,6 @@ ContentPage { StyledImage { id: wallpaperPreview anchors.fill: parent - sourceSize.width: parent.implicitWidth - sourceSize.height: parent.implicitHeight fillMode: Image.PreserveAspectCrop source: Config.options.background.wallpaperPath cache: false diff --git a/dots/.config/quickshell/ii/modules/waffle/lock/WaffleLock.qml b/dots/.config/quickshell/ii/modules/waffle/lock/WaffleLock.qml index ffca0484e..e14169a5c 100644 --- a/dots/.config/quickshell/ii/modules/waffle/lock/WaffleLock.qml +++ b/dots/.config/quickshell/ii/modules/waffle/lock/WaffleLock.qml @@ -33,7 +33,7 @@ LockScreen { interactables.switchToFocusedView(); } - Image { + StyledImage { id: bg z: 0 width: parent.width @@ -46,7 +46,6 @@ LockScreen { openAnim.restart(); } } - sourceSize: Qt.size(lockSurfaceItem.width, lockSurfaceItem.height) source: Config.options.background.wallpaperPath fillMode: Image.PreserveAspectCrop diff --git a/dots/.config/quickshell/ii/modules/waffle/notificationCenter/WSingleNotification.qml b/dots/.config/quickshell/ii/modules/waffle/notificationCenter/WSingleNotification.qml index e7fb58a12..6c817092b 100644 --- a/dots/.config/quickshell/ii/modules/waffle/notificationCenter/WSingleNotification.qml +++ b/dots/.config/quickshell/ii/modules/waffle/notificationCenter/WSingleNotification.qml @@ -102,8 +102,6 @@ MouseArea { readonly property int size: 48 width: size height: size - sourceSize.width: size - sourceSize.height: size source: root.notification.image fillMode: Image.PreserveAspectFit } diff --git a/dots/.config/quickshell/ii/modules/waffle/taskView/TaskViewWorkspace.qml b/dots/.config/quickshell/ii/modules/waffle/taskView/TaskViewWorkspace.qml index 8fe3f35bd..1ba44f35b 100644 --- a/dots/.config/quickshell/ii/modules/waffle/taskView/TaskViewWorkspace.qml +++ b/dots/.config/quickshell/ii/modules/waffle/taskView/TaskViewWorkspace.qml @@ -85,7 +85,6 @@ WMouseAreaButton { active: !root.newWorkspace sourceComponent: StyledImage { cache: true - sourceSize: Qt.size(root.screenAspectRatio * root.wallpaperHeight, root.wallpaperHeight) source: Config.options.background.wallpaperPath fillMode: Image.PreserveAspectCrop