Revert VSCodium title bar CSS override

Wayland/Mutter forces server-side decorations when the custom title bar
is collapsed, which looked worse than the slim custom bar. Reverting to
stock VSCodium with compact menu + no command center handled in user
settings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-16 19:51:43 +01:00
parent 362f3b3d86
commit cb92db7ad8

View file

@ -21,15 +21,7 @@
adwsteamgtk
proton-vpn
onlyoffice-desktopeditors
(vscodium.overrideAttrs (old: {
postFixup = (old.postFixup or "") + ''
workbenchHtml="$out/lib/vscode/resources/app/out/vs/code/electron-browser/workbench/workbench.html"
if [ -f "$workbenchHtml" ]; then
substituteInPlace "$workbenchHtml" \
--replace-fail '</head>' '<style>.monaco-workbench .part.titlebar { height: 0 !important; min-height: 0 !important; overflow: hidden !important; visibility: hidden !important; }</style></head>'
fi
'';
}))
vscodium
];
programs.nix-ld.enable = true;