Skip to content

Toggle background-opacity alongside background-blur in ghostty-transparency#51

Merged
conallob merged 2 commits into
mainfrom
claude/ghostty-transparency-toggle-2sjl7a
Jun 10, 2026
Merged

Toggle background-opacity alongside background-blur in ghostty-transparency#51
conallob merged 2 commits into
mainfrom
claude/ghostty-transparency-toggle-2sjl7a

Conversation

@conallob

Copy link
Copy Markdown
Owner

Extends ghostty-transparency to toggle background-opacity in tandem with background-blur, confirmed working via the split+reload trick.

  • No arg toggle: blur=false, opacity=0.3blur=true, opacity=0.85
  • With opacity arg: ghostty-transparency 0.75 sets opacity=0.75, blur=true; ghostty-transparency 1 sets opacity=1, blur=false
  • Calling without args from any custom state resets to transparent defaults

Generated by Claude Code

claude added 2 commits June 10, 2026 16:33
Now that the split+reload trick applies blur changes without restart,
test whether opacity follows. Presentation mode sets blur=true +
opacity=0.85; transparent mode sets blur=false + opacity=0.3.

https://claude.ai/code/session_01Wed3ZczKuPX9T5H6c4nMgz
ghostty-transparency 0.75 was setting background-blur=0.75 which is
invalid (blur takes a non-negative integer or named string). Restore the
arg as an opacity value; blur is derived automatically (true unless
opacity=1).

https://claude.ai/code/session_01Wed3ZczKuPX9T5H6c4nMgz
@conallob conallob merged commit 07bd258 into main Jun 10, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants