You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected outcome: Invert colors in System Settings > Accessibility > Display is disabled after calling hs.screen.setInvertedPolarity(false)
Actual outcome: Invert colors in System Settings > Accessibility > Display remains enabled after calling hs.screen.setInvertedPolarity(false)
Steps to repro:
Execute hs.screen.setInvertedPolarity(true) in HS console
Confirm Invert colors is enabled in System Settings > Accessibility > Display
Navigate back to System Settings > Accessibility from Display
Execute hs.screen.setInvertedPolarity(false) in HS console
Colors will return to non-inverted state butInvert colors is still enabled in System Settings > Accessibility > Display and clicking on an unfocused window will re-apply inverted colors.
The text was updated successfully, but these errors were encountered:
I haven't looked into the code yet, but it's entirely possible you might need to give Hammerspoon Full Disk Access if it's modifying property list files.
I haven't looked into the code yet, but it's entirely possible you might need to give Hammerspoon Full Disk Access if it's modifying property list files.
That's a possibility and I'll give it a shot but, oddly, enabling the feature is reflected 100% reliably.
Hammerspoon v1.0.0 (6864)
macOS Sequoia 15.1.1
Expected outcome:
Invert colors
inSystem Settings > Accessibility > Display
is disabled after callinghs.screen.setInvertedPolarity(false)
Actual outcome:
Invert colors
inSystem Settings > Accessibility > Display
remains enabled after callinghs.screen.setInvertedPolarity(false)
Steps to repro:
hs.screen.setInvertedPolarity(true)
in HS consoleInvert colors
is enabled inSystem Settings > Accessibility > Display
System Settings > Accessibility
fromDisplay
hs.screen.setInvertedPolarity(false)
in HS consoleColors will return to non-inverted state but
Invert colors
is still enabled inSystem Settings > Accessibility > Display
and clicking on an unfocused window will re-apply inverted colors.The text was updated successfully, but these errors were encountered: