Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- conky.config = {
- --load own lua scripts
- lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua',
- background = true,
- use_xft = true,
- font = 'Sans:size=10',
- xftalpha = 1,
- update_interval = 1,
- total_run_times = 0,
- own_window = true,
- own_window_transparent = false,
- own_window_type = 'panel',
- own_window_hints = 'undecorated,above,sticky,skip_taskbar,skip_pager',
- own_window_argb_visual = true,
- own_window_argb_value = 255,
- own_window_colour = '31363b',
- double_buffer = true,
- draw_shades = false,
- draw_outline = false,
- draw_borders = true,
- draw_graph_borders = true,
- default_color = 'black',
- --xinerama_head = 1,
- minimum_width = 2047, minimum_height = 30,
- border_outer_margin = 0,
- border_inner_margin = 0,
- default_shade_color = 'black',
- default_outline_color = 'white',
- alignment = 'bottom_left',
- max_text_width = 2000,
- gap_x = 1920,
- gap_y = 0,
- no_buffers = true,
- uppercase = false,
- cpu_avg_samples = 2,
- override_utf8_locale = true,
- pad_percents = 2,
- short_units = true, --Shortens units to a single character (kiB->k, GiB->G, etc.)
- };
- conky.text = [[
- ${voffset 5}
- ${font sans-serif:bold:size=12}${color eee}CPU0${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu0}}% ${cpugraph cpu0 18,50} ${font sans-serif:bold:size=12}${color eee}CPU1${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu1}}% ${cpugraph cpu1 18,50} ${font sans-serif:bold:size=12}${color eee}CPU2${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu2}}% ${cpugraph cpu2 18,50} ${font sans-serif:bold:size=12}${color eee}CPU3${font sans-serif:normal:size=12}: ${lua_parse format %02.0f ${cpu cpu3}}% ${cpugraph cpu3 18,50} ${font sans-serif:bold:size=12}${color eee}Temp${font sans-serif:normal:size=12}: ${execi 11 sensors | grep 'Core 0' | cut -c18-24 | sed '/^$/d'} || ${font sans-serif:bold:size=12}${color eee}RAM: ${font sans-serif:normal:size=12} $mem / $memmax $memperc% ${memgraph 18,100} ${font sans-serif:bold:size=12}${color eee} IP${font sans-serif:normal:size=12}: ${exec curl -s www.icanhazip.com}${font sans-serif:bold:size=12}${color eee} Down${font sans-serif:normal:size=12}: ${downspeed enp0s25}B/s | ${totaldown enp0s25} ${font sans-serif:bold:size=12}${color eee}Up${font sans-serif:normal:size=12}: ${upspeed enp0s25}B/s |Total: ${totalup enp0s25} ${font sans-serif:bold:size=12}Ping${font sans-serif:normal:size=12}: ${execi 1 ping www.google.com -c 1 | grep time= | rev | cut -c -6 | rev}
- ]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement