Jump to content

Restore iTerm2 Window Arrangement


Recommended Posts

Alfred-Restore-Iterm-Arrangement

This alfred workflow will list avaliable iTerm2 arrangements and let you select one to restore.

Requirements

iterm2: Build 3.4.15 (not tested on other versions but myght work)

And the following python libraries:

pip3 install iterm2
pip3 install pyobjc

This workfllow will use the python from iterm2 on ~/Library/ApplicationSupport/iTerm2/Scripts/get_window_arrangements/iterm2env/versions/3.8.6/bin/python3

Usage

Just type iTermA on alfred and it will:

  • Launch iterm2 if its closed
  • List the avaliable window arrangements
  • Restore the selected window arrangement

 

RestoreItermArrangement.gif

Download

Check the releases page to download it.

Edited by gohoyer
Changing images for a gif
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...