Skip to content

Commit 99585ab

Browse files
Kabuki94claude
andcommitted
fix(theme): GLOBAL chrome defaults -- acrylic 50%, scrollbar-less, frame-less
Per operator (multiple reaffirmations): > "you forgot that the MiOS app/terminal is acrylic set to on > GLOBALLY AND SET TO 50 PERCENT TRANSPARENCY!!!! FRAME-LESS/ > BORDER-LESS/SCROLL-BAR-LESS, ETC--ETC!!! GLOBAL DEFAULTS" mios.toml [theme] reconciled with what Get-MiOS.ps1's WT profile patcher actually applies (which was already correct). The prior [theme] table had wrong values (opacity 0.85 float, cursor_shape filledBox) that didn't match the working code -- a configurator operator editing those keys would've gotten unexpected results. Corrected schema: acrylic = true (was already true) opacity = 50 (was 0.85; WT uses int 0-100) system_backdrop = "acrylic" (NEW; WT 1.18+ per-profile) cursor_shape = "bar" (was "filledBox"; matches code) scrollbar_state = "hidden" (NEW; frame uses every col) padding = "0" (NEW; frame flush to edges) suppress_app_title = true (NEW) launch_mode = "focus" (NEW; frame-less / no-titlebar / no-tab-row) disable_animations = false (NEW; keep WT animations live) Configurator HTML [theme] section expanded: - opacity now int (0-100) with placeholder 50 (was float 0.85) - system_backdrop / scrollbar_state / launch_mode dropdowns added - suppress_app_title checkbox added - cursor_shape default order swapped (bar first; matches GLOBAL default) - legend updated: "(acrylic 50% / frame-less / scrollbar-less = MiOS GLOBAL defaults)" The WT profile patcher in mios-bootstrap will land concurrently -- it now READS these values from mios.toml via Get-MiosTomlValue instead of hardcoding, so editing in the configurator HTML re-skins both MiOS + MiOS-DEV profiles on the next bootstrap run. Memory feedback_mios_terminal_global_chrome captures the contract (WT version-compat table, why useAcrylic + systemBackdrop ship together, why no root-level WT writes). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent fe8b1d0 commit 99585ab

2 files changed

Lines changed: 45 additions & 8 deletions

File tree

usr/share/mios/configurator/index.html

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -481,26 +481,51 @@ <h1>MiOS configurator <span class="v" id="v-meta">schema 1.2.0 / mios 0.2.4</spa
481481
<input type="text" id="f-term-fh" data-key="terminal.frame_height" data-type="int" placeholder="19">
482482
</fieldset>
483483
<fieldset>
484-
<legend>theme</legend>
484+
<legend>theme (acrylic 50% / frame-less / scrollbar-less = MiOS GLOBAL defaults)</legend>
485485
<label for="f-theme-mode">mode</label>
486486
<select id="f-theme-mode" data-key="theme.mode">
487487
<option value="dark">dark</option>
488488
<option value="light">light</option>
489489
</select>
490490
<div class="checkbox-row">
491491
<input type="checkbox" id="f-theme-acrylic" data-key="theme.acrylic">
492-
<label for="f-theme-acrylic">acrylic (WT background blur)</label>
492+
<label for="f-theme-acrylic">acrylic (WT useAcrylic ON)</label>
493493
</div>
494-
<label for="f-theme-opacity">opacity (0.0 - 1.0)</label>
495-
<input type="text" id="f-theme-opacity" data-key="theme.opacity" data-type="float" placeholder="0.85">
494+
<label for="f-theme-opacity">opacity (0-100; 50 = 50% transparency)</label>
495+
<input type="text" id="f-theme-opacity" data-key="theme.opacity" data-type="int" placeholder="50">
496+
<label for="f-theme-backdrop">system_backdrop (WT 1.18+)</label>
497+
<select id="f-theme-backdrop" data-key="theme.system_backdrop">
498+
<option value="acrylic">acrylic</option>
499+
<option value="mica">mica</option>
500+
<option value="default">default</option>
501+
</select>
496502
<label for="f-theme-cursor">cursor_shape</label>
497503
<select id="f-theme-cursor" data-key="theme.cursor_shape">
504+
<option value="bar">bar</option>
498505
<option value="filledBox">filledBox</option>
499506
<option value="emptyBox">emptyBox</option>
500-
<option value="bar">bar</option>
501507
<option value="underscore">underscore</option>
502508
<option value="vintage">vintage</option>
503509
</select>
510+
<label for="f-theme-scroll">scrollbar_state</label>
511+
<select id="f-theme-scroll" data-key="theme.scrollbar_state">
512+
<option value="hidden">hidden (frame uses every col)</option>
513+
<option value="visible">visible</option>
514+
<option value="always">always</option>
515+
</select>
516+
<label for="f-theme-pad">padding</label>
517+
<input type="text" id="f-theme-pad" data-key="theme.padding" placeholder="0">
518+
<div class="checkbox-row">
519+
<input type="checkbox" id="f-theme-supp" data-key="theme.suppress_app_title">
520+
<label for="f-theme-supp">suppress_app_title (WT doesn't override our title)</label>
521+
</div>
522+
<label for="f-theme-launch">launch_mode</label>
523+
<select id="f-theme-launch" data-key="theme.launch_mode">
524+
<option value="focus">focus (frame-less / no-titlebar / no-tab-row)</option>
525+
<option value="default">default</option>
526+
<option value="maximized">maximized</option>
527+
<option value="fullscreen">fullscreen</option>
528+
</select>
504529
</fieldset>
505530
<fieldset>
506531
<legend>theme.font</legend>

usr/share/mios/mios.toml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,10 +1308,22 @@ frame_height = 19 # rows - 1 -- dashboard box max height
13081308
# oh-my-posh renderer, GTK/Adwaita, KDE Plasma) read.
13091309
# ----------------------------------------------------------------------------
13101310
[theme]
1311+
# GLOBAL MiOS terminal defaults -- per operator: "the MiOS app/terminal
1312+
# is acrylic set to on GLOBALLY AND SET TO 50 PERCENT TRANSPARENCY!!!!
1313+
# FRAME-LESS/BORDER-LESS/SCROLL-BAR-LESS, ETC--ETC!!! GLOBAL DEFAULTS".
1314+
# Every WT MiOS / MiOS-DEV profile + every mios-launch.ps1 invocation
1315+
# applies these. Get-MiOS.ps1's Install-MiOSTerminalProfile reads this
1316+
# section and stamps the values into settings.json.
13111317
mode = "dark" # "dark" | "light" (rare; vendor=dark)
1312-
acrylic = true # WT background acrylic ON
1313-
opacity = 0.85 # 0.0 transparent .. 1.0 opaque
1314-
cursor_shape = "filledBox" # WT cursorShape
1318+
acrylic = true # WT useAcrylic ON
1319+
opacity = 50 # WT opacity 0..100 (50 = 50% transparency)
1320+
system_backdrop = "acrylic" # WT 1.18+ per-profile backdrop
1321+
cursor_shape = "bar" # WT cursorShape
1322+
scrollbar_state = "hidden" # no scrollbar -- frame uses every col
1323+
padding = "0" # zero padding -- frame flush to edges
1324+
suppress_app_title = true # WT doesn't override our title
1325+
launch_mode = "focus" # frame-less / border-less / no-titlebar / no-tab-row
1326+
disable_animations = false # keep tab-fade / acrylic-recompute live
13151327

13161328
[theme.font]
13171329
family = "GeistMono Nerd Font Mono"

0 commit comments

Comments
 (0)