minor fixes in conkyrc

* fixed missing endif
* deleted some old comments and unused code
* changed refresh interval values from (2,5) to (1,3)
This commit is contained in:
surtur 2019-12-12 17:21:42 +01:00
parent 534b20ffe0
commit 6347b8d10f
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -1,15 +1,12 @@
conky.config = {
--background= false,
--xftfont= 'Sans:size=9',
--xftfont= 'Liberation Sans:size=9',
--xftfont= 'DejaVu Sans Mono:size=9',
--font= 'TeX Gyre Cursor:style=bold:size=10',
font= 'DejaVu Sans Mono:style=regular:size=10',
--font= 'Ubuntu Mono:style=regular:size=10',
use_xft= true,
xftalpha= 0.7,
update_interval= 2,
update_interval_on_battery= 5.0,
update_interval= 1,
update_interval_on_battery= 3.0,
total_run_times= 0,
own_window= true,
own_window_type= 'desktop',
@ -27,16 +24,6 @@ draw_graph_borders= false,
default_color= 'white',
--default_shade_color= 'black',
--default_outline_color= 'black',
--color0 = '999999',
--color1 = 'cccccc',
--color2 = 'ff0000',
--color3 = '00ff00',
--color4 = '0000ff',
--color5 = 'ffcc00',
--color6 = 'ccff00',
--color7 = '0099cc',
--color8 = 'cc9900',
--color9 = '333333',
alignment= 'top_right',
gap_x= 13,
gap_y= 30,
@ -47,7 +34,6 @@ cpu_avg_samples= 2,
net_avg_samples= 2,
override_utf8_locale= true,
out_to_console= false,
out_to_ncurses= false,
out_to_stderr= false,
out_to_x= true,
};
@ -55,9 +41,7 @@ out_to_x= true,
--user = os.execute("whoami")
conky.text = [[
#${texeci 31337 cat /etc/fedora-release}
#
#host: ${nodename}
${no_update kernel: ${kernel}} \
${alignr}load: ${alignr}$loadavg
uptime: ${uptime}\
@ -69,8 +53,6 @@ $endif${color white}
cpu: ${cpu}% ${freq} MHz \
${goto 155}core 0: ${texeci 10 bc <<< "`cat /sys/class/thermal/thermal_zone0/temp` / 1000"}°C \
core 1: ${texeci 10 bc <<< "`cat /sys/class/thermal/thermal_zone1/temp` / 1000"}°C \
#${alignr}temp: ${acpitemp}°C
#${alignr}fan: ${ibm_fan} rpm
${cpugraph cpu1 20,110} ${cpugraph cpu2 20,110 -t 9966ff 6699ff} \
${cpugraph cpu3 20,110} ${alignr}${cpugraph cpu4 20,110 -t 9966ff 6699ff}
@ -78,7 +60,7 @@ ${goto 25}cpu1: ${cpu cpu1}% \
${goto 140}cpu2: ${cpu cpu2}% \
${goto 255}cpu3: ${cpu cpu3}% \
${goto 370}cpu4: ${cpu cpu4}%
#
/ ${goto 70}${fs_used_perc /}% = ${fs_used /} / ${fs_size /} \
${goto 260}ram ${alignr}$memperc% = $mem / $memmax
/home ${goto 70}${fs_used_perc /home}% = ${fs_used /home} / ${fs_size /home} \
@ -102,7 +84,7 @@ ${endif}
#${color0}${goto 260}${top_mem name 4}${alignr}${top_mem pid 4}${top_mem mem 4}
#${color0}${top name 5}${goto 125}${top pid 5}${goto 175}${top cpu 5} \
#${color0}${goto 260}${top_mem name 5}${alignr}${top_mem pid 5}${top_mem mem 5}
#
${if_up wlp2s0}\
${color 009999}wlp2s0 \
${goto 77}${color 6699ff}Q: ${color white}${wireless_link_qual_perc wlp2s0}% \
@ -123,6 +105,7 @@ ${goto 225}↓↑${goto 270}up ${upspeed wlp2s0}\
${alignr}total ${totalup wlp2s0}
${downspeedgraph wlp2s0 25,225 9966ff 6699ff -l} · \
${alignr}${upspeedgraph wlp2s0 25,225 9966ff 6699ff -l}
${endif}\
#
${if_up enp0s31f6}\
${color 009999}enp0s31f6 \