Skip to content

Instantly share code, notes, and snippets.

@wayjam
Last active August 29, 2015 14:20
Show Gist options
  • Save wayjam/204fbe376753d01b45bc to your computer and use it in GitHub Desktop.
Save wayjam/204fbe376753d01b45bc to your computer and use it in GitHub Desktop.
My Conky Config
# Use Xft?
use_xft yes
xftfont Open Sans Light:size=10
xftalpha 0.8
text_buffer_size 3072
# 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)
own_window_argb_visual true
own_window_argb_value 0
own_window_type normal
own_window yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Draw shades?
draw_shades no
#default_shade_color 292421
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
draw_graph_borders no
# border width
border_width 0
# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 0
# Distric-Thin fonts
# Blue Highway
# Raleway
# Zekton
# Calibri
# Engebrechtre
# Opeln2001
# Open Sans Light
# Open Sans Light
imlib_cache_size 0
#define some color
color1 00BBCC
color2 9933CC
color3 0BE300
color4 FF8800
color5 FF2200
color6 FFFF00
color7 191919
#please modify here with your own network cards
wlan wlp3s0
lan enp4s0f2
TEXT
### System info ###
${font Open Sans Light:size=14}System Info${font Open Sans Light:pixelsize=12}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}USER: ${color1}${alignr}${exec whoami}@${nodename} (${exec id -u})
${voffset 2}${color}${font Open Sans Light:pixelsize=12}KERNEL: ${color1}${alignr}${kernel} / $machine
${voffset 2}${color}${font Open Sans Light:pixelsize=12}UPTIME: ${color1}${alignr}${uptime}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}PROCESSES: ${color1}${alignr}$processes ($running_processes running)
${voffset 2}${color}${font Open Sans Light:pixelsize=12}AC STATUS: ${color1}${alignr}$acpiacadapter ${battery BAT1}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}BATTERY:${color6}${alignc -50}${battery_percent}%${alignr 5}${color6}${battery_bar 10,75}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}DESKTOP: ${alignr} ${color1}${desktop}
${voffset 2}${color7}${hr}${color}
### CPU Info ###
${font Open Sans Light:size=14}CPU${font Open Sans Light:pixelsize=12}
${voffset -10}${cpugraph cpu1 25,110 FF8800 FF8800}${offset 20}${alignr 5}${cpugraph cpu2 25,110 FF2200 FF2200}
${color1}${freq_g 1}Ghz ${color4}${cpu cpu1}%${goto 113}${color6}${execi 20 sensors | grep "Core 0" | cut -c 18-25}${alignr 5}${color5}${cpu cpu2}% ${color1}${freq_g 2}Ghz
${voffset -5}${cpugraph cpu3 25,110 FF8800 FF8800}${offset 20}${alignr 5}${cpugraph cpu4 25,110 FF2200 FF2200}
${freq_g 3}Ghz ${color4}${cpu cpu3}%${goto 113}${color6}${execi 20 sensors | grep "Core 1" | cut -c 18-25}${alignr 5}${color5}${cpu cpu4}% ${color1}${freq_g 4}Ghz
${voffset 2}${color7}${hr}${color}
### RAM ###
${font Open Sans Light:size=14}RAM${font Open Sans Light:pixelsize=12}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}RAM: ${alignc}${color4}${mem} / ${color3}${memmax}${offset 15}${color6}${memperc}% ${alignr 2}${color6}${membar 10, 75}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}SWAP: ${alignc -4}${color4}${swap} / ${color3}${swapmax}${offset 23}${color6}${swapperc}% ${alignr 2}${color6}${swapbar 10, 75}
${voffset 2}${color7}${hr}${color}
### FileSystem ###
${font Open Sans Light:size=14}Filesystem${font Open Sans Light:pixelsize=12}
${voffset 2}ROOT: ${color4}${fs_used} / ${color3}${fs_size} ${color6}${fs_used_perc}%${offset 10}${color6}${alignr 5}${fs_bar 10,75}
${voffset 2}${color}HOME: ${color4}${fs_used /home} / ${color3}${fs_size /home} ${color6}${fs_used_perc /home}%${offset 10}${color6}${alignr 5}${fs_bar 10,75 /home}
${voffset 2}${color7}${hr}${color}
### Network ###
${font Open Sans Light:size=14}Network ${font Open Sans Light:pixelsize=12}
${if_up enp4s0f2}${voffset 2}${color}${font Open Sans Light:pixelsize=12}LAN: ${alignr}${addr enp4s0f2}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}UP: ${color4}${upspeed enp4s0f2} / ${color3}${totalup enp4s0f2} ${alignr}${upspeedgraph enp4s0f2 8,60 F57900 FCAF3E}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}DOWN: ${color4}${downspeed enp4s0f2} / ${color3}${totaldown enp4s0f2} ${alignr}${upspeedgraph enp4s0f2 8,60 F57900 FCAF3E}${endif}
${color7}${hr}
${if_up wlp3s0}${voffset 2}${color}${font Open Sans Light:pixelsize=12}WLAN: ${alignr}${addr wlp3s0}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}SSID: ${alignr}${wireless_essid wlp3s0}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}SIGNAL: ${color1}${wireless_link_qual wlp3s0}% ${alignr}${wireless_link_bar 8,60 wlp3s0}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}UP: ${color4}${upspeed wlp3s0} / ${color3}${totalup wlp3s0} ${alignr}${upspeedgraph wlp3s0 8,60 F57900 FCAF3E}
${voffset 2}${color}${font Open Sans Light:pixelsize=12}DOWN: ${color4}${downspeed wlp3s0} / ${color3}${totaldown wlp3s0}${alignr}${downspeedgraph wlp3s0 8,60 F57900 FCAF3E}${endif}
${color7}${hr}${color}
### Disk IO ###
${font Open Sans Light:size=14}DISK I/O${font Open Sans Light:pixelsize=12}
${voffset 2}${color4}Read: ${color1}${diskio_read sda}${alignr}${color5}Write: ${color1}${diskio_write sda}${color}
${diskiograph_read sda 25,110 FF8800 FF8800}${alignr}${diskiograph_write sda 25,110 FF2200 FF2200}
${color7}${hr}${color}
### Processes ###
${font Open Sans Light:size=14}Processes${font Open Sans Light:pixelsize=12}
${color4}${font Open Sans Light:bold:pixelsize=12}*** CPU ******** $alignr PID $alignr CPU $alignr MEM$font
${color1}${font Open Sans Light:pixelsize=11}${top name 1}${color}${alignr}${top pid 1}${top cpu 1} ${top mem 1}
${color1}${font Open Sans Light:pixelsize=11}${top name 2}${color}${alignr}${top pid 2}${top cpu 2} ${top mem 2}
${color1}${font Open Sans Light:pixelsize=11}${top name 3}${color}${alignr}${top pid 3}${top cpu 3} ${top mem 3}
${color1}${font Open Sans Light:pixelsize=11}${top name 4}${color}${alignr}${top pid 4}${top cpu 4} ${top mem 4}
${color1}${font Open Sans Light:pixelsize=11}${top name 5}${color}${alignr}${top pid 5}${top cpu 5} ${top mem 5}
${color7}${hr}${color}
${color4}${font Open Sans Light:bold:pixelsize=12}*** MEM ******** $alignr PID $alignr MEM $alignr CPU
${color1}${font Open Sans Light:pixelsize=11}${top_mem name 1}${color}${alignr}${top_mem pid 1}${alignr}${top_mem mem 1} ${top_mem cpu 1}
${color1}${font Open Sans Light:pixelsize=11}${top_mem name 2}${color}${alignr}${top_mem pid 2}${alignr}${top_mem mem 2} ${top_mem cpu 2}
${color1}${font Open Sans Light:pixelsize=11}${top_mem name 3}${color}${alignr}${top_mem pid 3}${alignr}${top_mem mem 3} ${top_mem cpu 3}
${color1}${font Open Sans Light:pixelsize=11}${top_mem name 4}${color}${alignr}${top_mem pid 4}${alignr}${top_mem mem 4} ${top_mem cpu 4}
${color1}${font Open Sans Light:pixelsize=11}${top_mem name 5}${color}${alignr}${top_mem pid 5}${alignr}${top_mem mem 5} ${top_mem cpu 5}
@wayjam
Copy link
Author

wayjam commented Apr 29, 2015

Preview Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment