First commit
This commit is contained in:
28
config/hybar/default.nix
Normal file
28
config/hybar/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ ... }: {
|
||||
|
||||
|
||||
perSystem = { self', pkgs, system, ... }: {
|
||||
packages = {
|
||||
hybar = pkgs.writeShellScriptBin "hybar" ''
|
||||
${pkgs.quickshell}/bin/quickshell --path ${self'.packages.hybar-dots}/share "''$@"
|
||||
'';
|
||||
|
||||
hybar-dots = pkgs.stdenv.mkDerivation {
|
||||
|
||||
name = "hybar-dots";
|
||||
|
||||
src = ./.;
|
||||
|
||||
buildInputs = [];
|
||||
|
||||
buildPhase = ''
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share
|
||||
cp -r $src/* $out/share
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user