dotfiles/dot_config/sway/executable_sensors.sh

6 lines
148 B
Bash
Raw Normal View History

2023-01-30 14:28:59 +01:00
#!/bin/bash
gpu_temp=$(sensors | awk '/temp1/ {print $2}')
cpu_temp=$(sensors | awk '/Tctl/ {print $2}')
echo "CPU: ${cpu_temp} | GPU ${gpu_temp}"