From e31ae3f553bdf2eb73f42df1663c125565ded462 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sun, 18 Jun 2023 02:01:06 +0800 Subject: [PATCH] feat: update i3 layout's readme & comments --- home/linux/i3/layouts/README.md | 8 ++++++++ home/linux/i3/scripts/restore-idols-monitor.sh | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/home/linux/i3/layouts/README.md b/home/linux/i3/layouts/README.md index c087a93f..ea146400 100644 --- a/home/linux/i3/layouts/README.md +++ b/home/linux/i3/layouts/README.md @@ -5,3 +5,11 @@ This directory contains the layouts for i3. The are generated using the `i3-save-tree` command, and need to customized to make it work. See the [i3 user guide](https://i3wm.org/docs/layout-saving.html) for more information. + +## Idol's Monitor + +the `idol-monitor.json` file contains the layout showing my nix distributed building monitor, it's a 2x2 grid of terminals running `btop`: + +![](/hosts/idols/_img/nix-distributed-building.webp) + +the layout & btop are autostarted by i3. diff --git a/home/linux/i3/scripts/restore-idols-monitor.sh b/home/linux/i3/scripts/restore-idols-monitor.sh index cb28d5a5..776bb29a 100755 --- a/home/linux/i3/scripts/restore-idols-monitor.sh +++ b/home/linux/i3/scripts/restore-idols-monitor.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash +####################################################### +# +# This script restores the layout of the idols monitor. +# +####################################################### + # load the ssh key for idols first ssh-add ~/.ssh/ai-idols