#!/bin/sh
case $BUTTON in
	1) notify-send "$(ps axc -o cmd:15,%cpu --sort=-%cpu | head -6)";;
	3) urxvt -e vim ~/.local/bin/statusbar/cpu
esac
mpstat 1 1 | awk '/Average/ { printf "%.2f% ",100-$12 }' 
temp="$(sensors | awk '/Tctl/ { print $2 } ')"; echo -n ${temp#+}