From 48b954c4109e3650936ab7cb371203348338a13c Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sat, 9 Nov 2024 01:09:07 -0800 Subject: [PATCH] nix package + small tweaks for release --- default.nix | 6 +++- flake.lock | 51 +++++++++++++++++++++++++++--- flake.nix | 12 +++++-- pagefind.ts | 4 +-- public/favicon.svg | 26 ++++++++++++++- public/quickshell.png | Bin 12985 -> 0 bytes src/config/io/generateTypeData.ts | 22 ++++++++----- src/styles/main-page.css | 19 ++++++++++- 8 files changed, 121 insertions(+), 19 deletions(-) delete mode 100644 public/quickshell.png diff --git a/default.nix b/default.nix index ceaf318..c0868e1 100644 --- a/default.nix +++ b/default.nix @@ -6,6 +6,7 @@ yarn-berry, nodejs_22, cacert, + quickshell-types ? null, }: stdenv.mkDerivation (final: let nodeModules = stdenv.mkDerivation { pname = "${final.pname}-node_modules"; @@ -50,7 +51,7 @@ outputHashMode = "recursive"; outputHashAlgo = "sha256"; - outputHash = "rKoDjvG5t+aQRrzAz0eTifPtL3zmWAu/emxXWd1ocxM="; + outputHash = "tZ4xuA7uNnMIEpSUmQ5TAWPdvRGFJWIgWyBa1QFFWWU="; }; in { pname = "quickshell-web"; @@ -72,9 +73,12 @@ in { EOF cp -r ${nodeModules} node_modules + chmod +rw -R node_modules ''; buildPhase = '' + ${if quickshell-types != null then "export SECRET_MODULES_PATH=${quickshell-types}" else ""} + echo SECRET_MODULES_PATH: $SECRET_MODULES_PATH HOME=$(pwd)/garbage-tooling yarn build ''; diff --git a/flake.lock b/flake.lock index 9a1efd0..055073c 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1727348695, - "narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=", + "lastModified": 1730785428, + "narHash": "sha256-Zwl8YgTVJTEum+L+0zVAWvXAGbWAuXHax3KzuejaDyo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784", + "rev": "4aa36568d413aca0ea84a1684d2d46f55dbabad7", "type": "github" }, "original": { @@ -15,9 +15,52 @@ "type": "indirect" } }, + "quickshell": { + "inputs": { + "nixpkgs": [ + "quickshell-docs", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1730842284, + "narHash": "sha256-s0doicDkqzCqHvplBnjWPJtGJwajjDdfVkmmPu32l6Q=", + "ref": "refs/heads/master", + "rev": "b528be94260b572919ff47d2f5e3150ebc1ee3e9", + "revCount": 368, + "type": "git", + "url": "https://git.outfoxxed.me/quickshell/quickshell" + }, + "original": { + "type": "git", + "url": "https://git.outfoxxed.me/quickshell/quickshell" + } + }, + "quickshell-docs": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "quickshell": "quickshell" + }, + "locked": { + "lastModified": 1731140797, + "narHash": "sha256-ovpoYKNzGViJbl8Pqi+gtmKIOKQXS0dCK65pShyS64s=", + "ref": "refs/heads/master", + "rev": "bc2c0d5d2c3941fb4c7ba7fafc91a41a65af6728", + "revCount": 89, + "type": "git", + "url": "https://git.outfoxxed.me/quickshell/quickshell-docs" + }, + "original": { + "type": "git", + "url": "https://git.outfoxxed.me/quickshell/quickshell-docs" + } + }, "root": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "quickshell-docs": "quickshell-docs" } } }, diff --git a/flake.nix b/flake.nix index 2bb8982..b6e915c 100644 --- a/flake.nix +++ b/flake.nix @@ -1,15 +1,23 @@ { inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; + + quickshell-docs = { + url = "git+https://git.outfoxxed.me/quickshell/quickshell-docs"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs }: let + outputs = { self, nixpkgs, quickshell-docs }: let forEachSystem = fn: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] (system: fn system nixpkgs.legacyPackages.${system}); in { packages = forEachSystem (system: pkgs: rec { - quickshell-web = pkgs.callPackage ./default.nix {}; + quickshell-web = pkgs.callPackage ./default.nix { + quickshell-types = quickshell-docs.packages.${system}.quickshell-types; + }; + default = quickshell-web; }); }; diff --git a/pagefind.ts b/pagefind.ts index c097d92..0f074da 100644 --- a/pagefind.ts +++ b/pagefind.ts @@ -13,8 +13,8 @@ export default function pagefind(): AstroIntegration { const relativeDir = relative(cwd, targetDir); return new Promise(resolve => { spawn( - "yarn dlx", - ["-q", "pagefind", "--site", relativeDir], + "yarn", + ["pagefind", "--site", relativeDir], { stdio: "inherit", shell: true, diff --git a/public/favicon.svg b/public/favicon.svg index ee539d4..bf2a3d6 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1 +1,25 @@ - \ No newline at end of file + + + + + + diff --git a/public/quickshell.png b/public/quickshell.png deleted file mode 100644 index 98aceb722f7761a7c78a734b3fe0f45742c6b11f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12985 zcmch8^;aBCur^76;O-8=-CcsaTNZbMyIX=g!DW%)u8V7McbCQ8T^75%_h0zFbLWTY zIeogjX1c1no_e|`LPbd$8G!%+3JMBYRz^Y%3hJ}=$Fm>Y=Z`zo)pQvY6d9DPgs6sR z<{8*hZ%&2~>Qc6GM!-ZAt!5Eqa?xP~gO!|Tf~$%pSrbID4Va8H6735NH<6TV4JVuN zkuLOTG{5oxd&Vre+urtIpYwhpoOx=&o-VsTtYA@>78v;XKS6yMZ_1Yc349#Y>b^jS*X1aFd#%Yttr>BJvz^A7tSLn}jU^z_ml`+F>uR>s*`Xi*XTT$K4D4T6D! z+I(MQi41J6A1DEUied?`bOY>S?8~mz6zGS|HIw}(#}y)CAeV137bin6D_xA#s;x&q zIckamOkL*lW@cV+W9Z!g<5nXUSAlvFTp2zU6a zFB|U0kh7lxbWw2=fk%(W$8}Y=5XL_efEqAG{s}&`*mzWkVV0xC@aKcc_AUk=D5y*M zmnT}9ett!L(HT}^y;UIragCDD(5irSt|Z)xts&W9IYh8 zq`R=*$E}#`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~H6WzVYqmU)aZmV { - const fullpath = path.join(process.cwd(), "modules", subdir); + const fullpath = path.join(modulesPath(), subdir); const filenames = await fs.readdir(fullpath); const data = await Promise.all( @@ -31,13 +43,7 @@ async function readSubdir(subdir: string): Promise { } async function generateTypeData(): Promise { - const mainDir = import.meta.env.SECRET_MODULES_PATH; - - if (!mainDir || mainDir === "") { - throw new Error( - "Cannot generate types, missing SECRET_MODULES_PATH" - ); - } + const mainDir = modulesPath(); const subdirs = await fs.readdir(mainDir, { withFileTypes: true, diff --git a/src/styles/main-page.css b/src/styles/main-page.css index 132a27b..bafb19b 100644 --- a/src/styles/main-page.css +++ b/src/styles/main-page.css @@ -121,7 +121,7 @@ html.dark .main-page_hero-text { } } -html.dark .main-page_link-card { +/*html.dark .main-page_link-card { background-color: transparent; border-color: transparent; @@ -168,6 +168,23 @@ html.dark .main-page_link-card { } } } +}*/ + +html.dark .main-page_link-card { + background-color: hsl(var(--green) 38 25); + color: hsl(194 0 100); + + &:hover { + background-color: hsl(var(--green) 48 35); + } + + &.main-page_bluecard { + background-color: hsl(var(--blue) 38 25); + + &:hover { + background-color: hsl(var(--blue) 48 35); + } + } } .baselayout footer {