Fedora-Fr - Communauté francophone Fedora - Linux

Communauté francophone des utilisateurs de la distribution Linux Fedora.

  

Dernière news : Venez tester Fedora 30 Beta !

#376 28/01/2017 12:18:47

Nednet
Membre
Lieu : aux alentours de Toulouse
Inscription : 07/12/2015
Messages : 453

Re : Conky - Partage de scripts

@DaWeed : merci smile


Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

Hors ligne

#377 28/01/2018 21:18:52

chepioq
FEDORA FOR EVER
Lieu : a l'est de marseille
Inscription : 07/06/2006
Messages : 7 248

Re : Conky - Partage de scripts

Suite à ce fil forums.fedora-fr.org/viewtopic.php?id=5532&p=86 post 2126 et suivants je vais vous donner les différents conky que j'utilise
Pour commencer le conky-monitor
1517166665.jpg
le conky-monitor

conky.config = {
double_buffer = true,
background = false ,
use_xft = true,
font = "MgOpen Modata L:size=7:bold",
update_interval = 1,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',

draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
default_color = 'white',
alignment = 'top_right',
gap_x = 12,
gap_y = 200,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
text_buffer_size = 4096,

color1 = '00f5ff',
color2 = 'cd5555',
color3 = '11B3F8',
color4 = '0000ff',
color5 = '176e88',
color6 = 'ff4500',
color7 = '00FF00',
color8 = 'ffff00',
color9 = 'ffff00',

}

conky.text = [[
${font Waltograph UI:size=12:bold} ${alignc} ${color1}${execi 3600 lsb_release -irs} ${execi 3600 lsb_release -sc}

${font} ${alignc} ${color2}Kernel : ${color3}${execi 3600 uname -r}
${alignc}${color2}Démarrage : ${color3}${execi 3600 systemd-analyze time | awk '{print $13}'}
${color1}${membar 0,170} ${color3}CPU ${color1}${membar 0,170}
${alignc}${color2}Processeur : ${color3}${execi 3600 grep -i -m 1 'Model name' /proc/cpuinfo |sed  's/^.*: //'| sed -e 's/([^()]*)//g' }
${alignc}${color2}Pilote : ${color3}${execi 3600 cpupower frequency-info | grep driver | awk '{print $2}'}
${color2}Fréquence CPU 1 : ${color3}${freq 1} MHz ${goto 200}${color2}Fréquence CPU 2 : ${color3}${freq 2} MHz
${color2}Fréquence CPU 3 : ${color3}${freq 3} MHz ${goto 200}${color2}Fréquence CPU 4 : ${color3}${freq 4} MHz
${color4}${cpugraph cpu1 20,181 00ff00 ff0004 -t} ${color4}${cpugraph cpu2 20,181 00ff00 ff0004 -t}
${color4}${cpugraph cpu3 20,181 00ff00 ff0004 -t} ${color4}${cpugraph cpu4 20,181 00ff00 ff0004 -t}
${color2}Utilisation Core 1     :       ${color3}${cpu cpu1}%${goto 200}${color2}Utilisation Core 2     :       ${color3}${cpu cpu2}%
${color2}Utilisation Core 3     :       ${color3}${cpu cpu3}%${goto 200}${color2}Utilisation Core 4     :       ${color3}${cpu cpu4}%
${color2}Température Core 1 :    ${execpi 6 sensors | awk '/Core 0/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | xargs /home/dominique/.conkyrc/conky-1.10/conky_monitor/colorizeCPU.sh}°C${goto 200}${color2}Température Core 2 :    ${color3}${execpi 6 sensors | awk '/Core 1/ {gsub(/\+/,"",$3); gsub(/\..+/,"",$3); print $3}' | xargs /home/dominique/.conkyrc/conky-1.10/conky_monitor/colorizeCPU.sh}°C
${color1}${membar 0,170} ${color3}GPU ${color1}${membar 0,170}
    ${color2}Carte Graphique : ${color3}${execi 3600 nvidia-settings -q gpus | sed -n '4p' | awk -F'[()]' '{print $2}'}${color2}             Pilote NVidia : ${color3}${execi 3600 nvidia-settings -q NvidiaDriverVersion | sed -n '2p' |  awk '{print $4}'}
                              ${color2}Température GPU  :     ${color3}${execpi 6 nvidia-settings -q all | grep GPUCoreTemp | grep gpu:0 | awk '{print $4}' | cut -c 1-2 | xargs /home/dominique/.conkyrc/conky-1.10/conky_monitor/colorizeGpu.sh}°C 
${color1}${membar 0,170} ${color3}DD ${color1}${membar 0,175}
${alignc}${color2} Disque dur : ${color3} Samsung SSD 840 PRO 256 Go
${alignc}${color2}Accès disque
${color2}${goto 70}Lecture : ${color3}${diskio_read} ${color2}${goto 250}Ecriture : ${color3}${diskio_write} 
${color4}${diskiograph_read 20,181 00ff00 ff0000 -t} ${color1}${diskiograph_write 20,181 00ff00 ff0000 -t}
${color1}${membar 0,170} ${color3}RAM ${color1}${membar 0,170}
${color2}Utilisation RAM ${color5}${alignc}             Totale              Utilisée          Pourcentage
${alignc} ${color3}${goto 120}$memmax${goto 195}$mem${goto 290}$memperc%
${color4}${memgraph 20,364 00ff00 ff0004 -t}
${color1}${membar 0,170} ${color3}SWAP ${color1}${membar 0,162}
${color2}Utilisation Swap :   ${color3} $swap/$swapmax - $swapperc% ${color1} ${swapbar 8,165}
${if_existing /proc/net/route enp4s0}/
${color1}${membar 0,130} ${color3}RESEAU ETHERNET ${color1}${membar 0,135}
${color5}Reception :${color6} ${downspeedf enp4s0} k/s${goto 200}${color3}Envoi : ${color6}${upspeedf enp4s0} k/s
${color5}Total :       ${color6} ${totaldown enp4s0}${goto 200}${color3}Total :${color6} ${totalup enp4s0}
${color4}${downspeedgraph enp4s0 20,181 00ff00 ff0004 -t} ${color1}${upspeedgraph enp4s0 20,181 00ff00 ff0004 -t}${endif}
${if_existing /proc/net/route wlp3s0}/
${color1}${membar 0,155} ${color3}RESEAU WIFI ${color1}${membar 0,142}
${color5}Reception :${color6} ${downspeedf wlp3s0} k/s${goto 200}${color3}Envoi : ${color6}${upspeedf wlp3s0} k/s
${color5}Total :       ${color6} ${totaldown wlp3s0}${goto 200}${color3}Total :${color6} ${totalup wlp3s0}
${color4}${downspeedgraph wlp3s0 20,181 00ff00 ff0004 -t} ${color1}${upspeedgraph wlp3s0 20,181 00ff00 ff0004 -t}${endif}
${color1}${membar 0,130} ${color3}SYSTEME DE FICHIERS ${color1}${membar 0,120}
${color2}Système ${color3} ${fs_used /} / ${fs_size /} : ${goto 160}${color1}${fs_bar 6,208 /}
${color2}Home      ${color3} ${fs_used /home} / ${fs_size /home} : ${goto 160}${color1}${fs_bar 6,208 /home}
${color1}${membar 0,170} ${color3}TOP ${color1}${membar 0,170}
${color2}${alignc}Processus : ${color3}$processes       ${color3}En cours : ${color6}$running_processes

${color5}En cours :       ${alignc}       PID      ${goto 180}CPU%      MEM%
${color6} ${top name 1}  ${alignc}  ${top pid 1}      ${goto 180}${top cpu 1}      ${top mem 1}
${color3} ${top name 2}  ${alignc}  ${top pid 2}      ${goto 180}${top cpu 2}      ${top mem 2}
${color3} ${top name 3}  ${alignc}  ${top pid 3}      ${goto 180}${top cpu 3}      ${top mem 3}
${color5}En mémoire :
${color6} ${top_mem name 1} ${alignc}   ${top_mem pid 1}      ${goto 180}${top_mem cpu 1}      ${top_mem mem 1}
${color3} ${top_mem name 2} ${alignc}   ${top_mem pid 2}      ${goto 180}${top_mem cpu 2}      ${top_mem mem 2}
${color3} ${top_mem name 3} ${alignc}   ${top_mem pid 3}      ${goto 180}${top_mem cpu 3}      ${top_mem mem 3}
]]

Ce conky utilise deux scripts qui permettent de faire varier la couleur des valeurs de température du cpu et du cpu

colorizeCPU.sh

#!/bin/bash
# colorize.sh
# by Crinos512
# Usage:
#  ${execpi 6 sensors | grep 'Core 0' | paste -s | cut -c15-18 | xargs ~/.conky/conkyparts/colorize.sh} ... $color
# or
#  ${execpi 6 sensors | grep 'Core 0' | paste -s |sed 's/°/\n/'| head -n1 | cut -c15- | xargs ~/.conky/conkyparts/colorize.sh} ... $color
#
# Note: Assign color7, color8, and color9 to COOL, WARM, and HOT respectively
#   your .conkyrc

COOL=65
WARM=80

if [[ $1 -lt $COOL ]]
   then echo "\${color7}"$1    # COOL
elif [[ $1 -gt $WARM ]]
   then echo "\${color9}"$1    # HOT
else echo "\${color8}"$1       # WARM
fi

exit 0

colorizeGpu.sh

#!/bin/bash
# colorize.sh
# by Crinos512
# Usage:
#  ${execpi 6 sensors | grep 'Core 0' | paste -s | cut -c15-18 | xargs ~/.conky/conkyparts/colorize.sh} ... $color
# or
#  ${execpi 6 sensors | grep 'Core 0' | paste -s |sed 's/°/\n/'| head -n1 | cut -c15- | xargs ~/.conky/conkyparts/colorize.sh} ... $color
#
# Note: Assign color7, color8, and color9 to COOL, WARM, and HOT respectively
#   your .conkyrc

COOL=55
WARM=80

if [[ $1 -lt $COOL ]]
   then echo "\${color7}"$1    # COOL
elif [[ $1 -gt $WARM ]]
   then echo "\${color9}"$1    # HOT
else echo "\${color8}"$1       # WARM
fi

exit 0

Tout est dans tout... et réciproquement...
C'est quoi un chalumeau??? C'est un dromaludaire à deux bosses...
Quand le sage montre la lune l'imbécile regarde le doigt...
1277887812.gif

Hors ligne

#378 29/01/2018 15:32:29

chepioq
FEDORA FOR EVER
Lieu : a l'est de marseille
Inscription : 07/06/2006
Messages : 7 248

Re : Conky - Partage de scripts

Autre conky à vous proposer.
Celui-ci indique les heures de lever, coucher et zenith du soleil pour votre localisattion.
1517231702.png

Tout d'abord il faut télécharger et installer ce petit programme sunwait

J'utilise un script lua pour afficher l'image sinon cette image est transparente et le résultat est plutôt décevant.
draw_image.lua

--[[ 
Parameters are
filename        --nom de l'image carrée en entrée
xc,yc           --coordonnées du centre de l'image par rapport au coin en haut à gauche de la fenêtre conky

]]

require 'cairo'
require 'imlib2'

function crop_square_image(filename,xc,yc)
    local surface = cairo_image_surface_create_from_png(filename)
    local img_w = cairo_image_surface_get_width (surface);
    local img_h = cairo_image_surface_get_height (surface);
    local cw,ch = conky_window.width, conky_window.height
    local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, cw,ch)
    local cr=cairo_create(cs)
    cairo_translate(cr,xc-img_w/2,yc-img_w/2)
    cairo_new_path (cr)    
    cairo_set_source_surface (cr, surface, 0, 0)

    cairo_paint (cr)
    cairo_destroy(cr)
    cairo_surface_destroy (cs)
    cairo_surface_destroy (surface)
    
end

function display_image(filename,xc,yc)
    if conky_window == nil then return end

    --if tonumber(conky_parse('${updates}')) <2  then return end
    local filepng = filename
    
    crop_square_image(filepng,xc,yc)
    io.close()
end


--[[END OF SQUARE TO ROUND WIDGET]]

function conky_main(filename)
    if conky_window == nil then return end
    display_image('/home/dominique/.conkyrc/conky-1.10/conky-soleil/fg8-1.png',
                120,125
    )
    
      
end

Image utilisée: fg8-1.png
1517232380.png

Enfin le conky-soleil

conky.config = {
background = false,
use_xft = true,
font = 'URW Chancery L:size=12:bold',
update_interval = 3600.0,
total_run_times = 0,
own_window = true,
own_window_type = 'dock',
own_window_transparent = true,
own_window_argb_visual = true,
own_window_hints = 'undecorated,skip_taskbar,skip_pager,below',
double_buffer = true,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
stippled_borders = 8,
border_inner_margin = 4,
alignment = 'middle_middle',
minimum_width = 250,
minimum_height = 200,
gap_x = 550,
gap_y = -330,
no_buffers = true,
uppercase = false,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
use_spacer = right,
text_buffer_size = 1024,
color1 = '323200',
color2 = '828200',
lua_load = '/home/dominique/.conkyrc/conky-1.10/conky-soleil/draw_image.lua',
lua_draw_hook_pre = 'main'
}

conky.text = [[

${color1}${goto 96}${voffset 20}Zenith
${goto 100}${exec sunwait report 43.2882N 5.5778E | grep north/south | awk '{print $4}'}

${goto 45}${voffset 5}${color2}Durée du jour : ${exec sunwait report 43.2882N 5.5778E | grep "Day length" | awk '{print $5}'}${color1}

${voffset 8}${goto 33}Lever ${goto 162}Coucher
${goto 33}${exec sunwait list 43.2882N 5.5778E | awk '{print $1}'}${goto 167}${exec sunwait list 43.2882N 5.5778E | awk '{print $3}'}
]]

Il vous reste plus qu'à trouver votre latitude et votre longitude (en métrique avec google-map) et à remplacer dans le conky "43.2882N 5.5778E" par vos valeurs

Dernière modification par chepioq (29/01/2018 15:33:48)


Tout est dans tout... et réciproquement...
C'est quoi un chalumeau??? C'est un dromaludaire à deux bosses...
Quand le sage montre la lune l'imbécile regarde le doigt...
1277887812.gif

Hors ligne

#379 03/12/2018 13:55:27

winmandrake
Membre
Inscription : 08/07/2008
Messages : 1 059

Re : Conky - Partage de scripts

Petit partage sur ce script simple (image ici)

conky.config=
{
-- conky tourne en arrière plan
background=true,
-- conky se recharge toutes les secondes
update_interval=1.0,
-- conky se relance à l'infini
total_run_times=0,
-- 'buffers' non pris en compte dans le calcul de mémoire.
no_buffers=true,
-- Nbde core pris en charge 
cpu_avg_samples=8,
-- empèche le clignottement
double_buffer=true,

----------------------------------------------------------

-- conky utilise sa propre fenêtre
own_window=true,
-- Conky transparent
own_window_transparent=true,

--own_window_colour="b08f6a",
-- type de fenêtre de conky: bureau
own_window_type="desktop",
-- transparence totale
own_window_argb_visual=true,
-- valeur de la transparence
own_window_argb_value=150,
-- propriétés de la fenêtre
own_window_hints="undecorated,below,sticky,skip_taskbar,skip_pager",

-- alignement de la fenêtre
alignment="top_right",
-- largeur maximale de la fenêtre
maximum_width=300,
-- largeur minimale de la fenêtre
minimum_width=300,
-- hauteur minimale de la fenêtre
minimum_height=90,
-- position en X du coin de la fenêtre (horizontal)
gap_x=35,
-- position en Y du coin de la fenêtre (verticale)
gap_y=37,

----------------------------------------------------------

-- n'affiche pas les ombres sous le texte
draw_shades=false,
-- n'affiche pas le contour de la police
draw_outline=false,
-- n'affiche pas les bordures
draw_borders=false,
-- bordures sur graphiques
draw_graph_borders=true,
-- couleur des ombres
default_shade_color="9999FF",
-- couleur contour police
default_outline_color="b2b2FF",

-------------------------------------------

text_buffer_size=2048,
-- utilise la police xft
use_xft=true,
-- opacité de la police xft, ici 1=opaque
xftalpha=1,
-- police utilisée par défault
font = 'Cantarell:size=9:bold',
-- police en mode normal (Maj/min)
uppercase=false,
-- Utilisation norme utf8
override_utf8_locale=true,

---------------------------------------------

lua_load = '~/conky/conky.lua'
--lua_load = '~/conky/freq.lua'
}

