No description
Find a file
Alan 7c210e5707 feat: add CYBERDECK + STEAM drives, compact layout for dev machine
- Add CYBERDECK (/mnt/CYBERDECK_01) and STEAM (/media/gamedisk) to STORAGE
- Fix script paths from /home/alan/projects to /mnt/CYBERDECK_01/projects
- Shrink graphs (temp 16px, CPU 18px), bars 4px, process font size=8
- Reduce section icon fonts 14→13, clock 16→15

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 15:23:20 -04:00
fonts Initial commit: systemconky1 config for 4K KDE Plasma setup 2026-02-04 16:24:20 -05:00
scripts feat: replace JSONL Claude section with OAuth API usage bars 2026-04-26 00:33:48 -04:00
.gitignore Initial commit: systemconky1 config for 4K KDE Plasma setup 2026-02-04 16:24:20 -05:00
LICENSE Add GPL-3.0 license 2026-02-27 08:39:43 -05:00
README.md feat: add Claude usage widget + resize for 360px at 4K/200% scaling 2026-04-26 01:19:00 -04:00
RTX3080conky.conf feat: add CYBERDECK + STEAM drives, compact layout for dev machine 2026-04-26 15:23:20 -04:00
systemconky1.conf feat: add Claude usage widget + resize for 360px at 4K/200% scaling 2026-04-26 01:19:00 -04:00

Conky Configurations

Custom Conky system monitor configurations for Alan's CachyOS/KDE Plasma machines. Both use the same Matrix cyberpunk colour theme but are tuned for different hardware and display scaling.

Configurations

RTX3080conky.conf — Dev Box

CPU AMD Ryzen 7 5700X (16 threads)
GPU NVIDIA GeForce RTX 3080 12GB
Display 2560x1440 @ 144Hz, 150% Plasma scaling
Storage Root (btrfs SSD)
Panel 280px wide, 885px min-height, font size 9

Full system monitor plus a Claude Code usage section that shows real-time API plan utilisation via the Anthropic OAuth endpoint. All fonts and graph sizes are scaled down to fit the 150% HiDPI scaling.

  • Date/time, kernel, uptime
  • Temperature monitoring (CPU, GPU, NVMe) with live graphs
  • CPU usage with per-core graphs (16 threads, 4x4 grid)
  • RAM usage bar and top 5 processes
  • Root storage bar
  • GPU utilisation and VRAM (nvidia-smi)
  • Network stats (wlan0)
  • Claude Code usage — 5-hour session and 7-day weekly utilisation bars with percentage and reset countdown

systemconky1.conf — Home Server

CPU Intel Xeon E5-2673 v4 (20 cores)
GPU NVIDIA GeForce GTX 1050 Ti
Display 3840x2160 (4K), 200% Plasma scaling
Storage Root, Media (bcachefs), Media2 (bcachefs), TempNVME
Panel 400px wide, 1008px min-height, font size 9

Full system monitor with Claude Code usage section. Sized for 4K at 200% scaling (1008px fills screen to taskbar) with larger fonts and wider graphs. Shows storage bars for all four mounted drives.

Key Differences

RTX3080 (dev) systemconky1 (server)
Panel width 280px 400px
Base font size 9 size 9
CPU cores shown 16 (4x4) 20 (5x4)
Storage mounts Root only Root, Media, Media2, TempNVME
Claude section Yes (OAuth API) Yes (OAuth API)
Display scaling 150% (HiDPI) 200% (4K HiDPI)

Claude Code Usage Widget

Both configs include a Claude Code usage section powered by two scripts in scripts/:

conky-claude-usage.py — Fetches plan utilisation from the Anthropic OAuth API (https://api.anthropic.com/api/oauth/usage) using the token in ~/.claude/.credentials.json. Results are cached for 5 minutes in /tmp/claude-usage-cache.json. Writes percentage and reset countdown values to /tmp/claude-{5h,7d}-{pct,reset} files for conky to read.

claude-bars.sh — Reads the cached percentage files and outputs conky markup with colour-coded bars:

  • Green (#00FF41) — usage below 75%
  • Orange (#FFAA44) — usage 7589%
  • Red (#FF4500) — usage 90%+

The widget shows two rolling windows:

  • 5h Session — resets every 5 hours, reflects recent burst usage
  • 7d Weekly — resets every 7 days, reflects sustained usage against plan limits

Requires an active Claude Code OAuth session. If the token expires, run claude once to refresh it.

Colour Palette (Matrix Cyberpunk)

Shared across both configurations:

Element Colour Hex
Text Pale green #A0FFA0
Dividers/CPU Matrix green #00FF41
RAM/Claude labels Electric cyan #00FFFF
GPU Magenta #FF00FF
Storage Dark cyan #008B8B
Temps Orange-red #FF4500

Fonts Required

Located in fonts/ directory:

  • Conky Icons by Carelli.ttf — main icon font (working on Wayland)
  • ConkySymbols.ttf — alternative icon font (may not work on Wayland)

Font Installation

cp fonts/*.ttf ~/.local/share/fonts/
fc-cache -f

Icon Character Mappings (Conky Icons by Carelli)

  • h — Thermometer (temps)
  • f — CPU chip
  • j — RAM
  • k — Storage/disk
  • n — GPU
  • b — Network
  • c — Claude section

Usage

# Dev box (RTX 3080)
cp RTX3080conky.conf ~/.config/conky/conky.conf

# Home server
cp systemconky1.conf ~/.config/conky/conky.conf

# Run conky
conky &

Notes

  • Uses nvidia-smi for GPU stats (Wayland-compatible, unlike ${nvidia} variables)
  • hwmon indices vary by machine — check /sys/class/hwmon/ after boot
  • Network interface: wlan0 (change to enp5s0 for ethernet)
  • The Claude widget requires python3 and an active ~/.claude/.credentials.json

License

GPL-3.0 — see LICENSE.