From 511c4ab1e1bcfb8542236cf8bb814bd44b8977d4 Mon Sep 17 00:00:00 2001 From: Mo8it Date: Mon, 3 Oct 2022 02:53:24 +0200 Subject: [PATCH] Open browser --- .config/zellij/layouts/advlabdb.yml | 10 +++++++++- .config/zellij/layouts/how_to_linux.yml | 12 +++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.config/zellij/layouts/advlabdb.yml b/.config/zellij/layouts/advlabdb.yml index ae9f448..0ef4343 100644 --- a/.config/zellij/layouts/advlabdb.yml +++ b/.config/zellij/layouts/advlabdb.yml @@ -52,4 +52,12 @@ tabs: parts: - direction: Vertical run: - command: { cmd: fish, args: ["-C", "vp advlabdb"] } + command: + { + cmd: fish, + args: + [ + "-C", + "nohup xdg-open http://localhost:5000 &> /dev/null; vp advlabdb", + ], + } diff --git a/.config/zellij/layouts/how_to_linux.yml b/.config/zellij/layouts/how_to_linux.yml index 25b0661..4cb8cad 100644 --- a/.config/zellij/layouts/how_to_linux.yml +++ b/.config/zellij/layouts/how_to_linux.yml @@ -42,7 +42,7 @@ tabs: args: ["-C", "cd ~/code/hosted/how_to_linux/src && nvim"], } - direction: Vertical - name: "run" + name: "mdbook" parts: - direction: Vertical run: @@ -51,3 +51,13 @@ tabs: cmd: fish, args: ["-C", "cd ~/code/hosted/how_to_linux && mdbook serve"], } + - direction: Vertical + name: "test" + parts: + - direction: Vertical + run: + command: + { + cmd: fish, + args: ["-C", "nohup xdg-open http://localhost:3000 &> /dev/null"], + }