Skip to content

Instantly share code, notes, and snippets.

@teaddict
Last active November 21, 2017 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teaddict/a0d62d503bb95ba847b3b12e6ab548fe to your computer and use it in GitHub Desktop.
Save teaddict/a0d62d503bb95ba847b3b12e6ab548fe to your computer and use it in GitHub Desktop.
conky profile
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'bottom_right',
background = true,
double_buffer = true,
border_width = 1,
border_inner_margin = 10,
border_outer_margin = 0,
cpu_avg_samples = 4,
default_color = 'lightgrey',
default_outline_color = 'black',
default_shade_color = 'black',
draw_borders = false,
draw_graph_borders = false,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 25,
gap_y = 30,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_transparent = true,
own_window_class = 'Conky',
own_window_type = 'dock',
own_window_argb_visual = true,
own_window_argb_value = 100,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false,
color1 = 'cyan',
color2 = 'gray'
}
conky.text = [[
${font verdana:size=8:style=bold}${color cc6633}INFO${font } ${color 996666}${hr 1}
${color b6c9c9}${time %a, } ${color }${time %e %B %Y}
${color b6c9c9}Hostname: ${color }$nodename
${color b6c9c9}Kern: ${color }$kernel
${color b6c9c9}Desktop: ${color }No.$desktop
${color b6c9c9}UpTime: ${font mono:size=8:style=bold}${color }$uptime${font}
$hr
${goto 40}${font verdana:size=8:style=bold}${color cc6633}Name${alignr 39}MEM%
${goto 40}${color lightgrey}${top_mem name 1}${alignr 39}${top_mem mem_res 1}
${goto 40}${color lightgrey}${top_mem name 2}${alignr 39}${top_mem mem_res 2}
${goto 40}${color lightgrey}${top_mem name 3}${alignr 39}${top_mem mem_res 3}
${goto 40}${color lightgrey}${top_mem name 4}${alignr 39}${top_mem mem_res 4}
$hr
${font verdana:size=8:style=bold}${color cc6633}PROCESSOR${font } ${color 996666}${hr 1}
${color b6c9c9}Load: ${color }$loadavg
${color b6c9c9}CPU: ${color }1:${cpu cpu1}%, 2:${cpu cpu2}%, 3:${cpu cpu3}%, 4:${cpu cpu4}%
${color b6c9c9}CPU: ${color }5:${cpu cpu5}%, 6:${cpu cpu6}%, 7:${cpu cpu7}%, 8:${cpu cpu8}%
${color b6c9c9}Core 1: ${color 729FCF}${cpubar cpu1 8,145 } ${color b6c9c9}Core 5: ${color 729FCF}${cpubar cpu5 8,145 }
${color b6c9c9}Core 2: ${color E9B96E}${cpubar cpu2 8,145 } ${color b6c9c9}Core 6: ${color E9b96E}${cpubar cpu6 8,145 }
${color b6c9c9}Core 3: ${color 8AE234}${cpubar cpu3 8,145 } ${color b6c9c9}Core 7: ${color 8AE234}${cpubar cpu7 8,145 }
${color b6c9c9}Core 4: ${color F47A7A}${cpubar cpu4 8,145 } ${color b6c9c9}Core 8: ${color F47A7A}${cpubar cpu8 8,145 }
$hr
${font verdana:size=8:style=bold}${color cc6633}MEMORY${font } ${color 996666}${hr 1}
${color b6c9c9}RAM Used: ${color }$memperc% ${color b6c9c9}Max: ${color }$memmax
${offset 8}${color ccff66}${membar 4,186}
${color b6c9c9}SWAP Used: ${color }$swapperc% ${color b6c9c9}Max: ${color }$swapmax
${offset 8}${color ffcc66}${swapbar 4,186}
$hr
${font verdana:size=8:style=bold}${color cc6633}NETWORK${font } ${color 996666}${hr 1}
${color b6c9c9}Network IP: ${color }${addr wlp3s0}
${color b6c9c9}Public IP: ${color }${curl ifconfig.me}
${color b6c9c9}DL: ${color }${totaldown wlp3s0} - ${downspeed wlp3s0}/ps
${offset 8}${color b6c9c9}${downspeedgraph wlp3s0 10,186 3399ff 00cc33}
${color b6c9c9}UL: ${color }${totalup wlp3s0} - ${upspeed wlp3s0}/ps
${offset 8}${color b6c9c9}${upspeedgraph wlp3s0 10,186 ff3333 993333}
$hr
${font verdana:size=8:style=bold}${color cc6633}STORAGE${font } ${color 996666}${hr 1}
${color b6c9c9}Home: ${color }${fs_used_perc /home}%, ${fs_free /home}/${fs_size /home}
${offset 8}${color 669999}${fs_bar 4,186 /home}${color }
$hr
$hr
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment