1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 23:12:49 -05:00

Allow solid colored wallpaper, fix fzf search

This commit is contained in:
bbedward
2025-09-03 16:29:47 -04:00
parent 3856ce14cd
commit b4e607e2b4
27 changed files with 639 additions and 427 deletions

View File

@@ -6,9 +6,11 @@ Item {
anchors.fill: parent
property bool isColorWallpaper: SessionData.wallpaperPath && SessionData.wallpaperPath.startsWith("#")
Rectangle {
anchors.fill: parent
color: Theme.background
color: isColorWallpaper ? SessionData.wallpaperPath : Theme.background
}
Rectangle {
@@ -18,6 +20,7 @@ Item {
height: parent.height * 1.5
color: Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.15)
rotation: 35
visible: !isColorWallpaper
}
Rectangle {
@@ -27,6 +30,7 @@ Item {
height: parent.height * 1.2
color: Qt.rgba(Theme.secondary.r, Theme.secondary.g, Theme.secondary.b, 0.12)
rotation: 35
visible: !isColorWallpaper
}
Item {
@@ -35,16 +39,18 @@ Item {
anchors.leftMargin: Theme.spacingXL * 2
anchors.bottomMargin: Theme.spacingXL * 2
opacity: 0.25
visible: !isColorWallpaper
StyledText {
anchors.left: parent.left
anchors.bottom: parent.bottom
// ! TODO qmlfmt will brick this
text: `
`
`
isMonospace: true
font.pixelSize: Theme.fontSizeLarge * 1.2
color: Theme.primary