Skip to content

douz/mac-motd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mac OS MOTD

My personal MOTD configuration for Mac OS and ZSH.

Screenshot

screenshot1

Pre-requirements

1. figlet

Needed to generate the banner text. Installation:

brew install figlet

2. icalBuddy

Needed to get events from the Calendar application. Installation:

brew install ical-buddy

3. osx-cpu-temp

Needed to gather CPU and GPU temperature. Installation:

brew install osx-cpu-temp

4. smartmontools

Needed to gather disk temperature. Installation:

brew install smartmontools

Installation

  1. Clone the repository.
git clone git@github.com:douz/mac-motd.git
  1. Add the motd.sh script at the end of your .zshrc file.
echo "/full/path/to/repo/mac-motd/motd.sh" >> ~/.zshrc
  1. Restart your terminal.

Modules

The modules are located in the modules directory. You can select which modules to use and their order in motd.sh

# Set modules to load
modulesArray=(banner temperature hdd_usage battery calendar_events)

You can add your own custom modules just by placing your .sh scripts in the modules directory and include them in the modulesArray variable without the .sh extension in motd.sh

Banner module

You can set your own banner message by replacing the value of the variable bannerText in modules/banner.sh.

Support and contribution

For support and/or contributions, open an issue on this repository or contact dbarahona@me.com

About

MOTD configuration for Mac OS and ZSH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages