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:
parent
362f3b3d86
commit
cb92db7ad8
1 changed files with 1 additions and 9 deletions
|
|
@ -21,15 +21,7 @@
|
||||||
adwsteamgtk
|
adwsteamgtk
|
||||||
proton-vpn
|
proton-vpn
|
||||||
onlyoffice-desktopeditors
|
onlyoffice-desktopeditors
|
||||||
(vscodium.overrideAttrs (old: {
|
vscodium
|
||||||
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
|
|
||||||
'';
|
|
||||||
}))
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue