Merge branch 'master' into patch-1

This commit is contained in:
orangc
2024-12-24 16:33:42 +03:00
committed by GitHub
36 changed files with 540 additions and 101 deletions

View File

@@ -72,7 +72,13 @@
# Define .overlay to expose the package as pkgs.hyprpanel based on the system
overlay = final: prev: {
hyprpanel = self.packages.${prev.stdenv.system}.default;
hyprpanel = prev.writeShellScriptBin "hyprpanel" ''
if [ "$#" -eq 0 ]; then
exec ${self.packages.${final.stdenv.system}.default}/bin/hyprpanel
else
exec ${astal.packages.${final.stdenv.system}.io}/bin/astal -i hyprpanel "$@"
fi
'';
};
};
}