diff --git a/quickshell/Modals/DankLauncherV2/SourceBadge.qml b/quickshell/Modals/DankLauncherV2/SourceBadge.qml index 8913e6f55..2e1fe70f0 100644 --- a/quickshell/Modals/DankLauncherV2/SourceBadge.qml +++ b/quickshell/Modals/DankLauncherV2/SourceBadge.qml @@ -7,6 +7,7 @@ Item { property string source: "" property int glyphSize: 14 + property bool badgeVisible: true readonly property var sourceAsset: ({ "flatpak": "../../assets/package-sources/flatpak.svg", @@ -17,7 +18,7 @@ Item { readonly property string assetPath: sourceAsset[source] || "" - visible: SettingsData.dankLauncherV2ShowSourceBadges && assetPath.length > 0 + visible: badgeVisible && SettingsData.dankLauncherV2ShowSourceBadges && assetPath.length > 0 implicitWidth: glyphSize implicitHeight: glyphSize diff --git a/quickshell/Modals/DankLauncherV2/TileItem.qml b/quickshell/Modals/DankLauncherV2/TileItem.qml index 1f148e129..2f743a377 100644 --- a/quickshell/Modals/DankLauncherV2/TileItem.qml +++ b/quickshell/Modals/DankLauncherV2/TileItem.qml @@ -178,7 +178,7 @@ Rectangle { anchors.margins: Theme.spacingXS source: root.item?.type === "app" ? (root.item.source || "") : "" glyphSize: 16 - visible: !root.isSelected && !!source + badgeVisible: !root.isSelected } } }