This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# throttle - utility throttling applications according to CPU temperature. | |
# Usage: throttle.sh <PID> | |
# Alternatively: throttle.sh <your command here> | |
# Version: 1 | |
# Changelog: | |
# 1: | |
# * Configuration vars are only set if not already set (per-app config. via env.) | |
# * Added QUIET configuration | |
# * Added notify-send support |