Here is an example of my config just edit it and put it in a .bat file in the cgminer folder.
cgminer --scrypt -o stratum+tcp://pxc.cryptominer.net:3333 -u user -p password --shaders 1792 --gpu-engine 1025 --gpu-memclock 148 --intensity 17 --worksize 256 -g 2 --thread-concurrency 24576 --gpu-threads 1 --vectors 1 --expiry 1 --queue 0 --auto-fan
You will just need to change the intensity to something lower if you are going past 80C
don't forget to run these commands in cmd before changing the thread concurrency
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1