Move the look of the desktop to Trigger > Appearance (#14973)
* Move the look of the desktop to Trigger > Appearance Menu Bar, Battery Percentage, Workspace Layout, Window Gaps, Animations, and 1-Window Ratio change how the desktop looks rather than switching a behavior, so they leave Trigger > Toggle for their own menu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Use the animation icon for Appearance > Animations Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Open clipboard history from Trigger Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Test the Trigger > Appearance split and Clipboard History placement Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
dc50bbe574
commit
c09ddcff90
6 files changed
+27
-12
No files matched your search
@@ -376,9 +376,22 @@ assertEqual(
|
||||
'omarchy-bar transparent toggle',
|
||||
'menu exposes Menu Bar transparency as a toggle'
|
||||
)
|
||||
const triggerIds = triggerItems.map(item => item.id)
|
||||
const appearanceLabels = ['Menu Bar', 'Battery Percentage', 'Workspace Layout', 'Window Gaps', 'Animations', '1-Window Ratio']
|
||||
assertEqual(triggerIds.indexOf('trigger.appearance'), triggerIds.indexOf('trigger.toggle') + 1, 'menu places Appearance right after Toggle')
|
||||
assertDeepEqual(
|
||||
defaultItems.filter(item => item.parent === 'trigger.appearance').map(item => item.label),
|
||||
appearanceLabels,
|
||||
'menu gathers the look of the desktop under Trigger > Appearance'
|
||||
)
|
||||
assert(
|
||||
!defaultItems.some(item => item.parent === 'trigger.toggle' && appearanceLabels.includes(item.label)),
|
||||
'menu leaves the appearance entries out of Trigger > Toggle'
|
||||
)
|
||||
assertEqual(triggerIds.indexOf('trigger.clipboard-history'), triggerIds.indexOf('trigger.emoji') + 1, 'menu places Clipboard History right after Emoji')
|
||||
assert(
|
||||
!defaultItems.some(item => item.id.startsWith('style.background-intro'))
|
||||
&& defaultById['trigger.toggle.animations'].action === 'omarchy-toggle-animations',
|
||||
&& defaultById['trigger.appearance.animations'].action === 'omarchy-toggle-animations',
|
||||
'menu uses the existing animations toggle without separate background intro controls'
|
||||
)
|
||||
assertDeepEqual(
|
||||
|
||||
Reference in new issue
Block a user