···55The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7788+## [Unreleased](https://github.com/patrik-csak/auto-terminal-profile/compare/v4.0.0...HEAD)
99+1010+### Changed
1111+1212+- **BREAKING**: `enable` and `set-(dark|light)-profile` now set the Terminal profile
1313+814## [4.0.0](https://github.com/patrik-csak/auto-terminal-profile/compare/v3.0.2...v4.0.0) – 2024-03-25
9151016### Added
11171212-- Documentation explaining how to automatically update Terminal profile when opening Terminal
1818+- Documentation explaining how to automatically update Terminal profile when opening Terminal
13191420### Changed
1521
···11export {enableAutomaticSwitching} from './enable-automatic-switching.js';
22export {disableAutomaticSwitching} from './disable-automatic-switching.js';
33+export {getCurrentMode} from './get-current-mode.js';
34export {getLaunchAgentPlistFileContents} from './get-launch-agent-plist-file-contents.js';
45export {isAutomaticSwitchingEnabled} from './is-automatic-switching-enabled.js';
56export {isTerminalOpen} from './is-terminal-open.js';
77+export {setTerminalProfile} from './set-terminal-profile.js';
+11
functions/set-terminal-profile.js
···11+import {
22+ setTerminalDefaultProfile as setDefaultProfile,
33+ setTerminalProfile as setProfile,
44+} from 'terminal-profile';
55+66+/**
77+ * @param {string} profile
88+ */
99+export async function setTerminalProfile(profile) {
1010+ await Promise.all([setDefaultProfile(profile), setProfile(profile)]);
1111+}