clepto έγραψε:δεν νομίζω ότι είναι ακριβώς έτσι. Πρέπει να μπλέκεται και C.maenolis έγραψε:Μα bash δεν είναι όλο ούτως ή άλλως;
Στο conky.rc όχι απ όσο θυμάμαι πάντως.
Συντονιστής: adem1
clepto έγραψε:δεν νομίζω ότι είναι ακριβώς έτσι. Πρέπει να μπλέκεται και C.maenolis έγραψε:Μα bash δεν είναι όλο ούτως ή άλλως;

sotiris@sotiris-HP-G62-Notebook-PC:~$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +46.0°C (crit = +130.0°C)
jc42-i2c-0-18
Adapter: SMBus PIIX4 adapter at 0b00
temp1: +39.5°C (low = +0.0°C) ALARM (HIGH, CRIT)
(high = +0.0°C, hyst = +0.0°C)
(crit = +0.0°C, hyst = +0.0°C)
k10temp-pci-00c3
Adapter: PCI adapter
temp1: +47.0°C (high = +70.0°C)
(crit = +109.5°C, hyst = +104.5°C)
radeon-pci-0200
Adapter: PCI adapter
temp1: +44.5°C
sotiris@sotiris-HP-G62-Notebook-PC:~$ ${execi 3 sensors jc42-i2c-0-18 | grep "temp1" | cut -c16-17 ;}°C
${execi 3 sensors | sensors | grep "jc42*" | grep "temp1" | cut -c16-17 ;}°C
sotiris@sotiris-HP-G62-Notebook-PC:~$ sensors jc42-i2c-0-18 | grep "temp1"
Specified sensor(s) not found!
sotiris@sotiris-HP-G62-Notebook-PC:~$ sensors jc42-i2c-5-18 | grep "temp1"
temp1: +44.0°C (low = +0.0°C) ALARM (HIGH, CRIT)
sotiris@sotiris-HP-G62-Notebook-PC:~$ sensors | sensors | grep "jc42*" | grep "temp1"
sotiris@sotiris-HP-G62-Notebook-PC:~$ 

clepto έγραψε:μπορείς με κάποιον τρόπο να χρησιμοποιήσεις μεταβλητές;

${execi 3 sensors ${exec(i) sensors | grep "jc"; echo $?} | grep "temp1" | cut -c16-17 ;}°C${execi 3 sensors ${execi sensors | grep "jc"; echo $?} | grep "temp1" | cut -c16-17 ;}°C
sotiris@sotiris-HP-G62-Notebook-PC:~$ sensors | grep "jc"; echo $?} | grep "temp1"
jc42-i2c-5-18
sotiris@sotiris-HP-G62-Notebook-PC:~$
{execi 3 sensors jc42-i2c-*-18 | grep "temp1" | cut -c16-17 ;}°C

Επιστροφή στο Περιβάλλον Εργασίας / Εμφάνιση / Εφέ / Customization