Skip to content

Instantly share code, notes, and snippets.

View spikopath's full-sized avatar

SpikoPath spikopath

View GitHub Profile
@0x0ade
0x0ade / throttle.sh
Last active September 20, 2019 01:16
#!/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