{"id":4115,"date":"2023-03-29T22:05:30","date_gmt":"2023-03-29T21:05:30","guid":{"rendered":"https:\/\/www.gcportal.com\/wordpress\/?page_id=4115"},"modified":"2023-03-29T22:12:20","modified_gmt":"2023-03-29T21:12:20","slug":"esempio-di-conky","status":"publish","type":"page","link":"https:\/\/www.gcportal.com\/wordpress\/esempio-di-conky","title":{"rendered":"Esempio di Conkyrc"},"content":{"rendered":"\n<pre class=\"wp-block-preformatted\"># THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP\n# YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED\n\n# maintain spacing between certain elements\nuse_spacer yes\n\n# set to yes if you want conky to be forked in the background\nbackground no\n\nuse_xft yes\n\n# Xft font when Xft is enabled\nxftfont Bitstream Vera Sans Mono-10\n#xftfont Andale Mono-9\n#xftfont Clean-8\n#xftfont cubicfive10:pixelsize=8\n#xftfont squaredance10:pixelsize=14\n#xftfont swf!t_v02:pixelsize=10\n\n# Text alpha when using Xft\nxftalpha 1\nmail_spool $MAIL\n\n# Update interval in seconds\nupdate_interval 3.0\n\n# Create own window instead of using desktop (required in nautilus)\nown_window no\n\n# Use double buffering (reduces flicker, may not work for everyone)\ndouble_buffer yes\n\n# Minimum size of text area\nminimum_size 280 5\n\n# Draw shades?\ndraw_shades yes\n\n# Draw outlines?\ndraw_outline no # amplifies text\n\n# Draw borders around text\ndraw_borders no\n\n# Stippled borders?\nstippled_borders 0\n\n# border margins\nborder_margin 9\n\n# border width\nborder_width 1\n\n# Default colors and also border colors, grey90 == #e5e5e5\ndefault_color grey90\ndefault_shade_color black\ndefault_outline_color DarkGrey\n\n# Text alignment, other possible values are commented\n#alignment top_left\nalignment top_right\n#alignment bottom_left\n#alignment bottom_right\n\n# Gap between borders of screen and text\ngap_x 24\ngap_y 40\n\n# Subtract file system buffers from used memory?\nno_buffers yes\n\n# set to yes if you want all text to be in uppercase\nuppercase no\n\n# stuff after 'TEXT' will be formatted on screen\n\nTEXT\n${color #828282}$sysname $kernel\n${color #ffcb48}PROCESSING$color\n${color #98c2c7}CPU:$color $cpu% \n${color #78af78}${cpubar cpu0 6}\n#   ${color #78af78}${cpubar cpu2 6}\n\n${color #98c2c7}NAME             PID       CPU%      MEM%\n${color #e5e5e5}${top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}\n${color #c4c4c4}${top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}\n${color #a3a3a3}${top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}\n${color #828282}${top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}\n\n${color #ffcb48}DATA$color\n${color #98c2c7}RAM:$color                $memperc%         ${color #78af78}\n${membar 6}${color}\n\n${color #98c2c7}NAME             PID       CPU%      MEM%\n${color #e5e5e5}${top_mem name 1} ${top_mem pid 1}   ${top_mem cpu 1}    ${top_mem mem 1}\n${color #c4c4c4}${top_mem name 2} ${top_mem pid 2}   ${top_mem cpu 2}    ${top_mem mem 2}\n${color #a3a3a3}${top_mem name 3} ${top_mem pid 3}   ${top_mem cpu 3}    ${top_mem mem 3}\n${color #828282}${top_mem name 4} ${top_mem pid 4}   ${top_mem cpu 4}    ${top_mem mem 4}\n\n${color #ffcb48}DISK$color\n${color #98c2c7}\/$color       ${fs_used_perc \/}%  ${fs_used \/} ${color #78af78}${fs_bar 6 \/}$color\n${color #98c2c7}\/home$color   ${fs_used_perc \/home}%  ${fs_used \/home} ${color #78af78}${fs_bar 6 \/home}$color\n${color #98c2c7}SSDATI$color   ${fs_used_perc \/media\/SSDATI}%  ${fs_used \/media\/SSDATI} ${color #78af78}${fs_bar 6 \/media\/SSDATI}$color\n\n${color #98c2c7}Upload:$color  ${upspeed eth0}kb\/s${color #98c2c7} \n   Download:$color  ${downspeed eth0}kb\/s\n\n${color #ffcb48}SYSTEM$color\n${color #98c2c7}Uptime: $color$uptime\n${color #98c2c7}Front fan: $color${execi 20 sensors | grep fan2: | cut -c14-17} RPM\n${color #98c2c7}CPU fan:   $color${execi 20 sensors | grep fan1: | cut -c14-17} RPM\n${color #98c2c7}CPU temp:  $color${execi 20 sensors | grep temp3: | cut -c16-17} \u00c2\u00b0C\n${color #98c2c7}GPU temp:  $color${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if \/GPUCoreTemp.*?: (\\d+).\/;'} \u00c2\u00b0C\n\n\n#   ${color #98c2c7}Audacious: $color${audacious_title 20} $audacious_length $audacious_bitrate\n#   ${color #78af78}${audacious_bar 6} $color\n#   ${color #98c2c7}ACPI fan: $color$acpifan\n#   ${color #98c2c7}ACPI temp: $color$acpitemp\n#   ${color #98c2c7}CPU temp: $color$adt746xcpu\n#   ${diskiograph \/dev\/sda 30 -t}\n#   ${color #98c2c7}Kernel: $color$kernel\n#   ${color #98c2c7}ACPI fan: $color$acpifan\n#   ${color #98c2c7}ACPI temp: $color$acpitemp\n#   ${color #98c2c7}CPU temp: $color$adt746xcpu   \n#   ${color #98c2c7}GPU temp: $color${nvidia temp}\n#   ${color #98c2c7}Batt:$color   ${battery}\n#   ${execi 5 cputemp}\u00c2\u00b0C\n#   ${color #78af78}${cpugraph 78af78 a3a3a3}\n#   ${color #98c2c7}Swap:$color    $swapperc%         ${color #78af78}${swapbar 10}$color\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p># THIS CONFIG RELIES ON 2 SCRIPTS, CPUSPEED AND CPUTEMP # YOUR SYSTEM MAY NOT REQUIRE THEM, REPLACE AS DESIRED # maintain spacing between certain elements use_spacer yes # set [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-4115","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/pages\/4115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/comments?post=4115"}],"version-history":[{"count":4,"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/pages\/4115\/revisions"}],"predecessor-version":[{"id":4122,"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/pages\/4115\/revisions\/4122"}],"wp:attachment":[{"href":"https:\/\/www.gcportal.com\/wordpress\/wp-json\/wp\/v2\/media?parent=4115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}