Overview
General window actions provide essential window management functionality. These actions are defined in the staticgeneral array (line 75):
Fullscreen & Maximize Actions
fullscreen
Enters native macOS fullscreen mode for the frontmost window.Raw Value:
"Fullscreen"URL Scheme: loop://FullscreenFrame Values: CGRect(x: 0, y: 0, width: 1.0, height: 1.0) (line 113)Behavior:- Triggers macOS native fullscreen
- Creates a new Space for the window
- Hides menu bar and dock
- Different from
.maximizewhich resizes within current space
maximize
Maximizes the window to fill the entire available screen space.Raw Value:
"Maximize"URL Scheme: loop://MaximizeFrame Values: CGRect(x: 0, y: 0, width: 1.0, height: 1.0) (line 111)Behavior:- Resizes to 100% of available screen space
- Stays in current Space (doesn’t create new Space)
- Menu bar and dock remain accessible
almostMaximize
Maximizes the window to 90% of screen space, centered with equal margins.Raw Value:
"AlmostMaximize"URL Scheme: loop://AlmostMaximizeFrame Values: CGRect(x: 0.5/10.0, y: 0.5/10.0, width: 9.0/10.0, height: 9.0/10.0) (line 112)Behavior:- Window occupies 90% width and 90% height
- 5% margin on all sides
- Useful for focusing on content while maintaining visual context
maximizeHeight
Maximizes only the window height, maintaining current width and horizontal position.Raw Value:
"MaximizeHeight"URL Scheme: loop://MaximizeHeightBehavior:- Extends window vertically to full screen height
- Preserves current horizontal position and width
- Useful for documents and code editing
maximizeWidth
Maximizes only the window width, maintaining current height and vertical position.Raw Value:
"MaximizeWidth"URL Scheme: loop://MaximizeWidthBehavior:- Extends window horizontally to full screen width
- Preserves current vertical position and height
- Useful for wide content like timelines or spreadsheets
fillAvailableSpace
Expands the window to fill all available space not occupied by other windows.Raw Value:
"FillAvailableSpace"URL Scheme: loop://FillAvailableSpaceBehavior:- Intelligently detects gaps and available screen space
- Resizes to fill space without overlapping other windows
- Useful for tiling workflows
Centering Actions
center
Centers the window on screen, maintaining its current size.Raw Value:
"Center"URL Scheme: loop://CenterBehavior:- Moves window to screen center
- Preserves current window dimensions
- Loop’s default centering behavior
willCenter property (line 97)macOSCenter
Centers the window using macOS native centering behavior.Raw Value:
"MacOSCenter"URL Scheme: loop://MacOSCenterBehavior:- Uses macOS system centering algorithm
- May differ slightly from Loop’s
.centeraction - Preserves current window dimensions
willCenter property (line 97)Window Management Actions
minimize
Minimizes the frontmost window to the Dock.Raw Value:
"Minimize"URL Scheme: loop://MinimizeBehavior:- Sends window to Dock with minimize animation
- Window remains open but hidden
- Click Dock icon to restore
minimizeOthers
Minimizes all windows except the frontmost window.Raw Value:
"MinimizeOthers"URL Scheme: loop://MinimizeOthersBehavior:- Keeps current window visible
- Minimizes all other windows to Dock
- Useful for quick workspace cleanup
hide
Hides the frontmost application and all its windows.Raw Value:
"Hide"URL Scheme: loop://HideBehavior:- Hides entire application (not just current window)
- Equivalent to Cmd+H
- Use Cmd+Tab or click app icon to restore
Usage Examples
URL Scheme
Keyboard Shortcuts
Bind these actions to keyboard shortcuts in Loop’s keybind settings using their raw values:MaximizeCenterMinimize- etc.
Properties
General actions have specific computed property behaviors:Returns
true for: .fullscreen, .maximize, .almostMaximize, .maximizeHeight, .maximizeWidth, .fillAvailableSpace, and centering actions (line 106)When true, these actions fill the entire radial menu circle instead of occupying a specific angle.Returns
false for: .minimize, .minimizeOthers, .hide (line 101-102)These actions don’t appear in the radial menu’s directional interface.Related Actions
See also:- Halves & Quarters - For split-screen positioning
- Size Adjustment - For incremental sizing
- WindowDirection Overview - For complete action reference