Toggle rotation on external screens
Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/ToggleScreenRotation.spoon.zip
Makes the following simplifying assumptions:
rotating_angles
, and which apply to all
screens)Signature | ToggleScreenRotation.rotating_angles |
---|---|
Type | Variable |
Description | Two-element table containing the rotation angles for "normal" and "rotated". Defaults to |
Source | Source/ToggleScreenRotation.spoon/init.lua line 35 |
Signature | ToggleScreenRotation.screens_to_skip |
---|---|
Type | Variable |
Description | Lua patterns for screens that shouldn't be rotated, even if they match one of the patterns. |
Notes |
|
Source | Source/ToggleScreenRotation.spoon/init.lua line 27 |
Signature | ToggleScreenRotation:bindHotkeys(mapping) |
---|---|
Type | Method |
Description | Binds hotkeys for ToggleScreenRotation. |
Parameters |
|
Returns | |
Source | Source/ToggleScreenRotation.spoon/init.lua line 97 |