Open the equalizer from the notch's album art, and add notch view commands
Clicking the artwork on the notch's Media page swaps in the dashboard's EasyEffects equalizer as a full view, the way Performance opens "Your computer". `glassmxrph notch equalizer|computer` opens the notch straight onto either view (or the matching dashboard tab with the full bar). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a0de1d2c41
commit
fc272e45b2
4 files changed
+137
-57
No files matched your search
@@ -92,6 +92,19 @@ Singleton {
|
||||
else
|
||||
openNotch();
|
||||
}
|
||||
// Opens the notch straight onto a full view ("computer" or "equalizer");
|
||||
// asked again on that view, it closes. With the full bar, the matching
|
||||
// dashboard tab opens instead.
|
||||
function toggleNotchView(view) {
|
||||
if (!notchMode)
|
||||
return toggleDashboard(view === "computer" ? "performance" : "media");
|
||||
if (notchOpen && notchView === view) {
|
||||
notchOpen = false;
|
||||
return;
|
||||
}
|
||||
openNotch();
|
||||
notchView = view;
|
||||
}
|
||||
onNotchModeChanged: if (!notchMode)
|
||||
notchOpen = false
|
||||
// Super+N: swaps between notch mode and the full bar.
|
||||
|
||||
Reference in new issue
Block a user