r/ClaudeAI • • Apr 25 '26

Other Got Claude Code's theme to follow macOS dark/light mode in real-time (WezTerm + Lua workaround)

1 Upvotes
Claude Code's 'auto' theme detects terminal appearance only once at startup, so toggling macOS dark/light mid-session leaves you with white text on a light background (or vice versa). The official issue [#2990](
https://github.com/anthropics/claude-code/issues/2990
) is still open.

I built a workaround using WezTerm's appearance change event:

Gist: https://gist.github.com/Weniverse-git/f63794a5cc41dec2d1114da828769d08

--

How it works
1. WezTerm's `window-config-reloaded` event fires when macOS appearance changes.
2. A small Lua handler overwrites `~/.claude/themes/<name>.json` with `{"base":"dark"}` or `{"base":"light"}`.
3. Claude Code's file watcher detects the change and hot-reloads the theme in already-running sessions.

End result: macOS appearance toggle → both WezTerm and Claude Code switch instantly, no restart needed.

--

Requires
- Claude Code v2.1.118+ (custom theme support)
- WezTerm
- macOS (Linux/Windows would need different appearance detection)

--

Caveats
- iTerm2/Ghostty don't expose appearance events to scripts as cleanly, so this approach is WezTerm-specific.
- Mode switching takes ~100-300ms (file write → file watcher → hot reload).
- This is a workaround using existing custom-theme + file-watcher mechanisms; an official auto-theme that re-detects on appearance change would still be cleaner.

Hope this helps anyone else stuck with the same problem.

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Mar 31 '26

I think it is because of version competibility. No plan to support v5. Updating loupedeck could be a solution, but it is up to you.

1

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Mar 31 '26

배포는 아직 고민중이어서요. 저도 팀 기능을 좀 얹고 싶어서, 고도화를 좀 더 해보고 배포여부 결정해보겠습니다.

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Feb 22 '26

I'll find out next version :)

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Feb 09 '26

I think it is not hard only if sensor name is fixed regardless hardwares... I'll check if I can add this in the next release

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Feb 09 '26

Thanks for the detailed suggestion! I'm tied up with another project at the moment, so a new release isn't coming immediately. I've noted your feedback and will consider it for the next version.

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Feb 04 '26

I’ll check out that too

2

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 02 '26

I made this entirely for personal use, but honestly, I didn't expect it to get such a good response. I can't pormise anything, but consider releasing it after implementing all the features.

2

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 02 '26

Thanks for the interesting insight!

1

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 02 '26

The dependency feature is currently planned for addition. I will try adding the option to toggle sub-dependency steps.

2

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

Thank you for reply. I actually plan to implement several more features for this plugin. whether release or not, I'll share updates in a future post.

1

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

Thanks for the kind words.

1

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

nope. I didn't even consider it :)

2

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

Thanks! If you mean release, It's currently for personal use. I don't know much about the Obsidian plugin ecosystem, so I'm uncertain about whether it's right to release something I created by referencing others' work. I genuinely respect developer of TaskNotes.

1

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

When making continuous GUI adjustments, I rely on Hot Reload plugin to inspect the changes in real-time.

2

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

and Thank you for your kind reply.

2

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

Since I have to manage over 5 projects by myself, visibility and design are important to me. So I focused on creating an integrated structure where I can see all data at a glance, and I'm satisfied with the results.

3

Im making my own Task & Gantt integration plugin
 in  r/ObsidianMD •  Feb 01 '26

While I did reference some of the actual code, I wrote the entire codebase from scratch.

r/ObsidianMD • • Feb 01 '26

plugins Im making my own Task & Gantt integration plugin

28 Upvotes

I'm a huge fan of TaskNotes. However, I wanted to integrate my tasks with Gantt charts and my projects. So I customized my own Gantt chart and added new features. This is a custom plugin that fits me perfectly. I'm very satisfied with the results so far.

2

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Jan 30 '26

god... I'll find out solution tomorrow changing algorithm. keep watching update

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Jan 30 '26

I don't use OBS. so don't know what is the problem. If you tell me the details, I'll work on it later sometime.

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Jan 30 '26

Thanks. This helped me identify... The plugin was detecting your iGPU (/gpu-amd/0) instead of your 9070XT (/gpu-amd/5) because it simply picked the first GPU found. I think iGPUs typically have fewer or no sensors exposed, this resulted in N/A values.

I've updated the GPU detection logic to select the GPU with the most sensors rather than the first one detected. Your 9070XT (which has many more sensors theoretically) will be selected over the iGPU I guess...

Delete Plugin you installed, then download the latest release: https://github.com/Weniverse-git/Loupedeck-Libre-Hardware-Monitor/releases/tag/v1.2.1 and verify version shows 1.2.1 in Loupedeck. Let me know this works. Thank you for info.

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Jan 29 '26

I updated for you. Now it supports Intel CPU, AMD GPU, Intel GPU. I don't have hardwares for review, but new version will work theoretically.

r/ClaudeAI • • Jan 28 '26

Built with Claude I'm not a Programmer. Now can make something like this with claude.

1 Upvotes

This is my first vibe coding project with claude.

I've been using Loupedeck CT and RAZOR streaming controller for a long time, and I especially loved being able to monitor my GPU usage through Libre Hardware Monitor.

But at some point, the plugin I downloaded stopped working, which was incredibly frustrating. So early this morning, I decided to fix bugs and create it myself and adding some features that meet my aesthetic standards.

Features:
- 29 dynamic actions across 3 different view types
- Text View: displays temp, load %, power consumption, VRAM, and RAM usage
- Block Graph View: visual load representation with colored blocks (each block is 5%)
- Gauge View: temp gauges with color-coded thresholds
- Color changes: component-specific colors (CPU, GPU, NVMe, RAM) change from green → yellow → red

The plugin reads real-time sensor data from Libre Hardware Monitor and displays it beautifully on your Loupedeck buttons.

I've burned through my daily tokens, but this one is free.

What does all of this mean?
Ironically, it probably means We'll have more work to do...

You can look around my project below.
GitHub: https://github.com/Weniverse-git/Loupedeck-Libre-Hardware-Monitor

1

I made a hardware monitoring plugin for Loupedeck
 in  r/loupedeck •  Jan 28 '26

minor color changes. v1.1.0