commit
Updates
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index b27c976..23ec2f7 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: ShellCheck the installers and scripts
- run: shellcheck -S warning install install-*.sh binaries/*
+ run: shellcheck -S warning install install-*.sh build-site.sh binaries/*
- name: ShellCheck bashrc
run: shellcheck -S warning -s bash bashrc
@@ -21,7 +21,7 @@ jobs:
- name: Dry runs (no changes)
run: |
- ./install --dry-run --defaults --with-sddm
+ ./install --local --dry-run --defaults
- name: Install into a scratch home, then delete the clone
run: |
diff --git a/.gitignore b/.gitignore
index a123dd1..7914e4b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,6 +27,7 @@
!/xsettingsd/
!/index.html
!/site.css
+!/build-site.sh
*.bak*
*.swp
diff --git a/build-site.sh b/build-site.sh
new file mode 100755
index 0000000..3ce6575
--- /dev/null
+++ b/build-site.sh
@@ -0,0 +1,33 @@
+#!/usr/bin/env bash
+# build-site.sh: build dots.doughmination.gay into public/. Cloudflare Pages runs
+# this on every push (build command: bash build-site.sh, output: public).
+#
+# public/ gets the web page, the installer, and the whole repo as a tarball for
+# the installer to download. Pages refuses files over 25 MiB, so the tarball is
+# split into 20 MB pieces, listed in dots.parts, with its checksum next to it.
+
+set -euo pipefail
+
+cd "$(dirname "$0")"
+OUT=public
+PIECE=20m
+
+rm -rf "$OUT"
+mkdir -p "$OUT"
+
+cp \
+ index.html \
+ site.css \
+ screenshot.png \
+ install \
+ "$OUT/"
+
+git archive --format=tar.gz HEAD >"$OUT/dots.tar.gz"
+(cd "$OUT" && sha256sum dots.tar.gz >dots.tar.gz.sha256)
+
+split -b "$PIECE" "$OUT/dots.tar.gz" "$OUT/dots.tar.gz.part-"
+rm "$OUT/dots.tar.gz"
+(cd "$OUT" && ls dots.tar.gz.part-* >dots.parts)
+
+echo "Built $OUT/:"
+ls -l "$OUT"
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..6a42868
--- /dev/null
+++ b/index.html
@@ -0,0 +1,419 @@
+<!-- index.html -->
+
+<!DOCTYPE html>
+<html lang="en-GB">
+
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Clockwork Dots</title>
+ <meta name="description" content="Clove's swayfx dotfiles. Deep-space navy, gear cyan, crimson and gold.">
+ <meta name="theme-color" content="#050A14">
+
+ <link rel="preconnect" href="https://fonts.googleapis.com">
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+ <link rel="stylesheet"
+ href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap">
+ <link rel="stylesheet" href="site.css">
+</head>
+
+<body>
+ <header class="top">
+ <div class="wrap top-inner">
+ <a class="brand" href="#">
+ <span class="brand-dot" aria-hidden="true"></span>
+ dots
+ </a>
+
+ <nav>
+ <a href="#install">install</a>
+ <a href="#bar">bar</a>
+ <a href="#keys">keys</a>
+ <a href="https://github.com/doughmination/dots">github</a>
+ </nav>
+ </div>
+ </header>
+
+ <main>
+ <section class="hero wrap">
+ <p class="eyebrow">Clockwork</p>
+ <h1>Clove's dots</h1>
+ <p class="subtitle">swayfx on Void Linux, and hopefully on your distro too.</p>
+
+ <p class="lede">
+ The whole theme comes from the wallpaper: deep-space navy, glowing gear cyan,
+ crimson and gold. Bar, terminal, launcher, lock screen and login screen all match.
+ </p>
+
+ <figure class="shot">
+ <img src="screenshot.png"
+ alt="Split view: the desktop with waybar along the top on the left, the gtklock lock screen on the right"
+ width="1920" height="1080">
+ </figure>
+ </section>
+
+ <section class="wrap block">
+ <h2>What's in it</h2>
+
+ <dl class="parts">
+ <div>
+ <dt>swayfx</dt>
+ <dd>window manager, with blur, shadows and rounded corners</dd>
+ </div>
+ <div>
+ <dt>waybar</dt>
+ <dd>status bar</dd>
+ </div>
+ <div>
+ <dt>kitty</dt>
+ <dd>terminal, with an oh-my-posh prompt</dd>
+ </div>
+ <div>
+ <dt>fuzzel</dt>
+ <dd>app launcher</dd>
+ </div>
+ <div>
+ <dt>mako</dt>
+ <dd>notifications</dd>
+ </div>
+ <div>
+ <dt>gtklock</dt>
+ <dd>lock screen</dd>
+ </div>
+ <div>
+ <dt>sddm</dt>
+ <dd>login screen to match</dd>
+ </div>
+ <div>
+ <dt>sound</dt>
+ <dd>a looping background track, only while plugged in <span class="muted">(optional)</span></dd>
+ </div>
+ <div>
+ <dt>cursor</dt>
+ <dd>sandrone-linux, which I made myself</dd>
+ </div>
+ </dl>
+
+ <div class="palette" aria-label="Colour palette">
+ <button type="button" style="--swatch: #050A14" data-hex="#050A14">base</button>
+ <button type="button" style="--swatch: #1E2C42" data-hex="#1E2C42">surface</button>
+ <button type="button" style="--swatch: #5FD4F0" data-hex="#5FD4F0">glow</button>
+ <button type="button" style="--swatch: #4A8FE0" data-hex="#4A8FE0">blue</button>
+ <button type="button" style="--swatch: #C8283E" data-hex="#C8283E">crimson</button>
+ <button type="button" style="--swatch: #D7718F" data-hex="#D7718F">rose</button>
+ <button type="button" style="--swatch: #D4B072" data-hex="#D4B072">gold</button>
+ <button type="button" style="--swatch: #5CC8A0" data-hex="#5CC8A0">jade</button>
+ <button type="button" style="--swatch: #E9E4DF" data-hex="#E9E4DF">text</button>
+ </div>
+ <p class="hint">Click a colour to copy it.</p>
+ </section>
+
+ <section class="wrap block" id="install">
+ <h2>Install</h2>
+
+ <p>
+ One line. It grabs the latest version, copies everything into place
+ and cleans up after itself. Re-run it any time to update.
+ </p>
+
+ <pre><code>curl -fsSL https://dots.doughmination.gay/install | bash
+<span class="c"># or see what it'll do first</span>
+curl -fsSL https://dots.doughmination.gay/install | bash -s -- --dry-run</code></pre>
+
+ <p>Rather work from a clone?</p>
+
+ <pre><code>git clone https://github.com/doughmination/dots
+cd dots
+bash install --local</code></pre>
+
+ <p>
+ On Arch, anything missing from the repos comes from the AUR with yay or paru
+ (paru gets installed if you have neither). Anything already in the way is renamed
+ to <code>.bak-<date></code>, never deleted.
+ </p>
+
+ <h3>The six parts</h3>
+ <p>The installer runs these in order. Each one works on its own too.</p>
+
+ <div class="table">
+ <table>
+ <tbody>
+ <tr>
+ <th><code>install-deps.sh</code></th>
+ <td>The software. <code>--no-flatpak</code> or <code>--no-services</code> skip those bits.
+ </td>
+ </tr>
+ <tr>
+ <th><code>install-git.sh</code></th>
+ <td>Your git name, email and default branch.</td>
+ </tr>
+ <tr>
+ <th><code>install-assets.sh</code></th>
+ <td>The font and the cursor.</td>
+ </tr>
+ <tr>
+ <th><code>install-config.sh</code></th>
+ <td>Configs into <code>~/.config</code>, and <code>bashrc</code> to <code>~/.bashrc</code>.
+ </td>
+ </tr>
+ <tr>
+ <th><code>install-scripts.sh</code></th>
+ <td>Helper scripts into <code>~/.local/bin</code>.</td>
+ </tr>
+ <tr>
+ <th><code>install-sddm.sh</code></th>
+ <td>The login screen.</td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <div class="extras">
+ <div>
+ <h3>Login screen</h3>
+ <p>The installer always sets up the SDDM theme. From a clone you can tweak or undo it:</p>
+ <pre><code>./install-sddm.sh
+<span class="c"># still wallpaper instead of the video</span>
+./install-sddm.sh --no-video
+<span class="c"># put your old sddm.conf back</span>
+./install-sddm.sh --uninstall</code></pre>
+ </div>
+
+ <div>
+ <h3>Background sound</h3>
+ <p>Off by default. To turn it on, edit <code>~/.config/sway/config</code> and reload.
+ Re-installing keeps it on.</p>
+ <pre><code>set $ambient_sound on
+set $ambient_volume 30</code></pre>
+ <p><kbd>Super</kbd>+<kbd>M</kbd> mutes it until the next reload.</p>
+ </div>
+ </div>
+ </section>
+
+ <section class="wrap block" id="bar">
+ <h2>The bar</h2>
+ <p>Most of waybar is clickable.</p>
+
+ <div class="table">
+ <table>
+ <thead>
+ <tr>
+ <th>Module</th>
+ <th>Left</th>
+ <th>Middle</th>
+ <th>Right</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <th>Battery</th>
+ <td>Power saver on/off</td>
+ <td>Pick a power profile</td>
+ <td>Performance on/off</td>
+ </tr>
+ <tr>
+ <th>Clock</th>
+ <td>This month's calendar</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Brightness</th>
+ <td>Toggle 15% / 100%</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Network</th>
+ <td>Wi-Fi on/off</td>
+ <td></td>
+ <td>nmtui</td>
+ </tr>
+ <tr>
+ <th>Bluetooth</th>
+ <td>Bluetooth on/off</td>
+ <td>bluetui</td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Volume</th>
+ <td>Mute</td>
+ <td>pavucontrol</td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>CPU / RAM</th>
+ <td>btop</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Picture</th>
+ <td>Still / animated wallpaper</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Coffee cup</th>
+ <td>Stay awake</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Moon</th>
+ <td>Night light</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>Bell</th>
+ <td>Notification list</td>
+ <td></td>
+ <td>Do not disturb</td>
+ </tr>
+ <tr>
+ <th>Package</th>
+ <td>Run the update</td>
+ <td></td>
+ <td></td>
+ </tr>
+ <tr>
+ <th>REC</th>
+ <td>Stop recording</td>
+ <td></td>
+ <td></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+
+ <p class="muted small">
+ The animated wallpaper pauses in power saver, or when the battery's at 20% or less.
+ The package and REC icons only show up when there's something to do.
+ </p>
+ </section>
+
+ <section class="wrap block" id="keys">
+ <h2>Keys</h2>
+ <p>
+ <kbd>Super</kbd>+<kbd>/</kbd> searches every shortcut, and picking one runs it.
+ These are the ones I actually use:
+ </p>
+
+ <dl class="keys">
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>Return</kbd></dt>
+ <dd>terminal</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>Space</kbd></dt>
+ <dd>launcher</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>Q</kbd></dt>
+ <dd>close window</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>F</kbd></dt>
+ <dd>firefox</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>E</kbd></dt>
+ <dd>files (yazi)</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>V</kbd></dt>
+ <dd>clipboard history</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>N</kbd></dt>
+ <dd>last notification</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>B</kbd></dt>
+ <dd>hide the bar</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>W</kbd></dt>
+ <dd>float window</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>R</kbd></dt>
+ <dd>resize mode</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>1</kbd>…<kbd>9</kbd></dt>
+ <dd>workspace (add <kbd>Alt</kbd> to move the window there)</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>Alt</kbd>+<kbd>L</kbd></dt>
+ <dd>lock</dd>
+ </div>
+ <div>
+ <dt><kbd>Print</kbd></dt>
+ <dd>screenshot to clipboard (<kbd>Ctrl</kbd>+<kbd>Shift</kbd> for a region)</dd>
+ </div>
+ <div>
+ <dt><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Print</kbd></dt>
+ <dd>record the screen</dd>
+ </div>
+ <div>
+ <dt><kbd>Super</kbd>+<kbd>A</kbd> <kbd>S</kbd> <kbd>D</kbd></dt>
+ <dd>previous, play/pause, next</dd>
+ </div>
+ <div>
+ <dt><kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>Delete</kbd></dt>
+ <dd>power menu</dd>
+ </div>
+ </dl>
+
+ <p class="muted small">
+ The full list is in the
+ <a href="https://github.com/doughmination/dots#keybindings">README</a>.
+ </p>
+ </section>
+
+ <section class="wrap block">
+ <h2>Tested on</h2>
+
+ <ul class="distros">
+ <li class="yes">Void Linux (glibc)</li>
+ <li class="yes">Arch Linux</li>
+ <li>Debian</li>
+ <li>Ubuntu</li>
+ <li>Fedora</li>
+ <li>NixOS</li>
+ </ul>
+
+ <p class="muted small">
+ The rest should mostly work. If one breaks,
+ <a href="https://github.com/doughmination/dots/issues">open an issue</a>.
+ </p>
+ </section>
+ </main>
+
+ <footer class="wrap foot">
+ <span>Clove Twilight © 2026</span>
+ <span>The wallpaper isn't mine, I found it online. Everything else is.</span>
+ <a href="https://doughmination.gay">doughmination.gay</a>
+ </footer>
+
+ <script>
+ for (const swatch of document.querySelectorAll('.palette button')) {
+ swatch.addEventListener('click', async () => {
+ const hex = swatch.dataset.hex
+
+ try {
+ await navigator.clipboard.writeText(hex)
+ } catch {
+ return
+ }
+
+ swatch.classList.add('copied')
+ setTimeout(() => swatch.classList.remove('copied'), 1200)
+ })
+ }
+ </script>
+</body>
+
+</html>
\ No newline at end of file
diff --git a/install b/install
index e555c2d..e9a09d2 100755
--- a/install
+++ b/install
@@ -1,55 +1,132 @@
#!/usr/bin/env bash
-# install: full setup. Runs, in order:
-# 1. install-deps.sh software (packages, rust + hyfetch, oh-my-posh, flatpaks, services)
-# 2. install-git.sh git name, email and default branch
-# 3. install-assets.sh font and cursor themes
-# 4. install-config.sh copy configs into ~/.config, bashrc to ~/.bashrc
-# 5. install-scripts.sh copy binaries/ into ~/.local/bin
+# install: full setup.
#
-# ./install everything
-# ./install --dry-run print every command without running anything
-# --no-flatpak, --no-services passed through to install-deps.sh
-# --with-sddm also install the Clockwork login theme (install-sddm.sh)
-# --with-sound turn on the background sound (install-config.sh)
-# --git-name=, --git-email=, --git-branch=, --defaults
-# passed through to install-git.sh
-#
-# Each script also works on its own. Everything is copied, so the clone can
-# be deleted afterwards.
+# curl -fsSL https://dots.doughmination.gay/install | bash
+# curl -fsSL https://dots.doughmination.gay/install | bash -s -- --dry-run
+# ./install --local use this clone instead of downloading
set -uo pipefail
-ALL=() DEPS=() CONFIG=() GIT=() PARTS=(deps git assets config scripts)
-for arg in "$@"; do
- case $arg in
- --dry-run) ALL+=("$arg") ;;
- --no-flatpak|--no-services) DEPS+=("$arg") ;;
- --with-sddm) PARTS+=(sddm) ;;
- --with-sound) CONFIG+=("$arg") ;;
- --git-*=*|--defaults) GIT+=("$arg") ;;
- -h|--help) sed -n '2,17p' "$0" | sed 's/^# \{0,1\}//'; exit 0 ;;
- *) echo "Unknown option: $arg (try --help)"; exit 1 ;;
- esac
-done
-
-REPO=$(cd "$(dirname "$0")" && pwd)
-failed=()
-for part in "${PARTS[@]}"; do
- printf '\n\e[1;35m######## install-%s ########\e[0m\n' "$part"
- if [ "$part" = deps ]; then
- "$REPO/install-deps.sh" "${ALL[@]}" "${DEPS[@]}" || failed+=("$part")
- elif [ "$part" = git ]; then
- "$REPO/install-git.sh" "${ALL[@]}" "${GIT[@]}" || failed+=("$part")
- elif [ "$part" = config ]; then
- "$REPO/install-config.sh" "${ALL[@]}" "${CONFIG[@]}" || failed+=("$part")
+SITE=${DOTS_SITE:-https://dots.doughmination.gay}
+
+# download <dest dir>: fetch the tarball pieces build-site.sh made, check the
+# joined tarball against its checksum, and unpack it into <dest dir>
+download() {
+ local dest=$1
+ local parts
+ local part
+
+ parts=$(curl -fsSL "$SITE/dots.parts") || return 1
+ curl -fsSL -o "$dest/dots.tar.gz.sha256" "$SITE/dots.tar.gz.sha256" || return 1
+
+ for part in $parts; do
+ echo " $part"
+ curl -fsSL "$SITE/$part" >>"$dest/dots.tar.gz" || return 1
+ done
+
+ (cd "$dest" && sha256sum --quiet -c dots.tar.gz.sha256) || return 1
+
+ mkdir "$dest/repo"
+ tar -xzf "$dest/dots.tar.gz" -C "$dest/repo"
+}
+
+usage() {
+ cat <<'EOF'
+install: full setup. Downloads the latest dots, then runs, in order:
+ 1. install-deps.sh software (packages, rust + hyfetch, oh-my-posh, flatpaks, services)
+ 2. install-git.sh git name, email and default branch
+ 3. install-assets.sh font and cursor themes
+ 4. install-config.sh copy configs into ~/.config, bashrc to ~/.bashrc
+ 5. install-scripts.sh copy binaries/ into ~/.local/bin
+ 6. install-sddm.sh the Clockwork login screen
+
+ curl -fsSL https://dots.doughmination.gay/install | bash
+ curl -fsSL https://dots.doughmination.gay/install | bash -s -- --dry-run
+
+ --local use the clone this script is in, don't download
+ --dry-run print every command without running anything
+ --no-flatpak, --no-services passed through to install-deps.sh
+ --git-name=, --git-email=, --git-branch=, --defaults
+ passed through to install-git.sh
+
+Everything is copied, so a clone can be deleted afterwards.
+EOF
+}
+
+# Wrapped in a function so bash reads the whole script before running any of
+# it, which matters when it's piped in from curl
+main() {
+ local LOCAL=0
+ local ALL=()
+ local DEPS=()
+ local GIT=()
+ local PARTS=(
+ deps
+ git
+ assets
+ config
+ scripts
+ sddm
+ )
+
+ for arg in "$@"; do
+ case $arg in
+ --local) LOCAL=1 ;;
+ --dry-run) ALL+=("$arg") ;;
+ --no-flatpak|--no-services) DEPS+=("$arg") ;;
+ --git-*=*|--defaults) GIT+=("$arg") ;;
+ -h|--help) usage; exit 0 ;;
+ *) echo "Unknown option: $arg (try --help)"; exit 1 ;;
+ esac
+ done
+
+ if [ "$LOCAL" = 1 ]; then
+ REPO=$(cd "$(dirname "${BASH_SOURCE[0]:-.}")" && pwd)
+ if [ ! -f "$REPO/install-config.sh" ]; then
+ echo "--local needs to run from inside a clone of the dots."
+ exit 1
+ fi
else
- "$REPO/install-$part.sh" "${ALL[@]}" || failed+=("$part")
+ for tool in curl tar sha256sum; do
+ command -v "$tool" >/dev/null || { echo "Needs $tool to download the dots."; exit 1; }
+ done
+
+ TMP=$(mktemp -d)
+ trap 'rm -rf "$TMP"' EXIT
+
+ printf '\e[1;35mDownloading the dots from %s\e[0m\n' "$SITE"
+ if ! download "$TMP"; then
+ echo "Download failed. Check your connection, or clone the repo and use --local."
+ exit 1
+ fi
+ REPO=$TMP/repo
fi
-done
-
-echo
-if [ ${#failed[@]} -gt 0 ]; then
- printf '\e[1;33mFinished, but these steps reported errors: %s\e[0m\n' "${failed[*]}"
- exit 1
-fi
-printf '\e[1;32mAll done.\e[0m Log out and back in (or reboot) to start sway with everything.\n'
+
+ # Prompts (git name, sudo, package managers) read the terminal, not the
+ # pipe from curl. No terminal at all means no prompts.
+ local input=/dev/null
+ if { : </dev/tty; } 2>/dev/null; then
+ input=/dev/tty
+ fi
+
+ local failed=()
+ local extra
+ for part in "${PARTS[@]}"; do
+ printf '\n\e[1;35m######## install-%s ########\e[0m\n' "$part"
+
+ extra=()
+ [ "$part" = deps ] && extra=("${DEPS[@]}")
+ [ "$part" = git ] && extra=("${GIT[@]}")
+
+ bash "$REPO/install-$part.sh" "${ALL[@]}" "${extra[@]}" <"$input" || failed+=("$part")
+ done
+
+ echo
+ if [ ${#failed[@]} -gt 0 ]; then
+ printf '\e[1;33mFinished, but these steps reported errors: %s\e[0m\n' "${failed[*]}"
+ exit 1
+ fi
+ printf '\e[1;32mAll done.\e[0m Log out and back in (or reboot) to start sway with everything.\n'
+}
+
+main "$@"
diff --git a/install-config.sh b/install-config.sh
index 01d6598..a014632 100755
--- a/install-config.sh
+++ b/install-config.sh
@@ -3,7 +3,6 @@
#
# ./install-config.sh copy every config folder/file into ~/.config
# ./install-config.sh --dry-run print the commands without running them
-# ./install-config.sh --with-sound turn on the background sound in sway/config
#
# If the repo already *is* ~/.config there is nothing to do.
# If you cloned it somewhere else (e.g. ~/dots), each config the .gitignore
@@ -17,8 +16,7 @@ DRY=0 SOUND=0
for arg in "$@"; do
case $arg in
--dry-run) DRY=1 ;;
- --with-sound) SOUND=1 ;;
- -h|--help) sed -n '2,11p' "$0" | sed 's/^# \{0,1\}//'; exit 0 ;;
+ -h|--help) sed -n '2,10p' "$0" | sed 's/^# \{0,1\}//'; exit 0 ;;
*) echo "Unknown option: $arg (try --help)"; exit 1 ;;
esac
done
@@ -43,7 +41,7 @@ fi
# Every "!/name" line in .gitignore is a tracked config, minus the repo's own
# files and the assets that install-assets.sh handles.
mapfile -t ITEMS < <(sed -n 's|^!/\([^/]*\)/\{0,1\}$|\1|p' "$REPO/.gitignore" |
- grep -v -x -E '\.gitignore|\.github|README\.md|screenshot\.png|index\.html|site\.css|install.*|icons|binaries|sddm|bashrc')
+ grep -v -x -E '\.gitignore|\.github|README\.md|screenshot\.png|index\.html|site\.css|build-site\.sh|install.*|icons|binaries|sddm|bashrc')
# place <src> <dest> <label>: copy src to dest. An old link into the repo is
# swapped for a copy, an identical copy is left alone, anything else is
diff --git a/site.css b/site.css
new file mode 100644
index 0000000..b6c5e40
--- /dev/null
+++ b/site.css
@@ -0,0 +1,459 @@
+/* site.css */
+
+:root {
+ --base: #050A14;
+ --surface: #0E1828;
+ --surface-high: #1E2C42;
+ --overlay: #4A5A72;
+ --subtext: #8A9AB0;
+ --text: #E9E4DF;
+ --glow: #5FD4F0;
+ --crimson: #C8283E;
+ --gold: #D4B072;
+ --jade: #5CC8A0;
+
+ --line: rgb(95 212 240 / 14%);
+ --glow-dim: rgb(95 212 240 / 10%);
+
+ color-scheme: dark;
+ background: var(--base);
+ color: var(--text);
+ font-family: 'IBM Plex Sans', system-ui, sans-serif;
+}
+
+* {
+ box-sizing: border-box;
+}
+
+body {
+ margin: 0;
+ font-size: 1rem;
+ line-height: 1.6;
+}
+
+/* Faint glow behind the hero, like the gears in the wallpaper */
+body::before {
+ content: '';
+ position: fixed;
+ inset: 0 0 auto;
+ z-index: -1;
+ height: 38rem;
+ background:
+ radial-gradient(50rem 24rem at 80% -6rem, rgb(95 212 240 / 9%), transparent 70%),
+ radial-gradient(30rem 18rem at 0% 0%, rgb(200 40 62 / 7%), transparent 70%);
+ pointer-events: none;
+}
+
+a {
+ color: var(--text);
+ text-decoration-color: rgb(95 212 240 / 50%);
+ text-underline-offset: 0.2em;
+}
+
+a:hover {
+ color: #fff;
+ text-decoration-color: var(--glow);
+}
+
+code,
+pre,
+kbd {
+ font-family: 'JetBrains Mono', ui-monospace, monospace;
+ font-size: 0.88em;
+}
+
+:not(pre) > code {
+ padding: 0.1em 0.35em;
+ border-radius: 0.3rem;
+ background: var(--surface);
+ color: var(--glow);
+}
+
+kbd {
+ display: inline-block;
+ padding: 0.05em 0.45em;
+ border: 1px solid var(--surface-high);
+ border-bottom-width: 2px;
+ border-radius: 0.35rem;
+ background: var(--surface);
+ color: var(--text);
+ line-height: 1.4;
+}
+
+.wrap {
+ width: 100%;
+ max-width: 60rem;
+ margin: 0 auto;
+ padding-inline: 1.5rem;
+}
+
+.muted {
+ color: var(--subtext);
+}
+
+.small {
+ font-size: 0.875rem;
+}
+
+/* Header */
+
+.top {
+ position: sticky;
+ top: 0;
+ z-index: 10;
+ border-bottom: 1px solid var(--line);
+ background: rgb(5 10 20 / 80%);
+ backdrop-filter: blur(10px);
+}
+
+.top-inner {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem 1.5rem;
+ align-items: center;
+ justify-content: space-between;
+ padding-block: 0.8rem;
+}
+
+.brand {
+ display: inline-flex;
+ gap: 0.55rem;
+ align-items: center;
+ font-family: 'JetBrains Mono', monospace;
+ font-weight: 600;
+ text-decoration: none;
+}
+
+.brand-dot {
+ width: 0.65rem;
+ height: 0.65rem;
+ border-radius: 50%;
+ background: var(--glow);
+ box-shadow: 0 0 10px var(--glow);
+}
+
+nav {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 1.25rem;
+ font-size: 0.9rem;
+}
+
+nav a {
+ color: var(--subtext);
+ text-decoration: none;
+}
+
+nav a:hover {
+ color: var(--glow);
+}
+
+/* Hero */
+
+.hero {
+ padding-block: 4.5rem 1rem;
+}
+
+.eyebrow {
+ margin: 0 0 0.5rem;
+ color: var(--glow);
+ font-size: 0.75rem;
+ font-weight: 600;
+ letter-spacing: 0.14em;
+ text-transform: uppercase;
+}
+
+h1 {
+ margin: 0 0 0.25rem;
+ font-size: clamp(2.6rem, 8vw, 4.25rem);
+ font-weight: 700;
+ letter-spacing: -0.03em;
+ line-height: 1.15;
+}
+
+.subtitle {
+ margin: 0 0 1.25rem;
+ color: var(--subtext);
+ font-size: clamp(1.05rem, 2.5vw, 1.25rem);
+}
+
+.lede {
+ max-width: 36rem;
+ margin: 0 0 2.5rem;
+ color: #cfd4dc;
+}
+
+/* Same frame as the bar: thin glowing border, 16px corners */
+.shot {
+ margin: 0;
+ padding: 0.4rem;
+ border: 1px solid rgb(95 212 240 / 45%);
+ border-radius: 16px;
+ background: rgb(5 10 20 / 50%);
+ box-shadow:
+ 0 0 0 4px var(--glow-dim),
+ 0 30px 80px -30px rgb(0 0 0 / 80%);
+}
+
+.shot img {
+ display: block;
+ width: 100%;
+ height: auto;
+ border-radius: 11px;
+}
+
+/* Sections */
+
+.block {
+ padding-block: 3.5rem 0;
+}
+
+h2 {
+ margin: 0 0 1rem;
+ font-size: 1.6rem;
+ font-weight: 600;
+ letter-spacing: -0.01em;
+}
+
+h3 {
+ margin: 2rem 0 0.4rem;
+ font-size: 1.05rem;
+ font-weight: 600;
+}
+
+p {
+ max-width: 42rem;
+}
+
+/* What's in it */
+
+.parts {
+ display: grid;
+ gap: 0;
+ margin: 0;
+ border-top: 1px solid var(--line);
+}
+
+.parts div {
+ display: grid;
+ grid-template-columns: 8rem 1fr;
+ gap: 1rem;
+ padding-block: 0.6rem;
+ border-bottom: 1px solid var(--line);
+}
+
+.parts dt {
+ font-family: 'JetBrains Mono', monospace;
+ color: var(--glow);
+ font-size: 0.92rem;
+}
+
+.parts dd {
+ margin: 0;
+}
+
+/* Palette */
+
+.palette {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+ margin-top: 2rem;
+}
+
+.palette button {
+ display: inline-flex;
+ gap: 0.5rem;
+ align-items: center;
+ padding: 0.3rem 0.8rem 0.3rem 0.35rem;
+ border: 1px solid var(--line);
+ border-radius: 999px;
+ background: var(--surface);
+ color: var(--subtext);
+ font: inherit;
+ font-size: 0.85rem;
+ cursor: pointer;
+ transition: border-color 0.2s ease;
+}
+
+.palette button::before {
+ content: '';
+ width: 1.1rem;
+ height: 1.1rem;
+ border: 1px solid rgb(255 255 255 / 15%);
+ border-radius: 50%;
+ background: var(--swatch);
+}
+
+.palette button:hover {
+ border-color: var(--swatch);
+ color: var(--text);
+}
+
+.palette button.copied {
+ border-color: var(--jade);
+ color: var(--jade);
+}
+
+.hint {
+ margin: 0.6rem 0 0;
+ color: var(--overlay);
+ font-size: 0.8rem;
+}
+
+/* Code */
+
+pre {
+ overflow-x: auto;
+ margin: 1rem 0;
+ padding: 1rem 1.2rem;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+ background: var(--surface);
+ line-height: 1.7;
+}
+
+pre .c {
+ color: var(--overlay);
+}
+
+/* Tables */
+
+.table {
+ overflow-x: auto;
+ margin: 1rem 0;
+ border: 1px solid var(--line);
+ border-radius: 0.75rem;
+}
+
+table {
+ width: 100%;
+ border-collapse: collapse;
+ font-size: 0.92rem;
+}
+
+th,
+td {
+ padding: 0.55rem 0.9rem;
+ border-bottom: 1px solid var(--line);
+ text-align: left;
+ vertical-align: top;
+}
+
+tr:last-child th,
+tr:last-child td {
+ border-bottom: 0;
+}
+
+thead th {
+ background: var(--surface);
+ color: var(--subtext);
+ font-size: 0.8rem;
+ font-weight: 600;
+ letter-spacing: 0.06em;
+ text-transform: uppercase;
+}
+
+tbody th {
+ font-weight: 500;
+ white-space: nowrap;
+}
+
+td:empty::after {
+ content: '·';
+ color: var(--surface-high);
+}
+
+/* Optional extras */
+
+.extras {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
+ gap: 0 2rem;
+}
+
+/* Keys */
+
+.keys {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
+ gap: 0 2rem;
+ margin: 1.25rem 0;
+}
+
+.keys div {
+ display: flex;
+ flex-direction: column;
+ gap: 0.2rem;
+ padding-block: 0.55rem;
+ border-bottom: 1px solid var(--line);
+}
+
+.keys dd {
+ margin: 0;
+ color: var(--subtext);
+ font-size: 0.92rem;
+}
+
+/* Tested on */
+
+.distros {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+ margin: 0;
+ padding: 0;
+ list-style: none;
+}
+
+.distros li {
+ padding: 0.3rem 0.85rem;
+ border: 1px dashed var(--surface-high);
+ border-radius: 999px;
+ color: var(--overlay);
+ font-size: 0.9rem;
+}
+
+.distros li.yes {
+ border: 1px solid rgb(92 200 160 / 45%);
+ color: var(--jade);
+}
+
+.distros li.yes::before {
+ content: '✓ ';
+}
+
+/* Footer */
+
+.foot {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem 1.5rem;
+ justify-content: space-between;
+ margin-top: 5rem;
+ padding-block: 1.5rem 2.5rem;
+ border-top: 1px solid var(--line);
+ color: var(--overlay);
+ font-size: 0.85rem;
+}
+
+.foot a {
+ color: var(--subtext);
+}
+
+@media (max-width: 34rem) {
+ .parts div {
+ grid-template-columns: 1fr;
+ gap: 0;
+ }
+
+ .hero {
+ padding-block: 3rem 1rem;
+ }
+}
+
+@media (prefers-reduced-motion: reduce) {
+ .palette button {
+ transition: none;
+ }
+}