Darkland | net

conkyrc as of 27 May 2020 and the new one, too.

Published on 27 May 2020 by Amanda

############################################## ## File edited for "fxbot" ## HP Z400 Workdation ## ## References: ## http://conky.sourceforge.net/variables.html ## http://www.ifxgroup.net/conky.htm ## https://github.com/brndnmtthws/conky/wiki/Installation ## https://github.com/brndnmtthws/conky/wiki ## ## ## 20170926 File migrated from backup, and installed ## on fxbot for use with conky 1.9.0. ## ## 20171021 Removed eth1 from RED section ## and added usb0. Changed interface and Subido/Descargado ## ## ## ## ## ############################################## # Use Xft? use_xft yes xftfont Tahoma Sans:size=9 # xftfont DS-Digital Bold: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). # and text doesn't update correctly (fonts smear) if I don't. own_window yes ## own_window_transparent yes # own_window_type override own_window_hints undecorated,below,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 200 0 # Draw shades? draw_shades yes # Draw outlines? draw_outline yes # Draw borders around text draw_borders no # Stippled borders? stippled_borders 0 # border margins border_inner_margin 5 # border width border_width 1 # Default colors and also border colors default_color aaffaa default_shade_color black #default_outline_color white own_window_colour white # Text alignment, other possible values are commented #alignment top_left alignment middle_right #alignment bottom_left #alignment bottom_right # Gap between borders of screen and text # same thing as passing -x at command line gap_x 5 gap_y 5 # 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 # Self-explanatory temperature_unit celsius # Add spaces to keep things from moving about? This only affects certain objects. use_spacer none TEXT FECHA${hr 2} #${voffset 6} ${alignc}${color #84A9FF}${font DS\-Digital:size=24:style=bold}${time %r}${font}${font Tahoma:size=8}${time %Z}${font} ${alignc}${time %A %d %b, %Y}${color} ${voffset 6}RECUERDA${hr 2} ${voffset 4}${alignc}${color #84A9FF} ${scroll 35 10${font Tahoma:size=12}The Instrumentalization Of The Human Person.${font}}${color} ${voffset 4}SISTEMA${hr 2} ${voffset 6} Host: ${alignr}${color #84A9FF}${nodename_short}${color} ${voffset 6} OS: ${alignr}${color #84A9FF}Linux Mint 19.3 Tricia${color} ${voffset 6} Kernel: ${alignr}${color #84A9FF}${kernel}${color} ${voffset 6} CPU 0: ${cpu cpu1}% ${alignr}${color #84A9FF}${cpubar cpu1 8,60}${color} ${voffset 6} CPU 1: ${cpu cpu2}% ${alignr}${color #84A9FF}${cpubar cpu2 8,60}${color} ${voffset 6} CPU 2: ${cpu cpu3}% ${alignr}${color #84A9FF}${cpubar cpu3 8,60}${color} ${voffset 6} CPU 3: ${cpu cpu4}% ${alignr}${color #84A9FF}${cpubar cpu4 8,60}${color} ${voffset 6} CPU 4: ${cpu cpu5}% ${alignr}${color #84A9FF}${cpubar cpu5 8,60}${color} ${voffset 6} CPU 5: ${cpu cpu6}% ${alignr}${color #84A9FF}${cpubar cpu6 8,60}${color} ${voffset 6} CPU 6: ${cpu cpu7}% ${alignr}${color #84A9FF}${cpubar cpu7 8,60}${color} ${voffset 6} CPU 7: ${cpu cpu8}% ${alignr}${color #84A9FF}${cpubar cpu8 8,60}${color} ${voffset 6} RAM: $memperc% ${alignr}${color #84A9FF}${membar 8,60}${color} ${voffset 6} SWAP: $swapperc% ${alignr}${color #84A9FF}${swapbar 8,60}${color} ${voffset 6} Uptime: ${alignr}${color #84A9FF}${uptime}${color} ALMACENAMIENTO${hr 2} ${voffset 4} / : ${fs_used_perc /}% ${voffset 4} ${fs_used /}/${fs_size /} ${alignr}${color #820000}${fs_bar 8,60 /}${color} ${voffset 4} Home: ${fs_used_perc /home}% ${voffset 4} ${fs_used /home}/${fs_size /home} ${alignr}${color #820000}${fs_bar 8,60 /home}${color} RED${hr 2} ${if_existing /proc/net/route enp1s0} ${voffset -4}${alignc}${color #84A9FF}LAN (enp1s0)${color} ${voffset 6} IP: ${alignr}${color #84A9FF}${addr enp1s0}${color} ${voffset 6} RX: ${downspeed enp1s0} /s ${alignr}${color #84A9FF}${downspeedgraph enp1s0 10,60 060000 009f00}${color} ${voffset 6} TX: ${upspeed enp1s0} /s ${alignr}${color #84A9FF}${upspeedgraph enp1s0 10,60 060000 9f0000}${color} ${voffset 6} Subido: ${alignr}${color #84A9FF}${totalup enp1s0}${color} ${voffset 6} Descargado: ${alignr}${color #84A9FF}${totaldown enp1s0}${color} ${endif} SONIDO${hr 2} ${voffset 6}${alignc}${color #aaffaa}${scroll 50 8 ** ${color #84A9FF}${mpd_title 32} ${color}**}${color} ${voffset 4} Artista: ${alignr}${color #84A9FF}${mpd_artist 27}${color} ${voffset 4} Álbum: ${alignr}${scroll 22 4${color #84A9FF}${mpd_album 60}${color}} ${voffset 6} Pista: ${alignr 14}${color #84A9FF}${mpd_track}${color} ${voffset 4} Bitrate: ${alignr 5}${color #84A9FF}${mpd_bitrate}${color} ${voffset 6} Tiempo: ${mpd_elapsed}/${mpd_length}${alignr}${color #84A9FF}${mpd_bar 8,55}${color} ${voffset 6} Volume: ${alignr 5}${color #84A9FF}${mpd_vol}${color}
NEW conkyrc as of 20200607:
conky.config = { use_xft = true, font = 'Tahoma Sans:size=9', xftalpha = 0.8, text_buffer_size = 2048, update_interval = 1, total_run_times = 0, own_window = true, own_window_transparent = true, own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', double_buffer = true, minimum_width = 200, minimum_height = 0, draw_shades = true, draw_outline = true, draw_borders = false, stippled_borders = 0, border_inner_margin = 5, border_width = 1, default_color = '#aaffaa', default_shade_color = 'black', own_window_colour = 'white', alignment = 'middle_right', gap_x = 5, gap_y = 5, no_buffers = true, uppercase = false, cpu_avg_samples = 2, net_avg_samples = 2, override_utf8_locale = true, temperature_unit = 'celsius', use_spacer = 'none', }; conky.text = [[ FECHA${hr 2} #${voffset 6} ${alignc}${color #84A9FF}${font DS\-Digital:size=24:style=bold}${time %r}${font}${font Tahoma:size=8}${time %Z}${font} ${alignc}${time %A %d %b, %Y}${color} # ${offset 5} ${alignc}${voffset 5}${font size=12}${color #84A9FF}${execi 900 curl -s "api.openweathermap.org/data/2.5/weather?id=5805687&APPID=2251d3a9e43d086ec84d1b023f993d16&units=metric" | jq -r '.main.temp' | awk '{printf("%.1f\n", $1)}'}${font size=12} C˚${execi 900 curl -s "http://api.openweathermap.org/data/2.5/weather?id=5805687&APPID=2251d3a9e43d086ec84d1b023f993d16&units=metric" | jq -r '.weather[0].description' | awk '{printf(" "$1" "$2 $3)}'}${font size=12}${font}${color} ${voffset 6}RECUERDA${hr 2} ${voffset 4}${alignc}${color #84A9FF} ${scroll 35 10${font Tahoma:size=12}The Instrumentalization Of The Human Person.${font}}${color} ${voffset 4}SISTEMA${hr 2} ${voffset 6} Host: ${alignr}${color #84A9FF}${nodename_short}${color} ${voffset 6} OS: ${alignr}${color #84A9FF}Linux Mint 19.3 Tricia${color} ${voffset 6} Kernel: ${alignr}${color #84A9FF}${kernel}${color} ${voffset 6} CPU 0: ${cpu cpu1}% ${alignr}${color #84A9FF}${cpubar cpu1 8,60}${color} ${voffset 6} CPU 1: ${cpu cpu2}% ${alignr}${color #84A9FF}${cpubar cpu2 8,60}${color} ${voffset 6} CPU 2: ${cpu cpu3}% ${alignr}${color #84A9FF}${cpubar cpu3 8,60}${color} ${voffset 6} CPU 3: ${cpu cpu4}% ${alignr}${color #84A9FF}${cpubar cpu4 8,60}${color} ${voffset 6} CPU 4: ${cpu cpu5}% ${alignr}${color #84A9FF}${cpubar cpu5 8,60}${color} ${voffset 6} CPU 5: ${cpu cpu6}% ${alignr}${color #84A9FF}${cpubar cpu6 8,60}${color} ${voffset 6} CPU 6: ${cpu cpu7}% ${alignr}${color #84A9FF}${cpubar cpu7 8,60}${color} ${voffset 6} CPU 7: ${cpu cpu8}% ${alignr}${color #84A9FF}${cpubar cpu8 8,60}${color} ${voffset 6} RAM: $memperc% ${alignr}${color #84A9FF}${membar 8,60}${color} ${voffset 6} SWAP: $swapperc% ${alignr}${color #84A9FF}${swapbar 8,60}${color} ${voffset 6} Uptime: ${alignr}${color #84A9FF}${uptime}${color} ALMACENAMIENTO${hr 2} ${voffset 4} / : ${fs_used_perc /}% ${voffset 4} ${fs_used /}/${fs_size /} ${alignr}${color #820000}${fs_bar 8,60 /}${color} ${voffset 4} Home: ${fs_used_perc /home}% ${voffset 4} ${fs_used /home}/${fs_size /home} ${alignr}${color #820000}${fs_bar 8,60 /home}${color} RED${hr 2} ${if_existing /proc/net/route enp1s0} ${voffset -4}${alignc}${color #84A9FF}LAN (enp1s0)${color} ${voffset 6} IP: ${alignr}${color #84A9FF}${addr enp1s0}${color} ${voffset 6} RX: ${downspeed enp1s0} /s ${alignr}${color #84A9FF}${downspeedgraph enp1s0 10,60 060000 009f00}${color} ${voffset 6} TX: ${upspeed enp1s0} /s ${alignr}${color #84A9FF}${upspeedgraph enp1s0 10,60 060000 9f0000}${color} ${voffset 6} Subido: ${alignr}${color #84A9FF}${totalup enp1s0}${color} ${voffset 6} Descargado: ${alignr}${color #84A9FF}${totaldown enp1s0}${color} ${endif} SONIDO${hr 2} ${voffset 6}${alignc}${color #aaffaa}${scroll 50 8 ** ${color #84A9FF}${mpd_title 32} ${color}**}${color} ${voffset 4} Artista: ${alignr}${color #84A9FF}${mpd_artist 27}${color} ${voffset 4} Álbum: ${alignr}${scroll 22 4${color #84A9FF}${mpd_album 60}${color}} ${voffset 6} Pista: ${alignr 14}${color #84A9FF}${mpd_track}${color} ${voffset 4} Bitrate: ${alignr 5}${color #84A9FF}${mpd_bitrate}${color} ${voffset 6} Tiempo: ${mpd_elapsed}/${mpd_length}${alignr}${color #84A9FF}${mpd_bar 8,55}${color} ${voffset 6} Volume: ${alignr 5}${color #84A9FF}${mpd_vol}${color} ]];
Back