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
+3
-2
@@ -51,7 +51,8 @@ case "${1:-run}" in
|
||||
exec quickshell ipc --path "$project_dir/quickshell" call dashboard toggle "${2:-}"
|
||||
;;
|
||||
notch)
|
||||
# glassmxrph notch [toggle|open|close|mode]; mode swaps notch mode and the full bar
|
||||
# glassmxrph notch [toggle|open|close|mode|computer|equalizer]; mode swaps notch mode and the full bar,
|
||||
# computer/equalizer open the notch straight onto that view (or the dashboard tab with the full bar)
|
||||
action=${2:-toggle}
|
||||
[ "$action" = mode ] && action=toggleMode
|
||||
exec quickshell ipc --path "$project_dir/quickshell" call notch "$action"
|
||||
@@ -79,5 +80,5 @@ case "${1:-run}" in
|
||||
settings|close|status)
|
||||
exec quickshell ipc --path "$project_dir/quickshell" call shell "$1"
|
||||
;;
|
||||
*) echo 'Usage: glassmxrph [run|wallpaper|launcher|overview|clipboard|emoji|dashboard [TAB]|notch [toggle|mode]|plugin ACTION|controlcenter|lock|widgets|osd ACTION|notifications ACTION|settings|close|status|doctor]' >&2; exit 2 ;;
|
||||
*) echo 'Usage: glassmxrph [run|wallpaper|launcher|overview|clipboard|emoji|dashboard [TAB]|notch [toggle|mode|computer|equalizer]|plugin ACTION|controlcenter|lock|widgets|osd ACTION|notifications ACTION|settings|close|status|doctor]' >&2; exit 2 ;;
|
||||
esac
|
||||
Reference in new issue
Block a user