overview backdrop: full GPU shader with hex tiling, wave animation, spinners

This commit is contained in:
Damocles 2026-04-13 09:31:32 +02:00
parent 531e913238
commit 3c196c48d8
3 changed files with 232 additions and 119 deletions

View file

@ -3,6 +3,7 @@
stdenvNoCC,
makeWrapper,
quickshell,
qt6,
}:
stdenvNoCC.mkDerivation {
pname = "nova-shell";
@ -10,7 +11,10 @@ stdenvNoCC.mkDerivation {
src = lib.cleanSource ../.;
nativeBuildInputs = [ makeWrapper ];
nativeBuildInputs = [
makeWrapper
qt6.qtshadertools
];
dontBuild = true;
@ -20,6 +24,11 @@ stdenvNoCC.mkDerivation {
mkdir -p $out/share/nova-shell
cp -r shell.qml modules $out/share/nova-shell/
# Compile fragment shader to Qt RHI format
qsb --qt6 \
-o $out/share/nova-shell/modules/hex_wave.frag.qsb \
modules/hex_wave.frag
mkdir -p $out/bin
makeWrapper ${lib.getExe quickshell} $out/bin/nova-shell \
--add-flags "-p $out/share/nova-shell/shell.qml"