Commit 323bf8d7 authored by Geoffrey Gekiere's avatar Geoffrey Gekiere

.conkyrc en syntaxe conky 1.10

parent 88cf30be
# Use Xft?
use_xft yes
xftfont Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 0
# Maximum width of text area
maximum_width 200
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text and graphs
draw_borders no
draw_graph_borders no
# Stippled borders?
stippled_borders 0
# border margins
window.border_inner_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color AE0508
own_window_colour 003267
default_shade_color 666666
# Text alignment, other possible values are commented
alignment top_right
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 8
gap_y 8
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${alignc}${font Sans:size=9,weight:bold}Système${font}
${font Sans:size=11,weight:bold}${alignc}.:: Studiobox3 ::.${font}
conky.config = {
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
temperature_unit = 'celsius',
double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,
gap_x = 0,
gap_y = 40,
minimum_width = 250, minimum_height = 1080,
maximum_width = 250,
own_window = true,
own_window_class = 'conky',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour = '#484B52',
background = false,
border_inner_margin = 0,
border_outer_margin = 0,
alignment = 'top_right',
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
override_utf8_locale = true,
use_xft = true,
font = 'DejaVu Sans:size=9',
xftalpha = 0.5,
uppercase = false,
default_color = 'white',
color1 = 'blue',
color2 = 'red',
color3 = 'white',
};
conky.text = [[
${alignc}${font Sans:size=9,weight:bold}${color1}Système${font}
${font Sans:size=11,weight:bold}${alignc}.:: Studiobox4 ::.${font}
${hr}
${font Sans:size=11,weight:bold}${alignc}${time %a %d %b %Y}${font}
${font Sans:size=18,weight:bold}${alignc}${time %H:%M}${font}
${hr}
${font Sans:size=9,weight:bold}Matériel${font} ${hr 2}
#Freq & Temp CPU : ${alignr}${color 9D9D9D}${freq_g}GHz${color} - ${color 9D9D9D}${acpitemp}°C${color}
#${alignc}${cpugraph 6,200 FF7881 D20B18}
${color1}${font Sans:size=9,weight:bold}Matériel${font} ${color1}${hr 2}
${color3}Freq & Temp CPU : ${color 9D9D9D}${alignr}${freq_g}GHz ${acpitemp}°C
#${alignc}${cpugraph}
CPU : ${alignr}${color 9D9D9D}${cpu cpu0}%${color} ${cpugauge cpu0 10,25}
RAM : ${alignr}${color 9D9D9D}${mem} - ${memperc}%${color} ${memgauge 10,25}
${color3}CPU : ${alignr}${color 9D9D9D}${cpu cpu0}% ${cpugauge cpu0 10,25}
${color3}RAM : ${alignr}${color 9D9D9D} ${mem} - ${memperc}% ${memgauge 10,25}
${font Sans:size=9,weight:bold}Processus${font} ${hr 2}
${color1}${font Sans:size=9,weight:bold}Processus${font} ${hr 2}
Process ${goto 145}${alignr}CPU
${color3}Process ${goto 145}${alignr}CPU
${color 9D9D9D}${top name 1} ${goto 140}${alignr}${top cpu 1}
${top name 2} ${goto 140}${alignr}${top cpu 2}
${top name 3} ${goto 140}${alignr}${top cpu 3}
${top name 4} ${goto 140}${alignr}${top cpu 4}
${top name 5} ${goto 140}${alignr}${top cpu 5}${color}
${font Sans:size=9,weight:bold}Réseau${font} ${hr 2}
${if_existing /proc/net/route eth0}${font sans-serif:normal:size=8}IP filaire : $alignr${color 9D9D9D} ${addr eth0}${color}${endif}
${color1}${font Sans:size=9,weight:bold}Réseau${font} ${hr 2}
${color 9D9D9D}${if_existing /proc/net/route eth0}${font sans-serif:normal:size=8}IP filaire : $alignr${color 9D9D9D} ${addr eth0}${color}${endif}
${if_existing /proc/net/route wlan0}${font sans-serif:normal:size=8}IP WiFi: $alignr${color 9D9D9D} ${addr wlan0}${color}${endif}
${font sans-serif:normal:size=8}IP publique : $alignr ${color 9D9D9D}${execi 1800 $HOME/.Scripts/ip_publique.sh}${color}${if_existing /proc/net/route eth0}
${color3}${font sans-serif:normal:size=8}IP publique : $alignr ${color 9D9D9D}${execi 1800 $HOME/.Scripts/ip_publique.sh}${color}${if_existing /proc/net/route eth0}
Filaire
${color}Down:${color 9D9D9D} ${totaldown eth0}${goto 120}${downspeedf eth0}k/s
......@@ -125,6 +87,8 @@ ${color}Up:${color 9D9D9D} ${totalup wlan0}${goto 120}${upspeedf wlan0}k/s
#${if_existing /proc/net/route wlan0}
#${endif}
${color}${font Sans:size=9,weight:bold}Stockage${font} ${hr}
${color1}${font Sans:size=9,weight:bold}Stockage${font} ${hr}
${color}Espace disponible: $alignr ${color 9D9D9D}${fs_free /}
]];
# Use Xft?
use_xft yes
xftfont Sans:size=8
xftalpha 0.8
text_buffer_size 2048
# Update interval in seconds
update_interval 1
# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 0
# Maximum width of text area
maximum_width 200
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text and graphs
draw_borders no
draw_graph_borders no
# Stippled borders?
stippled_borders 0
# border margins
window.border_inner_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color AE0508
own_window_colour 003267
default_shade_color 666666
# Text alignment, other possible values are commented
alignment top_right
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 8
gap_y 8
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${alignc}${font Sans:size=9,weight:bold}Système${font}
${font Sans:size=11,weight:bold}${alignc}.:: Studiobox3 ::.${font}
conky.config = {
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
temperature_unit = 'celsius',
double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,
gap_x = 0,
gap_y = 40,
minimum_width = 250, minimum_height = 1080,
maximum_width = 250,
own_window = true,
own_window_class = 'conky',
own_window_transparent = true,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_colour = '#484B52',
background = false,
border_inner_margin = 0,
border_outer_margin = 0,
alignment = 'top_right',
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
override_utf8_locale = true,
use_xft = true,
font = 'DejaVu Sans:size=9',
xftalpha = 0.5,
uppercase = false,
default_color = 'white',
color1 = 'blue',
color2 = 'red',
color3 = 'white',
};
conky.text = [[
${alignc}${font Sans:size=9,weight:bold}${color1}Système${font}
${font Sans:size=11,weight:bold}${alignc}.:: Studiobox4 ::.${font}
${hr}
${font Sans:size=11,weight:bold}${alignc}${time %a %d %b %Y}${font}
${font Sans:size=18,weight:bold}${alignc}${time %H:%M}${font}
${hr}
${font Sans:size=9,weight:bold}Matériel${font} ${hr 2}
#Freq & Temp CPU : ${alignr}${color 9D9D9D}${freq_g}GHz${color} - ${color 9D9D9D}${acpitemp}°C${color}
#${alignc}${cpugraph 6,200 FF7881 D20B18}
${color1}${font Sans:size=9,weight:bold}Matériel${font} ${color1}${hr 2}
${color3}Freq & Temp CPU : ${color 9D9D9D}${alignr}${freq_g}GHz ${acpitemp}°C
#${alignc}${cpugraph}
CPU : ${alignr}${color 9D9D9D}${cpu cpu0}%${color} ${cpugauge cpu0 10,25}
RAM : ${alignr}${color 9D9D9D}${mem} - ${memperc}%${color} ${memgauge 10,25}
${color3}CPU : ${alignr}${color 9D9D9D}${cpu cpu0}% ${cpugauge cpu0 10,25}
${color3}RAM : ${alignr}${color 9D9D9D} ${mem} - ${memperc}% ${memgauge 10,25}
${font Sans:size=9,weight:bold}Processus${font} ${hr 2}
${color1}${font Sans:size=9,weight:bold}Processus${font} ${hr 2}
Process ${goto 145}${alignr}CPU
${color3}Process ${goto 145}${alignr}CPU
${color 9D9D9D}${top name 1} ${goto 140}${alignr}${top cpu 1}
${top name 2} ${goto 140}${alignr}${top cpu 2}
${top name 3} ${goto 140}${alignr}${top cpu 3}
${top name 4} ${goto 140}${alignr}${top cpu 4}
${top name 5} ${goto 140}${alignr}${top cpu 5}${color}
${font Sans:size=9,weight:bold}Réseau${font} ${hr 2}
${if_existing /proc/net/route eth0}${font sans-serif:normal:size=8}IP filaire : $alignr${color 9D9D9D} ${addr eth0}${color}${endif}
${color1}${font Sans:size=9,weight:bold}Réseau${font} ${hr 2}
${color 9D9D9D}${if_existing /proc/net/route eth0}${font sans-serif:normal:size=8}IP filaire : $alignr${color 9D9D9D} ${addr eth0}${color}${endif}
${if_existing /proc/net/route wlan0}${font sans-serif:normal:size=8}IP WiFi: $alignr${color 9D9D9D} ${addr wlan0}${color}${endif}
${font sans-serif:normal:size=8}IP publique : $alignr ${color 9D9D9D}${execi 1800 $HOME/.Scripts/ip_publique.sh}${color}${if_existing /proc/net/route eth0}
${color3}${font sans-serif:normal:size=8}IP publique : $alignr ${color 9D9D9D}${execi 1800 $HOME/.Scripts/ip_publique.sh}${color}${if_existing /proc/net/route eth0}
Filaire
${color}Down:${color 9D9D9D} ${totaldown eth0}${goto 120}${downspeedf eth0}k/s
......@@ -125,6 +87,8 @@ ${color}Up:${color 9D9D9D} ${totalup wlan0}${goto 120}${upspeedf wlan0}k/s
#${if_existing /proc/net/route wlan0}
#${endif}
${color}${font Sans:size=9,weight:bold}Stockage${font} ${hr}
${color1}${font Sans:size=9,weight:bold}Stockage${font} ${hr}
${color}Espace disponible: $alignr ${color 9D9D9D}${fs_free /}
]];
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment