small code cleanup and added components/ folder for reusable code

This commit is contained in:
SomeElse
2026-05-16 07:05:35 +00:00
parent d1f892f3a0
commit 526607ee8d
8 changed files with 78 additions and 96 deletions

View File

@@ -29,11 +29,6 @@ ShellRoot {
source: Qt.resolvedUrl("polkit/Polkit.qml")
}
Component {
id: polkitComp
Polkit {}
}
// ── Spacing Gap: Top / Bottom ────────────────────────────────────────
Variants {
model: Quickshell.screens
@@ -101,6 +96,7 @@ ShellRoot {
anchors.fill: parent
source: {
var p = Cfg.Config.theme.wallpaper
if (!p) return ""
return p.startsWith("file://") ? p : "file://" + p
}
fillMode: Image.PreserveAspectCrop