dotfiles

beau's configuration files
git clone https://git.beauhilton.com/dotfiles.git
Log | Files | Refs | README

cpu (292B)


      1 #!/usr/bin/env sh
      2 
      3 case $BLOCK_BUTTON in
      4 	1) notify-send "🖥 CPU hogs" "$(ps axch -o cmd:15,%cpu --sort=-%cpu | head)" ;;
      5 	3) notify-send "🖥 CPU module " "\- Shows CPU temperature.
      6 - Click to show intensive processes.
      7 - % is of single core." ;;
      8 esac
      9 
     10 sensors | awk '/Core 0/ {print $3}'