Skip to main content

Overview

Thirds and fourths provide more granular window positioning than halves, enabling precise layouts for multi-window workflows. These actions divide the screen into thirds (33.33%) or fourths (25%) along horizontal or vertical axes.

Horizontal Thirds

Defined in the static horizontalThirds array (line 78):
static var horizontalThirds: [WindowDirection] { 
    [.rightThird, .rightTwoThirds, .horizontalCenterThird, 
     .leftTwoThirds, .leftThird] 
}

Single Third Columns

leftThird
WindowDirection
Positions window in the left third of the screen.Raw Value: "LeftThird"URL Scheme: loop://LeftThirdFrame Values: CGRect(x: 0, y: 0, width: 1.0/3.0, height: 1.0) (line 130)Visual:
┌─────┬─────┬─────┐
│     │     │     │
│ Win │     │     │
│33.3%│     │     │
│     │     │     │
└─────┴─────┴─────┘
horizontalCenterThird
WindowDirection
Positions window in the center third of the screen horizontally.Raw Value: "HorizontalCenterThird"URL Scheme: loop://HorizontalCenterThirdFrame Values: CGRect(x: 1.0/3.0, y: 0, width: 1.0/3.0, height: 1.0) (line 129)Visual:
┌─────┬─────┬─────┐
│     │     │     │
│     │ Win │     │
│     │33.3%│     │
│     │     │     │
└─────┴─────┴─────┘
rightThird
WindowDirection
Positions window in the right third of the screen.Raw Value: "RightThird"URL Scheme: loop://RightThirdFrame Values: CGRect(x: 2.0/3.0, y: 0, width: 1.0/3.0, height: 1.0) (line 127)Visual:
┌─────┬─────┬─────┐
│     │     │     │
│     │     │ Win │
│     │     │33.3%│
│     │     │     │
└─────┴─────┴─────┘

Two-Thirds Columns

leftTwoThirds
WindowDirection
Positions window occupying the left two-thirds of the screen.Raw Value: "LeftTwoThirds"URL Scheme: loop://LeftTwoThirdsFrame Values: CGRect(x: 0, y: 0, width: 2.0/3.0, height: 1.0) (line 131)Visual:
┌───────────┬─────┐
│           │     │
│  Window   │     │
│   66.6%   │     │
│           │     │
└───────────┴─────┘
Use Case: Main content area with sidebar on right
rightTwoThirds
WindowDirection
Positions window occupying the right two-thirds of the screen.Raw Value: "RightTwoThirds"URL Scheme: loop://RightTwoThirdsFrame Values: CGRect(x: 1.0/3.0, y: 0, width: 2.0/3.0, height: 1.0) (line 128)Visual:
┌─────┬───────────┐
│     │           │
│     │  Window   │
│     │   66.6%   │
│     │           │
└─────┴───────────┘
Use Case: Main content area with sidebar on left

Vertical Thirds

Defined in the static verticalThirds array (line 79):
static var verticalThirds: [WindowDirection] { 
    [.topThird, .topTwoThirds, .verticalCenterThird, 
     .bottomTwoThirds, .bottomThird] 
}

Single Third Rows

topThird
WindowDirection
Positions window in the top third of the screen.Raw Value: "TopThird"URL Scheme: loop://TopThirdFrame Values: CGRect(x: 0, y: 0, width: 1.0, height: 1.0/3.0) (line 133)Visual:
┌───────────────────┐
│   Window  33.3%   │
├───────────────────┤
│                   │
├───────────────────┤
│                   │
└───────────────────┘
verticalCenterThird
WindowDirection
Positions window in the center third of the screen vertically.Raw Value: "VerticalCenterThird"URL Scheme: loop://VerticalCenterThirdFrame Values: CGRect(x: 0, y: 1.0/3.0, width: 1.0, height: 1.0/3.0) (line 135)Visual:
┌───────────────────┐
│                   │
├───────────────────┤
│   Window  33.3%   │
├───────────────────┤
│                   │
└───────────────────┘
bottomThird
WindowDirection
Positions window in the bottom third of the screen.Raw Value: "BottomThird"URL Scheme: loop://BottomThirdFrame Values: CGRect(x: 0, y: 2.0/3.0, width: 1.0, height: 1.0/3.0) (line 136)Visual:
┌───────────────────┐
│                   │
├───────────────────┤
│                   │
├───────────────────┤
│   Window  33.3%   │
└───────────────────┘

Two-Thirds Rows

topTwoThirds
WindowDirection
Positions window occupying the top two-thirds of the screen.Raw Value: "TopTwoThirds"URL Scheme: loop://TopTwoThirdsFrame Values: CGRect(x: 0, y: 0, width: 1.0, height: 2.0/3.0) (line 134)Visual:
┌───────────────────┐
│                   │
│   Window  66.6%   │
│                   │
├───────────────────┤
│                   │
└───────────────────┘
Use Case: Main workspace with status bar or controls at bottom
bottomTwoThirds
WindowDirection
Positions window occupying the bottom two-thirds of the screen.Raw Value: "BottomTwoThirds"URL Scheme: loop://BottomTwoThirdsFrame Values: CGRect(x: 0, y: 1.0/3.0, width: 1.0, height: 2.0/3.0) (line 137)Visual:
┌───────────────────┐
│                   │
├───────────────────┤
│                   │
│   Window  66.6%   │
│                   │
└───────────────────┘
Use Case: Main workspace with toolbar or menu at top

Horizontal Fourths

Defined in the static horizontalFourths array (line 80):
static var horizontalFourths: [WindowDirection] { 
    [.firstFourth, .secondFourth, .thirdFourth, .fourthFourth, 
     .leftThreeFourths, .rightThreeFourths] 
}

Quarter-Width Columns

firstFourth
WindowDirection
Positions window in the first (leftmost) fourth of the screen.Raw Value: "FirstFourth"URL Scheme: loop://FirstFourthFrame Values: CGRect(x: 0, y: 0, width: 1.0/4.0, height: 1.0) (line 139)Visual:
┌────┬────┬────┬────┐
│    │    │    │    │
│Win │    │    │    │
│25% │    │    │    │
└────┴────┴────┴────┘
secondFourth
WindowDirection
Positions window in the second fourth of the screen.Raw Value: "SecondFourth"URL Scheme: loop://SecondFourthFrame Values: CGRect(x: 1.0/4.0, y: 0, width: 1.0/4.0, height: 1.0) (line 140)Visual:
┌────┬────┬────┬────┐
│    │    │    │    │
│    │Win │    │    │
│    │25% │    │    │
└────┴────┴────┴────┘
thirdFourth
WindowDirection
Positions window in the third fourth of the screen.Raw Value: "ThirdFourth"URL Scheme: loop://ThirdFourthFrame Values: CGRect(x: 2.0/4.0, y: 0, width: 1.0/4.0, height: 1.0) (line 141)Visual:
┌────┬────┬────┬────┐
│    │    │    │    │
│    │    │Win │    │
│    │    │25% │    │
└────┴────┴────┴────┘
fourthFourth
WindowDirection
Positions window in the fourth (rightmost) fourth of the screen.Raw Value: "FourthFourth"URL Scheme: loop://FourthFourthFrame Values: CGRect(x: 3.0/4.0, y: 0, width: 1.0/4.0, height: 1.0) (line 142)Visual:
┌────┬────┬────┬────┐
│    │    │    │    │
│    │    │    │Win │
│    │    │    │25% │
└────┴────┴────┴────┘

Three-Fourths Width

leftThreeFourths
WindowDirection
Positions window occupying the left three-fourths of the screen.Raw Value: "LeftThreeFourths"URL Scheme: loop://LeftThreeFourthsFrame Values: CGRect(x: 0, y: 0, width: 3.0/4.0, height: 1.0) (line 143)Visual:
┌──────────────┬────┐
│              │    │
│   Window     │    │
│    75%       │    │
│              │    │
└──────────────┴────┘
Use Case: Large main workspace with narrow sidebar
rightThreeFourths
WindowDirection
Positions window occupying the right three-fourths of the screen.Raw Value: "RightThreeFourths"URL Scheme: loop://RightThreeFourthsFrame Values: CGRect(x: 1.0/4.0, y: 0, width: 3.0/4.0, height: 1.0) (line 144)Visual:
┌────┬──────────────┐
│    │              │
│    │   Window     │
│    │    75%       │
│    │              │
└────┴──────────────┘
Use Case: Large main workspace with narrow sidebar

Layout Examples

Three-Column Layout (Thirds)

# Create three equal columns
open "loop://LeftThird"            # Window 1: Column 1
open "loop://HorizontalCenterThird" # Window 2: Column 2
open "loop://RightThird"           # Window 3: Column 3
┌─────┬─────┬─────┐
│  1  │  2  │  3  │
│33.3%│33.3%│33.3%│
└─────┴─────┴─────┘

Main + Sidebar Layout (Two-Thirds)

# Main content with right sidebar
open "loop://LeftTwoThirds"  # Main content: 66.6%
open "loop://RightThird"     # Sidebar: 33.3%
┌───────────┬─────┐
│   Main    │Side │
│   66.6%   │33.3%│
└───────────┴─────┘

Four-Column Layout (Fourths)

# Create four equal columns
open "loop://FirstFourth"   # Window 1
open "loop://SecondFourth"  # Window 2
open "loop://ThirdFourth"   # Window 3
open "loop://FourthFourth"  # Window 4
┌────┬────┬────┬────┐
│ 1  │ 2  │ 3  │ 4  │
│25% │25% │25% │25% │
└────┴────┴────┴────┘

Asymmetric Layout (Three-Fourths)

# Large main area with small sidebar
open "loop://LeftThreeFourths"  # Main: 75%
open "loop://FourthFourth"      # Sidebar: 25%
┌──────────────┬────┐
│     Main     │Side│
│     75%      │25% │
└──────────────┴────┘

Precision Comparison

DivisionSizeUse Case
Halves50%Basic split-screen
Thirds33.3% / 66.6%Asymmetric layouts
Quarters25%Grid layouts
Fourths25% / 75%Main + small sidebar

Halves & Quarters

Simpler split-screen layouts

Size Adjustment

Fine-tune window dimensions

General Actions

Maximize and fill actions

WindowDirection Overview

Complete action reference

Build docs developers (and LLMs) love