refactor: new system basics
This commit is contained in:
9
polybar/scripts/muestraTemperatura.sh
Executable file
9
polybar/scripts/muestraTemperatura.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Author by : Daniel Heras
|
||||
# Mail : dani.heras@hotmail.com
|
||||
|
||||
grafica="$(sensors | grep 'Sensor 2' | awk '{print $3}')"
|
||||
cpu="$(sensors | grep -A 10 'gigabyte' | grep 'temp3' | awk '{print $2}')"
|
||||
|
||||
echo "%{F#ffffff} %{F#c4c7c5}CPU: $cpu %{F#c4c7c5}GPU: $grafica"
|
||||
Reference in New Issue
Block a user