Repository navigation
Dock glass: lighter smoky tint and haze in dark mode - #60
Open
ikurnavenkov wants to merge 3 commits into
Open
ikurnavenkov wants to merge 3 commits into
ikurnavenkov wants to merge 3 commits into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Two values in
MacShell/dockglass.frag(the Liquid Glass Dock shader), dark mode only:tintC)vec3(0.09, 0.09, 0.10)vec3(0.15, 0.15, 0.17)col +=)mix(0.055, 0.020, dark)mix(0.055, 0.050, dark)Light mode is unchanged: the
mixlight-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
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.qsbat shell start; no other files need changing.🤖 Generated with Claude Code