fix(hyprdrive,hyprlua): keep the last tab clear of the floating close button

.sb-tabbar now reserves 64px on the right, the same way .sb-header already
does for the title: the ✕ is a Gtk.Overlay child, so it claims no layout
space and the tab row grew straight under it once the row got wide enough
(the "General Settings" pill was overlapping the button's circle).

Also documents, next to `config vicinae` in hyprdrive's updater.conf, that
the cosmonaut.toml this deploys to ~/.config/vicinae/ is inert — vicinae only
reads named themes from ~/.local/share/vicinae/themes/, and silently falls
back to its default grey theme when the file isn't there. That is exactly
what happened on this machine: the theme was added after hyprdrive.sh last
ran, so the launcher had been rendering the stock grey palette.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
main
Amir Alexander Abdelbaki 2026-07-29 18:41:56 +02:00
parent f500dd550e
commit 72e0fa8edc
4 changed files with 24 additions and 3 deletions

View File

@ -25,7 +25,18 @@ config scripts
config station-bar
config supersonic-booster
config transmitter-panel
config vicinae
config vicinae # NOTE: settings.json is live from here, but cosmonaut.toml is NOT —
# vicinae only reads named themes from ~/.local/share/vicinae/themes/,
# so the copy this deploys to ~/.config/vicinae/ is inert and the real
# one is installed once by setup/modules/Desktop-Environments/
# hyprdrive.sh (apply-theme.sh then re-colours it in place). After
# editing cosmonaut.toml here, re-run that copy or the launcher keeps
# the old palette — and if the theme file is missing entirely, vicinae
# silently falls back to its default grey dark theme:
# cp -f ~/Dotfiles/desktopenvs/hyprdrive/vicinae/cosmonaut.toml \
# ~/.local/share/vicinae/themes/cosmonaut.toml
# vicinae server # restart: a newly added theme file is only
# # registered at server startup
config xfce4
# ── intentionally not managed here ───────────────────────────────────────────

View File

@ -46,6 +46,10 @@ drawingarea {
/* ---- tab switcher ------------------------------------------------------- */
.sb-tabbar {
margin-bottom: 4px;
/* keep the last tab clear of the floating , which is an overlay child and
* so claims no layout space of its own same reservation .sb-header makes
* for the title (34px button + 20px margin + a little breathing room) */
margin-right: 64px;
}
.sb-tab {
color: @text;

View File

@ -44,7 +44,10 @@ drawingarea {
}
/* ---- tab switcher --------------------------------------------------------- */
.sb-tabbar { margin-bottom: 4px; }
/* margin-right keeps the last tab clear of the floating , which is an overlay
* child and so claims no layout space of its own same reservation .sb-header
* makes for the title (34px button + 20px margin + breathing room) */
.sb-tabbar { margin-bottom: 4px; margin-right: 64px; }
.sb-tab {
color: @text;
background-color: @violet;

View File

@ -44,7 +44,10 @@ drawingarea {
}
/* ---- tab switcher --------------------------------------------------------- */
.sb-tabbar { margin-bottom: 4px; }
/* margin-right keeps the last tab clear of the floating , which is an overlay
* child and so claims no layout space of its own same reservation .sb-header
* makes for the title (34px button + 20px margin + breathing room) */
.sb-tabbar { margin-bottom: 4px; margin-right: 64px; }
.sb-tab {
color: @text;
background-color: @violet;