Vous n'êtes pas identifié(e).
L'icône rouge permet de télécharger chaque page du wiki visitée au format
PDF et la grise au format ODT →
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
utilisateurs:kawer:config:conkyrc [25/04/2020 02:31] kawer [Preview] |
utilisateurs:kawer:config:conkyrc [02/07/2020 00:57] kawer [Utilisation] |
||
---|---|---|---|
Ligne 5: | Ligne 5: | ||
* Commentaires : //Contexte d'utilisation du sujet du tuto. // Environnement Graphique | * Commentaires : //Contexte d'utilisation du sujet du tuto. // Environnement Graphique | ||
* Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-) | * Débutant, à savoir : [[:doc:systeme:commandes:le_debianiste_qui_papillonne|Utiliser GNU/Linux en ligne de commande, tout commence là !.]] :-) | ||
+ | * Commentaires sur le forum : [[https://debian-facile.org/viewtopic.php?id=27092|C'est là]]((N'hésitez pas à y faire part de vos remarques, succès, améliorations ou échecs !)) | ||
===== Introduction ===== | ===== Introduction ===== | ||
Ligne 15: | Ligne 15: | ||
===== Preview ===== | ===== Preview ===== | ||
- | + | {{/file-R01cf04dc6ec1e362f7dc430876f0c23c.png?150}} | |
- | {{:utilisateurs:kawer:config:conkyrc_04_2020.png?400|}}<code> | + | |
===== Utilisation ===== | ===== Utilisation ===== | ||
Ligne 35: | Ligne 33: | ||
draw_shades = false, | draw_shades = false, | ||
use_xft = true, | use_xft = true, | ||
- | font = 'DejaVu Sans Mono:size=10', | + | font = 'Hack:size=8', |
gap_x = 10, | gap_x = 10, | ||
- | gap_y = 40, | + | gap_y = 44, |
minimum_height = 5, | minimum_height = 5, | ||
- | minimum_width = 5, | + | minimum_width = 320, |
+ | maximum_width = 330, | ||
net_avg_samples = 2, | net_avg_samples = 2, | ||
double_buffer = true, | double_buffer = true, | ||
Ligne 60: | Ligne 59: | ||
conky.text = [[ | conky.text = [[ | ||
- | ${font DejaVu Sans Mono:size=14}${alignc}${time %I:%M:%S} | + | ${font Hack:size=12}${alignc}${time %H:%M:%S} |
- | ${font Impact:size=10}${alignc}${time %A, %B %e, %Y} | + | ${font Hack:size=8}${alignc}${time %A %e %B %Y} |
- | ${font Entopia:size=12}${color orange}CALENDAR ${hr 2}$color | + | |
- | ${font DejaVu Sans Mono:size=9}${execpi 1800 DA=`date +%_d`; cal | sed s/"\(^\|[^0-9]\)$DA"'\b'/'\1${color orange}'"$DA"'$color'/} | + | |
${hr} | ${hr} | ||
${color orange}Hostname: ${color}${nodename} | ${color orange}Hostname: ${color}${nodename} | ||
Ligne 69: | Ligne 66: | ||
${color orange}Uptime: ${color}${uptime} | ${color orange}Uptime: ${color}${uptime} | ||
${hr} | ${hr} | ||
- | ${color orange}CPU:${color} ${freq_g} GHz ${color} $cpu% ${color red}${cpubar 6} | + | ${color orange}CPU:${color} ${freq_g} GHz ${color green} $cpu% ${color red}${cpubar 6} |
- | ${offset 4}${color black}${cpugraph F600AA 5000a0} | + | ${offset 4}${color red}${cpugraph F600AA 5000a0} |
${color orange}0:${color} ${cpu cpu0}% ${cpubar cpu0} | ${color orange}0:${color} ${cpu cpu0}% ${cpubar cpu0} | ||
${color orange}1:${color} ${cpu cpu1}% ${cpubar cpu1} | ${color orange}1:${color} ${cpu cpu1}% ${cpubar cpu1} | ||
Ligne 76: | Ligne 73: | ||
${color orange}3:${color} ${cpu cpu3}% ${cpubar cpu3} | ${color orange}3:${color} ${cpu cpu3}% ${cpubar cpu3} | ||
${hr} | ${hr} | ||
- | ${color orange}Name PID CPU% MEM% | + | ${color orange}Name ${alignr} PID CPU MEM |
- | ${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} | + | ${color lightgrey} ${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1} |
- | ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} | + | ${color lightgrey} ${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2} |
- | ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} | + | ${color lightgrey} ${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3} |
- | ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} | + | ${color lightgrey} ${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4} |
${color orange}Processes: ${color}${processes} | ${color orange}Processes: ${color}${processes} | ||
${hr} | ${hr} | ||
- | ${color orange}RAM: ${color}${mem}/${memmax} | + | ${color orange}RAM: ${color}${mem}/${memmax} ${color green}${memperc}% ${color red}${membar 4} |
- | ${memperc}% ${membar 4} | + | |
${memgraph F600AA 5000a0} | ${memgraph F600AA 5000a0} | ||
${color orange}Swap: ${color}${swap}/${swapmax} | ${color orange}Swap: ${color}${swap}/${swapmax} | ||
${swapperc}% ${swapbar 4} | ${swapperc}% ${swapbar 4} | ||
${hr} | ${hr} | ||
- | ${color orange}SSD /: ${color}${fs_used /}/${fs_size /} ${fs_bar 6 /} | + | ${color orange}SSD /: ${color green}${fs_used /}/${color red}${fs_size /} ${color green}${fs_bar 6 /}${color} |
- | ${color orange}HDD /: ${color}${fs_used /home/kawer/Archive}/${fs_size /home/kawer/Archive} ${fs_bar 6 /home/kawer/Archive} | + | ${color orange}HDD /: ${color green}${fs_used /home/kawer/Archive}/${color red}${fs_size /home/kawer/Archive} ${color green}${fs_bar 6 /home/kawer/Archive}${color} |
${hr} | ${hr} | ||
${color orange}Moc Player: ${color green}${moc_title}${color} | ${color orange}Moc Player: ${color green}${moc_title}${color} | ||
${hr} | ${hr} | ||
- | ${color orange}IP WLAN: ${color}${color red}${addr wlp0s29u1u4}${color} | + | ${color orange}IP WLAN: ${color green}${addr wlp0s29u1u4} |
- | ${color orange}Up: ${color}${upspeed wlp0s29u1u4} | + | ${color orange}Essid: ${color red}${wireless_essid wlp0s29u1u4} |
- | ${color orange}Down: ${color}${downspeed wlp0s29u1u4} | + | ${color orange}Up: ${color}${upspeed wlp0s29u1u4} |
+ | ${color orange}Down: ${color}${downspeed wlp0s29u1u4} | ||
${hr} | ${hr} | ||
- | ${color orange}IP LAN: ${color}${addr eno1} | + | ${color orange}IP LAN: ${color green}${addr eno1} |
- | ${color orange}Up: ${color}${upspeed eno1} | + | ${color orange}Up: ${color}${upspeed eno1} |
- | ${color orange}Down: ${color}${downspeed eno1} | + | ${color orange}Down: ${color}${downspeed eno1} |
+ | ${hr} | ||
+ | ${color orange}IP BR0: ${color green}${addr br0} | ||
+ | ${color orange}Up: ${color}${upspeed br0} | ||
+ | ${color orange}Down: ${color}${downspeed br0} | ||
${hr} | ${hr} | ||
${color orange}IP PVPN: ${color green}${addr proton0} | ${color orange}IP PVPN: ${color green}${addr proton0} | ||
- | ${color orange}Up: ${color}${upspeed proton0} | + | ${color orange}Up: ${color}${upspeed proton0} |
- | ${color orange}Down: ${color}${downspeed proton0} | + | ${color orange}Down: ${color}${downspeed proton0} |
${hr} | ${hr} | ||
- | ${color orange}DEFAULT ROUTE: ${color red}${gw_iface}${color} | + | ${color orange}DEFAULT ROUTE: ${color green}${gw_iface}${color} |
- | ${hr} | + | |
- | ${color orange}IPV4: ${color red}${exec curl -s https://ifconfig.me}${color} | + | |
- | ${color orange}IPV6: ${color red}${exec curl -s http://checkipv6.dyndns.org | cut -c77-111}${color} | + | |
${hr} | ${hr} | ||
${color orange}Network Graph: | ${color orange}Network Graph: | ||
- | ${color black}${downspeedgraph wlp0s29u1u4 32,80 ff0000 0000ff}${alignr}${color black}${upspeedgraph wlp0s29u1u4 32,80 0000ff ff0000} | + | ${color green}${downspeedgraph br0 32,80 ff0000 0000ff}${color red}${upspeedgraph br0 32,80 0000ff ff0000}${color green}${downspeedgraph wlp0s29u1u4 32,80 ff0000 0000ff}${alignr}${color red}${upspeedgraph wlp0s29u1u4 32,80 0000ff ff0000} |
- | ${color orange} ▼ ${downspeed wlp0s29u1u4}${alignc}${color orange} ${wireless_essid wlp0s29u1u4}${alignr}${color}▲ ${upspeed wlp0s29u1u4} | + | ${color green}lan▼ ${downspeed br0}${color red} ▲lan ${upspeed br0} ${color green}${alignr}wlan▼ ${downspeed wlp0s29u1u4}${color red}${alignr} ▲wlan ${upspeed wlp0s29u1u4} |
+ | ${hr} | ||
+ | ${color orange}IO SSD: | ||
+ | ${color red}${diskiograph_read sdb 32,80 0000ff ff0000}${color}${color green}${alignr}${diskiograph_write sdb 32,80 0000ff ff0000}${color} | ||
+ | ${color red}read ${diskio_read sdb}${color green}${alignr}write ${diskio_write sdb} | ||
+ | |||
+ | ${color orange}IO HDD: | ||
+ | ${color red}${diskiograph_read sda 32,80 0000ff ff0000}${color}${color green}${alignr}${diskiograph_write sda 32,80 0000ff ff0000}${color} | ||
+ | ${color red}read ${diskio_read sda}${color green}${alignr}write ${diskio_write sda}${color orange} | ||
+ | ${hr} | ||
+ | ${color orange}IPV4:--- ${color red}${alignc}${exec curl -s https://ifconfig.me} ${color orange}${alignr}---:IPV4 | ||
+ | ${color orange}IPV6:- ${color red}${alignc}${exec curl -s --max-time 2 http://checkipv6.dyndns.org | cut -c77-112} ${color orange}${alignr}-:IPV6 | ||
+ | ${hr} | ||
]] | ]] | ||
+ | |||
</code> | </code> | ||