Add notch speeds and a glassy-when-open option

- Settings → Notch → Look: separate opening, closing and colour-change
  speeds for the notch and the notch-mode launcher.
- "Glassy when open" keeps the custom colour/opacity on the docked notch
  and fades the open notch and launcher back to the normal glass; closing
  never outlasts the shrink, so it docks in the docked colour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-11-12 17:24:31 +01:00
1 parent e4ca1f5d9c
commit efaace0f15
9 files changed
+87 -19

No files matched your search

+36
View File
@@ -85,6 +85,42 @@ SettingsPage {
step: 1
unit: "%"
}
PreferenceToggle {
label: "Glassy when open"
description: "Keeps the colour and opacity on the docked notch; the open notch and launcher fade back to the normal glass"
icon: "󰂵"
setting: "notch.glassOnOpen"
}
PreferenceSlider {
label: "Opening speed"
description: "Notch and launcher; 100% follows the shell's animation duration"
icon: "󰓅"
setting: "notch.openSpeed"
from: 25
to: 300
step: 5
unit: "%"
}
PreferenceSlider {
label: "Closing speed"
description: "100% follows the shell's animation duration"
icon: "󰾆"
setting: "notch.closeSpeed"
from: 25
to: 300
step: 5
unit: "%"
}
PreferenceSlider {
label: "Colour change speed"
description: "How fast the docked colour turns glassy when opening (closing never outlasts the close)"
icon: "󰏘"
setting: "notch.colorSpeed"
from: 25
to: 300
step: 5
unit: "%"
}
SettingRow {
title: "Notch colour"
description: root.options.color ? "Custom colour" : "Glass tint (Appearance)"