Reserve bar space, draw wallpaper natively by default, decode WebP

- The bar now reserves its margin and height as an exclusive zone, so
  windows tile below it instead of underneath. The overhang below the
  bar, where drawers attach, stays unreserved.
- The "auto" wallpaper backend falls back to glassMxrph's native
  background when no external provider (serpantinum, awww) is running,
  instead of reporting none. The background surface follows the
  resolved backend.
- The package adds Qt's extra image-format plugins (qtimageformats) to
  QT_PLUGIN_PATH, so WebP wallpapers (including WebP files with a .jpg
  name) decode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-07 23:16:33 +02:00
1 parent 83a0d155ba
commit 1d54aed0b8
5 files changed
+13 -7

No files matched your search

+4 -1
View File
@@ -20,7 +20,10 @@ PanelWindow {
implicitHeight: BarDrawers.bottom + BarDrawers.overhang
mask: Region { item: panel }
color: Theme.transparent
exclusionMode: ExclusionMode.Ignore
// Reserve the bar itself (margin + height), not the overhang below it, so
// windows tile beneath the bar instead of under it.
exclusionMode: ExclusionMode.Normal
exclusiveZone: BarDrawers.bottom
WlrLayershell.namespace: "glassMxrph-bar"
Component.onCompleted: TrayService.registerBar(root)
Component.onDestruction: TrayService.unregisterBar(root)
+2 -1
View File
@@ -57,7 +57,8 @@ def provider(req):
if shutil.which(candidate):
try:return {'backend':candidate,'current':current(candidate,monitor)}
except (ValueError,subprocess.TimeoutExpired):pass
return {'backend':'none','current':'','notice':'No supported running wallpaper provider. Choose a custom command or start your existing wallpaper service.'}
# No external provider running: glassMxrph draws the wallpaper itself.
return {'backend':'native','current':req.get('current','')}
if backend in ['serpantinum','awww']:return {'backend':backend,'current':current(backend,monitor)}
if backend=='native':return {'backend':'native','current':req.get('current','')}
if backend=='custom':return {'backend':'custom','current':req.get('current','')}
+2 -1
View File
@@ -27,7 +27,8 @@ ShellRoot {
Bar {}
}
Variants {
model: ConfigService.ready && ConfigService.data.wallpaper.backend === "native" ? Quickshell.screens.filter(s=>!!ConfigService.data.wallpaper.byMonitor[s.name]) : []
// The resolved backend: "auto" falls back to native without an external provider.
model: ConfigService.ready && WallpaperService.backend === "native" ? Quickshell.screens.filter(s=>!!ConfigService.data.wallpaper.byMonitor[s.name]) : []
WallpaperBackground {}
}
DesktopWidgets {}