tonybtw.com
tonybtw.com
https://git.tonybtw.com/tonybtw.com.git
git://git.tonybtw.com/tonybtw.com.git
mainly just messed around with the template because i'm procrastinating writing
Diff
diff --git a/.direnv/flake-profile b/.direnv/flake-profile
new file mode 120000
index 0000000..0c05709
--- /dev/null
+++ b/.direnv/flake-profile
@@ -0,0 +1 @@
+flake-profile-1-link
\ No newline at end of file
diff --git a/.direnv/flake-profile-1-link b/.direnv/flake-profile-1-link
new file mode 120000
index 0000000..6347840
--- /dev/null
+++ b/.direnv/flake-profile-1-link
@@ -0,0 +1 @@
+/nix/store/n4m7phq5srzwy6xv7dgji9z9k1xfl6q9-nix-shell-env
\ No newline at end of file
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..3550a30
--- /dev/null
+++ b/.envrc
@@ -0,0 +1 @@
+use flake
diff --git a/content/community/mango.md b/content/community/mango.md
new file mode 100644
index 0000000..a21b4dd
--- /dev/null
+++ b/content/community/mango.md
@@ -0,0 +1,71 @@
+---
+title: "Mango WM"
+description: "Your answer to DWM on Wayland"
+logo: /img/community/argos/mango-logo.png
+date: 2025-09-26
+author: 🐢 argos nothings
+tags: ["mango", "linux"]
+# Put this file at: content/community/<your-title>.md
+# Screenshots should live under: static/img/community/<your-name>/
+---
+
+> This is an example of how to contribute to the **community** section of tonybtw.com.
+> Share a Linux tip, a rice showcase, or a small guide others will enjoy.
+
+---
+
+## Short Description
+A lightweight DWM setup using JetBrainsMono Nerd Font, Gruvbox colors, and a few small patches.
+
+## Screenshots
+Place images in the repo at:
+```
+static/img/community/<your-name>/<file>.png
+```
+
+Then reference them in your Markdown like this (Hugo will serve from `/img/...`):
+```
+
+```
+
+
+## What This Is
+- A quick write-up of your setup or tutorial.
+- Keep it reproducible and concise.
+- Link out to full dotfiles instead of dumping huge configs here.
+
+## Steps / Explanation
+1) Install DWM from source.
+
+2) Apply a couple of patches (e.g., vanity gaps, systray).
+ Example snippet for fonts in `config.h`:
+```
+static const char *fonts[] = {
+ "JetBrainsMono Nerd Font Mono:style=Bold:size=14",
+};
+```
+
+3) Set some Gruvbox colors in `config.h`:
+```
+static const char col_gray1[] = "#282828";
+static const char col_gray2[] = "#3c3836";
+static const char col_gray3[] = "#ebdbb2";
+```
+
+4) Rebuild and start DWM. Include a short note on any keybinds you changed and why.
+
+## Tips for Good Submissions
+- Use fenced code blocks (three backticks) for configs and commands.
+- Add 1–2 screenshots (compressed PNG/JPEG/WebP is best).
+- Include a one-sentence summary at the top and a few tags.
+
+## Links
+- Full dotfiles: https://github.com/yourname/dotfiles
+- DWM homepage: https://dwm.suckless.org
+
+---
+**File placement recap**
+- This file: `content/community/example.md`
+- Your images: `static/images/community/<your-handle>/...`
+- In Markdown, link images as: `/images/community/<your-handle>/<file>.png`
+
diff --git a/layouts/community/list.html b/layouts/community/list.html
index 18619cd..e8365b4 100644
--- a/layouts/community/list.html
+++ b/layouts/community/list.html
@@ -28,6 +28,14 @@
{{ with $page.Description }}
<p class="tutorial-card-description">{{ . }}</p>
{{ end }}
+ {{ with $page.Params.logo }}
+ <div style="position:relative; width: 0; height: 0">
+ <div class="tutorial-card-logo" style="position:absolute; left: 300px; bottom: 40px;">
+ <img src="{{ . | relURL }}" alt="{{ $page.Title }} logo" style="max-width: 100px; max-height: 64px;">
+ </div>
+ </div>
+
+ {{ end }}
</div>
{{ end }}
</div>