Merge branch 'master' into master

This commit is contained in:
Ben
2024-12-24 12:22:28 +10:00
committed by GitHub
19 changed files with 375 additions and 47 deletions

View File

@@ -73,7 +73,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
'';
};
homeManagerModules.hyprpanel = import ./nix/module.nix self;