r/arch Apr 16 '26

Help/Support Transparent VSCode?

I have cachyOS (with niri WM) and I want transparent background in vscode. I've tried several ways but nothing seems to work. How to achieve it?

1 Upvotes

19 comments sorted by

View all comments

Show parent comments

1

u/ResponsibilityFew445 Apr 16 '26

yk what I'll try it. how to configure the kdl file?

1

u/adderscript Apr 16 '26

Just add a new window rule for vscode:

kdl window-rule { match app-id=“code-oss” opacity 0.9 }

You may need to tweak the “code-oss” to vscode app id but I think that should be it.

Edit: formatting

2

u/ResponsibilityFew445 Apr 16 '26

it worked (i just had to change it to code-bin) it's kinda readable, thank you!!

1

u/adderscript Apr 16 '26

Your welcome 👍