[conky]Configuration for 1.10 and later

This commit is contained in:
Mathieu Maret 2017-01-18 17:46:23 +01:00
parent 73e167cb96
commit 214e15efb3

View File

@ -1,45 +1,43 @@
#avoid flicker
double_buffer yes
background yes
conky.config = {
-- avoid flicker
double_buffer=true,
background=true,
#own window to run simultanious 2 or more conkys
own_window yes
own_window_transparent no
own_window_type normal
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
--own window to run simultanious 2 or more conkys
own_window=true,
own_window_transparent=false,
own_window_type="normal",
own_window_hints="undecorated,sticky,skip_taskbar,skip_pager,below",
--borders
draw_borders=false,
#borders
draw_borders no
--shades
draw_shades=false,
#shades
draw_shades no
--position
gap_x=6,
gap_y=2,
alignment="top_right",
#position
gap_x 6
gap_y 2
alignment top_right
--behaviour
update_interval=1,
--colour
default_color="9f907d",
color2="D8476A",
color3="929292",
#behaviour
update_interval 1
--default_shade_color 000000
--own_window_colour=3d352a
own_window_colour="3e3c3a",
#colour
default_color 9f907d
color2 D8476A
color3 929292
--font
use_xft=true,
font="bauhaus:pixelsize=8",
#default_shade_color 000000
#own_window_colour 3d352a
own_window_colour 3e3c3a
#font
use_xft yes
xftfont bauhaus:pixelsize=8
#to prevent window from moving
use_spacer none
#use_spacer right
minimum_size 1680 0
TEXT
${alignc}Kernel: ${color D7D3C5}$kernel | ${color}Uptime: ${color D7D3C5}${uptime_short} | ${color }Down: ${color D7D3C5}${font}${downspeed eth0} Kb/s - ${color D7D3C5}${totaldown eth0} | ${color }Up: ${color D7D3C5}${upspeed eth0} Kb/s - ${color D7D3C5}${totalup eth0} | ${color }Root: ${color D7D3C5}${fs_free /} ${fs_bar 6,60 /} | ${color} Temps: ${color D7D3C5} ${execi 300 $HOME/config/scripts/weather.sh "EUR|FR|FR012|PARIS"}
${alignc}${color light grey}${time %a %D %k:%M} | ${color }Mem: ${color D7D3C5}$memperc% ${color D7D3C5} ${membar 6,80}${color D7D3C5} | ${color}hog:${color D7D3C5} ${top_mem name 1}${offset -25}${top_mem mem 1}%${color grey} | ${color}Cpu: ${color D7D3C5}${cpu}% ${color D7D3C5}${cpugraph 9,80 AEA08E 9F907D} ${color D7D3C5} | ${color}hog:${color D7D3C5} ${top name 1}${offset -25}${top cpu 1}% | ${color}tempCpu:${color D7D3C5} $acpitemp | ${color}battery:$color ${color D7D3C5}${battery_bar 4,50 BAT1} #| ${color}Users:${color D7D3C5}${user_names}
--to prevent window from moving
use_spacer="none",
--use_spacer="right",
minimum_width=1920
}
conky.text = [[ ${alignc}Kernel: ${color D7D3C5}$kernel | ${color}Uptime: ${color D7D3C5}${uptime_short} | ${color }Down: ${color D7D3C5}${font}${downspeed eth0} Kb/s - ${color D7D3C5}${totaldown eth0} | ${color }Up: ${color D7D3C5}${upspeed eth0} Kb/s - ${color D7D3C5}${totalup eth0} | ${color }Root: ${color D7D3C5}${fs_free /} ${fs_bar 6,60 /} | ${color} Temps: ${color D7D3C5} ${execi 300 $HOME/config/scripts/weather.sh "EUR|FR|FR012|PARIS"}
${alignc}${color light grey}${time %a %D %k:%M} | ${color }Mem: ${color D7D3C5}$memperc% ${color D7D3C5} ${membar 6,80}${color D7D3C5} | ${color}hog:${color D7D3C5} ${top_mem name 1}${offset -25}${top_mem mem 1}%${color grey} | ${color}Cpu: ${color D7D3C5}${cpu}% ${color D7D3C5}${cpugraph 9,80 AEA08E 9F907D} ${color D7D3C5} | ${color}hog:${color D7D3C5} ${top name 1}${offset -25}${top cpu 1}% | ${color}tempCpu:${color D7D3C5} $acpitemp | ${color}battery:$color ${color D7D3C5}${battery_bar 4,50 BAT1} ]]