cdwmblocks/blocks.def/cpu_temp_button.sh

7 lines
167 B
Bash
Executable File

#!/bin/sh
case $1 in
1) exec "$TERMINAL" -e "htop -s PERCENT_CPU" ;;
2) exec "$TERMINAL" -e "htop" ;;
3) exec "$TERMINAL" -e "htop -s PERCENT_MEM" ;;
esac