conky.text=
[[
${color blue}${font ConkyColorsLogos:size=26}f${color}${font size=20}${voffset -16}${offset 5}${texeci 86400 lsb_release -si} ${texeci 86400 lsb_release -sr}

${color grey}${font}Kernel ${color}${kernel}
${color grey}Démarrage : ${color}${execi 1800 systemd-analyze time | awk '{print $19}'}
$stippled_hr
${color red}${font ConkyColorsLogos:size=26}r${font}${voffset -30}
${offset 40}${voffset -5}${color}Ryzen R5-2400G ${color} @ ${lua_parse CPUfreq}
${offset 40}Utilisation :  ${lua_parse CPUut}
${cpugraph  40,300 F1A211 F40101}
${voffset -5}$stippled_hr
${color yellow}${font ConkyColors:size=26}g${font}${voffset -30}${color}
${offset 40}Utilisation ram :  $mem  /  $memmax   (${lua_parse ramperc})
${offset 40}Utilisation swap:  $swap  /  $swapmax ($swapperc %)
${voffset -5}$stippled_hr
${color green}${font ConkyColorsLogos:size=26}n${font}
${offset 40}${voffset -35}${color}Geforce 1050Ti
${offset 40}${color}Drivers Nvidia : ${texeci 86400 glxinfo | grep 'OpenGL version' | cut -c 36-45}
${offset 40}${color}Version OpenGL : ${texeci 86400 glxinfo | grep 'OpenGL version' | cut -c 23-28}
${voffset -5}$stippled_hr
${color yellow}${font ConkyColors:size=26}i${font}${voffset -30}${color}
${offset 40} /     :${offset 35} ${fs_used /} /  ${fs_size /} ${alignr}${fs_bar 5,100 /}
${offset 40} /Home :${offset 10} ${fs_used /home} /  ${fs_size /home} ${alignr}${fs_bar 5,100 /home}
${offset 40}/Homend : ${offset 6}${fs_used /home/mickael/Homend}  /  ${fs_size /home/mickael/Homend}${alignr}${fs_bar 5,100 /home/mickael/Homend}
${offset 40}/DD_2To : ${offset 20}${fs_used /home/mickael/DD_2To}  /  ${fs_size /home/mickael/DD_2To}${alignr}${fs_bar 5,100 /home/mickael/DD_2To}
${offset 40}/Films : ${offset 20}${fs_used /home/mickael/Films}  /  ${fs_size /home/mickael/Films}${alignr}${fs_bar 5,100 /home/mickael/Films}
${voffset -5}$stippled_hr
${color yellow}${font ConkyColors:size=20}m 
${offset 40}${voffset -45}${color}${font} Samsung 850 EVO 250G : ${exec hddtemp |grep 'sda'|head -n 1|cut -c38-41}
${offset 40}${color}${font} Western Digital Balck : ${exec hddtemp |grep 'sdc'|head -n 1|cut -c34-37}
${offset 40}${color}${font} Western Digital Green : ${exec hddtemp |grep 'sdd'|head -n 1|cut -c33-37}
${voffset -5}$stippled_hr
${color yellow}${font ConkyColors:size=20}k ${font}${color}
${offset 40}${voffset -30} IP publique : ${texeci 3600 wget http://checkip.dyndns.org -O - -o /dev/null | cut -d : -f 2 | cut -d \< -f 1}
${offset 40}IP locale : ${addr enp8s0}

${color yellow}${font ConkyColors:size=14}t${font}${color}${offset 10}${color}${downspeed enp8s0}/s ${goto 180}${color yellow}${font ConkyColors:size=14}s ${font}${offset 10}${color}${upspeed enp8s0}/s
${offset 18}${color1}Total : ${offset 20}${color}${totaldown enp8s0} ${goto 185}${color1}Total : ${offset 20}${color}${totalup enp8s0}


## Spotify => utilisation du script spotify.sh pour la pochette de l'album.
${if_running spotify}
${color}${membar 0,140} ${color}Spotify ${color}${membar 0,170}
${execi 20 ~/conky/spotify.sh}
${voffset -10}${goto 105}${color blue}Titre: 
${goto 105}${color}${exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 1 "title"|egrep -v "title"|cut -b 44-|cut -d '"' -f 1|egrep -v ^$}
${goto 105}${color blue}Artiste: 
${goto 105}${color}${exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 2 "artist"|egrep -v "artist"|egrep -v "array"|cut -b 27-|cut -d '"' -f 1|egrep -v ^$}
${goto 105}${color blue}Album: 
${goto 105}${color}${exec dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 1 "album"|egrep -v "album"|cut -b 44-|cut -d '"' -f 1|egrep -v ^$}
${image ~/conky/album.jpg -p 10,880 -s 80x80}

${endif}
]]

Et le script lua pour avoir la fréquence et l'utilisation cpu/ram avec différente couleur :

--Lua permettant d'avoir les couleurs dynamiques.


function conky_CPUut()

  percentage=tonumber(conky_parse("${cpu}"))

  if     percentage >= 90 then color = "red"
  	elseif percentage >= 70 then color = "orange"
  	elseif percentage >= 50 then color = "yellow"
  	elseif percentage >= 25 then color = "ffffff"
  	else                         color = "grey"
  end
  
  return "${color "..color.."} $cpu  ${color} %"
  
end

 
function conky_CPUfreq()
 
	frequence=tonumber(conky_parse("${freq_g}"))
	
	if 	frequence >= 4.00 then color = "red"
		elseif	frequence >= 3.50 then color = "orange"
		elseif	frequence >= 3.0 then color = "yellow"
		else       color = "ffffff"
	end


  return "${color "..color.."} ${freq_g} ${color} GHz"
  
 end
  
function conky_swap()

  ramt=tonumber(conky_parse("${swapperc}"))

  if       ramt >= 70 then color = "red"
  	elseif ramt >= 50 then color = "orange"
  	elseif ramt >= 30 then color = "yellow"
  	else     color = "ffffff"
  end
  
  return "${color "..color.."} $swapperc  ${color}"
  
 end

function conky_ramperc()

  ramp=tonumber(conky_parse("${memperc}"))

  if     ramp >= 90 then color = "red"
  	elseif ramp >= 75 then color = "orange"
  	elseif ramp >= 50 then color = "yellow"
  	else     color = "ffffff"
  end

  return "${color "..color.."} $memperc  ${color} %"
  
 end

Mon pc : AMD R5-2400G sur Asus Prime B450M-A, 16 Go ram, Nvidia 1050Ti (4Go), SSD Samsung 850 EVO (250 Go) + black caviar de 1To.

Hors ligne

#380 03/12/2018 14:08:11

Nednet
Membre
Lieu : aux alentours de Toulouse
Inscription : 07/12/2015
Messages : 453

Re : Conky - Partage de scripts

Merci pour ce partage. Dans l'autre post où tu publies ton bureau, tu regrettes de "ne pas avoir les températures avec sensor".
Tu veux ouvrir un fil à ce sujet ? perso (F28) je les ai :
Mobo :
${hwmon 1 temp 1}°C

CPU :
${hwmon 1 temp 2}°C
${hwmon 1 temp 3}°C

DD :
${hddtemp /dev/sda}°C


Il n'y a aucune honte à ne pas savoir
mais beaucoup à ne pas apprendre

Hors ligne

Pied de page des forums