Skip to content

Dock glass: lighter smoky tint and haze in dark mode - #60

Open
ikurnavenkov wants to merge 3 commits into
0-ss:mainfrom
ikurnavenkov:macos-look
Open

ikurnavenkov wants to merge 3 commits into
0-ss:mainfrom
ikurnavenkov:macos-look

Conversation

@ikurnavenkov

Copy link
Copy Markdown

What changed

Two values in MacShell/dockglass.frag (the Liquid Glass Dock shader), dark mode only:

Before After
Dark tint colour (tintC) vec3(0.09, 0.09, 0.10) vec3(0.15, 0.15, 0.17)
Luminous lift (col +=) mix(0.055, 0.020, dark) mix(0.055, 0.050, dark)

Light mode is unchanged: the mix light-side values are the same.

Why

Over dark wallpapers, the dark-mode tint pulled the Dock towards near-black, so it blended into the background and barely read as glass. The lighter, slightly cool grey tint and the stronger haze give it the smoky, luminous look of the macOS Tahoe Dock.

Notes for review

  • This is a look-and-feel tweak, so the values are a matter of taste. Happy to adjust them.
  • Tested with dockStyle: "liquid", both live and snapshot (glassLive: false), on Hyprland 0.57 / Quickshell 0.3.2. Idle CPU use is unchanged, since only constants changed.
  • The shader is compiled by qsb at shell start; no other files need changing.

🤖 Generated with Claude Code

ikurnavenkov and others added 3 commits November 30, 2026 08:00
In dark mode the Liquid Glass Dock tinted towards near-black, so over dark
wallpapers it blended into the background and barely read as glass. Use a
smoky grey tint (0.15, 0.15, 0.17 instead of 0.09, 0.09, 0.10) and keep a
luminous lift (0.050 instead of 0.020) so the Dock looks closer to the
macOS Tahoe Dock. Light mode is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When a notification contains a one-time code ("Your verification code
is 123456", "G-123456 is your Google verification code", "123 456"),
its banner and its Notification Center card get a "Fill Code 123456"
button, like macOS's code AutoFill.

- otpCode() accepts a 4-8 digit number only when a code word (code,
  passcode, verification, OTP, one-time, PIN, 2FA, authentication) is
  within 120 characters. It skips years, prices, times, dates, phone
  numbers, and numbers inside links or order numbers (#...).
- otpFill() types the code into the focused text box with wtype.
  Clicking a notification doesn't move keyboard focus, so the code
  lands where it is needed. It also copies the code with
  `wl-copy --sensitive`, so cliphist doesn't keep it. Without wtype
  it only copies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The app switcher committed its selection only on Alt release, so a
Command-Tab binding (SUPER + Tab, as on a Mac) opened the switcher but
never switched apps when Command was released. Commit on Meta /
Super_L / Super_R release as well. Alt-Tab behaves as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant