From 926f411a4c703cab001d64b7f8b9701b79a7dc5c Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 15 Jun 2025 15:43:45 +0530 Subject: Refactor settings management + dashboard links --- build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 20fe342..fbc6993 100755 --- a/build.sh +++ b/build.sh @@ -48,8 +48,7 @@ chaincmds() { } gen_test_dash() { - nix eval --impure \ - --expr 'import ./modules/dashboard/dashboard-template.nix { title = "Dashboard"; links = [{ title = "Google"; url = "https://google.com"; altUrl = "http://foobar.com"; key = "g"; } { title = "DuckDuckGo"; url = "https://duckduckgo.com"; key = "d"; color = "#4c82cf"; } { title = "Google"; url = "https://google.com"; altUrl = "http://foobar.com"; key = "g"; } { title = "Google"; url = "https://google.com"; altUrl = "http://foobar.com"; key = "g"; }]; }' \ + nix eval --impure --expr 'import ./scripts/generate-test-dashboard.nix' \ | jq -r > index.ignore.html } open_test_dash() { brave "file://$PWD/index.ignore.html"; } -- cgit v1.3.1