- 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>
23 lines
828 B
Nix
23 lines
828 B
Nix
{ lib, stdenvNoCC, makeWrapper, quickshell, qt6, nodejs, source }:
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "glassMxrph";
|
|
version = "0.2.0";
|
|
src = source;
|
|
nativeBuildInputs = [ makeWrapper nodejs ];
|
|
dontBuild = true;
|
|
doCheck = true;
|
|
checkPhase = "node tests/config.test.cjs";
|
|
installPhase = ''
|
|
mkdir -p $out/share/glassMxrph $out/bin
|
|
cp -r quickshell scripts tests docs dependencies.json README.md $out/share/glassMxrph/
|
|
makeWrapper $out/share/glassMxrph/scripts/glassmxrph $out/bin/glassmxrph \
|
|
--prefix PATH : ${lib.makeBinPath [ quickshell ]} \
|
|
--prefix QT_PLUGIN_PATH : ${qt6.qtimageformats}/${qt6.qtbase.qtPluginPrefix}
|
|
'';
|
|
meta = {
|
|
description = "Modular glass desktop shell for Quickshell and Hyprland";
|
|
platforms = lib.platforms.linux;
|
|
mainProgram = "glassmxrph";
|
|
};
|
|
}
|