Skip to content

Instantly share code, notes, and snippets.

@alexxxdev
Last active June 13, 2018 10:05
Show Gist options
  • Save alexxxdev/3a7088c26bb3fb3b9722ea194c35c79f to your computer and use it in GitHub Desktop.
Save alexxxdev/3a7088c26bb3fb3b9722ea194c35c79f to your computer and use it in GitHub Desktop.
# set to yes if you want Conky to be forked in the background
background yes
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont FreeSans:bold:size=8
xftfont FreeSans:bold:size=8
# Text alpha when using Xft
xftalpha 0.9
# Update interval in seconds
update_interval 1.0
# 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)
own_window yes
# If own_window is yes, you may use type normal, desktop or override
#dock
own_window_type dock
# Use pseudo transparency with own_window?
own_window_transparent yes
# If own_window_transparent is set to no, you can set the background
colour here
#own_window_colour black
# If own_window is yes, these window manager hints may be used
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 150 600
#Maximum width
maximum_width 800
minimum_size 150 600
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around graphs
draw_graph_borders no
# Draw borders around text
draw_borders no
# Stippled borders?
#stippled_borders 8
# border margins
#border_margin 1
# border width
#border_width 1
# Text alignment, other possible values are commented
#alignment top_left
alignment top_left
#alignment bottom_left
#alignment bottom_right
#alignment none
#alignment top_middle
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 60
gap_y 70
# Subtract file system buffers from used memory?
no_buffers no
# set to yes if you want all text to be in uppercase
uppercase no
# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer yes
default_color white
default_shade_color 000000
default_outline_color 222222
cpu_avg_samples 2
net_avg_samples 2
#${font size=18}$Nodename $kernel
#${alignc}${font OpenLogos:pixelsize=40}J
own_window_argb_value 0
own_window_argb_visual yes
own_window_colour 000000
TEXT
${color lightgrey}${hr 1}$color
${font FreeSans:Bold:size=8}${color 20FFA1}[PROCESSOR]
${font}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq} $alignr ${freq_g cpu0}GHz${color}
#${font}Core™ i7-7700K CPU @ 4.20GHz $alignr ${freq_g cpu0}GHz ${color}
${color orange}${font}Thread 1: ${cpu cpu1}%$alignc ${color}${cpubar cpu1 10} color
${color orange}${font}Thread 2: ${cpu cpu2}%$alignc ${color}${cpubar cpu2 10} color
${color orange}${font}Thread 3: ${cpu cpu3}%$alignc ${color}${cpubar cpu3 10} color
${color orange}${font}Thread 4: ${cpu cpu4}%$alignc ${color}${cpubar cpu4 10} color
${color orange}${font}Thread 5: ${cpu cpu5}%$alignc ${color}${cpubar cpu5 10} color
${color orange}${font}Thread 6: ${cpu cpu6}%$alignc ${color}${cpubar cpu6 10} color
${color orange}${font}Thread 7: ${cpu cpu7}%$alignc ${color}${cpubar cpu7 10} color
${color orange}${font}Thread 8: ${cpu cpu8}%$alignc ${color}${cpubar cpu8 10} color
${cpugraph 25, a1a1a1a1a 19BCE6}
${color lightgrey}${hr 1}$color
${color 20FFA1}[MEMORY] ${alignr}${color 20FFA1}Usage:${color lightgray} $memperc%
${color orange}Ram: $mem/$memmax ${color}${membar 10}
#${color orange}Swap: $swap/$swapmax ${color}${swapbar 10}
${memgraph 25, a1a1a1a1a 19BCE6}
${hr 1}
${color 20FFA1}[PROCESS] ${alignr}${color 20FFA1}Total:$color $processes ${color lightgrey}Running:$color $running_processes
${color orange}Procs/CPU PID CPU% MEM%$color
${top name 1}${color lightgrey}${top pid 1}$color${top cpu 1}${color lightgrey}${top mem 1}$color
${top name 2}${color lightgrey}${top pid 2}$color${top cpu 2}${color lightgrey}${top mem 2}$color
${top name 3}${color lightgrey}${top pid 3}$color${top cpu 3}${color lightgrey}${top mem 3}$color
#${top name 4}${color lightgrey}${top pid 4}$color${top cpu 4}${color lightgrey}${top mem 4}$color
#${top name 5}${color lightgrey}${top pid 5}$color${top cpu 5}${color lightgrey}${top mem 5}$color
${color orange}Procs/MEM PID CPU% MEM%$color
${top_mem name 1}${color lightgrey}${top_mem pid 1}${top_mem cpu 1}$color${top_mem mem 1}
${top_mem name 2}${color lightgrey}${top_mem pid 2}${top_mem cpu 2}$color${top_mem mem 2}
${top_mem name 3}${color lightgrey}${top_mem pid 3}${top_mem cpu 3}$color${top_mem mem 3}
#${top_mem name 4}${color lightgrey}${top_mem pid 4}${top_mem cpu 4}$color${top_mem mem 4}
#${top_mem name 5}${color lightgrey}${top_mem pid 5}${top_mem cpu 5}$color${top_mem mem 5}
${color lightgrey}${hr 1}
${color 20FFA1}[NETWORK] ${alignr}${color orange}Address:$color ${addr enp0s31f6}
${color orange}Download:$color ${downspeedf enp0s31f6}k/s${color orange}${alignr}Upload:$color ${upspeedf enp0s31f6}k/s
$color${downspeedgraph enp0s31f6 25,113 a1a1a1a1 00FF82} $color${upspeedgraph enp0s31f6 25,113 a1a1a1a1 19BCE6}$color
${color lightgrey}Total Download:$color ${totaldown enp0s31f6}${color lightgrey}${alignr}Total Upload:$color ${totalup enp0s31f6}
#${color 20FFA1}[WIRELESS] ${alignr}${color orange}Address:$color ${addr wlp2s0}
#${color orange}Download:$color ${downspeedf enp0s31f6}k/s${color orange}${alignr}Upload:$color ${upspeedf enp0s31f6}k/s
#$color${downspeedgraph enp0s31f6 25,113 a1a1a1a1 00FF82} $color${upspeedgraph enp0s31f6 25,113 a1a1a1a1 19BCE6}$color
#${color lightgrey}Total Download:$color ${totaldown enp0s31f6}${color lightgrey}${alignr}Total Upload:$color ${totalup enp0s31f6}
${color lightgrey}${hr 1}
${color 20FFA1}[DISK] ${alignr}${color lightgrey}I/O:$color ${diskio}
${color orange}Root: $color${color}${fs_used /}/${fs_size /} ${fs_bar 10/} $color
#${color orange}Home: $color${color}${fs_used /home}/${fs_size /home} ${fs_bar /home} $color
${color orange}${alignc}$sysname $kernel ${color}on $color$machine
${alignc}${color orange}Uptime:$color $uptime
${hr 1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment