From 46d12f2f319b1f1f4c41c34577a7f791f7839daa Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 26 Sep 2022 10:08:56 -0400 Subject: feat(grfn/home): Add command to graphviz a readyset instance Change-Id: I76be175462743253c07c5e56165ea7a3d3155e2f Reviewed-on: https://cl.tvl.fyi/c/depot/+/6789 Reviewed-by: grfn Autosubmit: grfn Tested-by: BuildkiteCI --- users/grfn/system/home/modules/development/readyset.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/grfn/system/home/modules/development/readyset.nix b/users/grfn/system/home/modules/development/readyset.nix index 9bb9d6644db3..4b6edb438039 100644 --- a/users/grfn/system/home/modules/development/readyset.nix +++ b/users/grfn/system/home/modules/development/readyset.nix @@ -6,8 +6,9 @@ ]; home.packages = with pkgs; [ - # This goes in $PATH so I can run it from rofi and parent to my WM + # These go in $PATH so I can run it from rofi and parent to my WM (writeShellScriptBin "dotclip" "xclip -out -selection clipboard | dot -Tpng | feh -") + (writeShellScriptBin "dotcontroller" "curl -s localhost:6033/graph | dot -Tpng | feh -") # TODO(grfn): rain fails to build with Go >=1.18, investigate. (buildGo117Module rec { -- cgit 1.4.1