2.0.0 • Published 1 year ago

terminal-profile v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

terminal-profile

Node.js library for managing the macOS Terminal.app’s profile (aka theme)

Install

npm install terminal-profile

API

setTerminalProfile()

function setTerminalProfile(profile: string): Promise<void>;

Update all of Terminal’s windows and tabs to the profile profile

import { setTerminalProfile } from "terminal-profile";

await setTerminalProfile("One Dark");

setTerminalDefaultProfile()

function setTerminalDefaultProfile(profile: string): Promise<void>;

Update Terminal’s default profile to profile

import { setTerminalDefaultProfile } from "terminal-profile";

await setTerminalDefaultProfile("One Light");

Related

  • auto-terminal-profile – Automatically switch macOS Terminal’s profile (theme) based on the system-wide dark / light appearance mode

Acknowledgements

Thanks to Jimmy Bosse for his Stack Overflow answer

1.2.0

1 year ago

1.1.0

1 year ago

2.0.0

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago