Skip to content

jp-gouin/iterm2-cpu-temp-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

iterm2-cpu-temp-plugin

Display cpu temperature in the status bar of iTerm2

M1 version is avalailable here

Based on osx-cpu-temp

How to Install

  1. Install osx-cpu-temp brew install osx-cpu-temp
  2. Clone this repository
  3. Enable Python API in iTerm2. Go to Preferences > General > Magic > Enable Python Api
  4. Create Folder AutoLaunch mkdir ~/Library/Application\ Support/iTerm2/Scripts/AutoLaunch
  5. You’ll need to place the script in ~/Library/Application Support/iTerm2/Scripts/AutoLaunch.
  6. Then manually launch it or restart the app.
  7. Then, navigate to Preferences > Profiles > Session. Turn on Status Bar Enabled and select Configure Status Bar. Drag the 🌡x°C component into the bottom section

Customisation

You can change the unit into Farenheit by editing the

output = check_output(["/usr/local/bin/osx-cpu-temp"])

by

output = check_output(["/usr/local/bin/osx-cpu-temp"],["-F])

About

Display cpu temperature in the status bar of iTerm2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages