Skip to content

Instantly share code, notes, and snippets.

@magkopian
Last active August 25, 2016 22:52
Show Gist options
  • Save magkopian/d9636fe1c086f527f3eaa08bc49361ae to your computer and use it in GitHub Desktop.
Save magkopian/d9636fe1c086f527f3eaa08bc49361ae to your computer and use it in GitHub Desktop.
The .conkyrc file of my Debian desktop. Based on /u/cheloo's .conkyrc from Reddit, the original can be found here: http://pastebin.com/rFZVeQFC.
conky.config = {
color1 = 'd70751', -- Debian Red
--set to = true if you want Conky to be forked in the background
background = true,
own_window = true,
own_window_type = 'desktop',
own_window_transparent = false,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = true,
own_window_argb_value = 0,
out_to_console = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=10:antialias=true',
update_interval = 1,
--Create own window instead of using desktop (required in nautilus)
own_window = true,
--Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
maximum_width = 320,
draw_shades = false,
--Draw outlines?
draw_outline = false,
--Draw borders around text
draw_borders = false,
--Stippled borders?
stippled_borders = 1,
--border width
border_width = 20,
--Default colors and also border colors
default_color = 'white',
default_shade_color = 'white',
default_outline_color = 'white',
--Text alignment, other possible values are commented
alignment = 'top_right',
--Gap between borders of screen and text
gap_x = 20,
gap_y = 50,
--Add spaces to keep things from moving about? This only affects certain objects.
use_spacer = 'left',
--Subtract file system buffers from used memory?
no_buffers = true,
--set to = true if you want all text to be in uppercase
uppercase = false,
default_bar_width = 140,
default_bar_height = 6
}
conky.text = [[
${image /path/to/DebianLogo.png -p 120,0 -s 80x100}
${alignc}Debian GNU/Linux 8 (jessie) 64-bit
${alignc}$color $kernel on $machine
${color #6495ed}$color$alignc Uptime: $uptime${color lightgrey} | $color$loadavg${color lightgrey}
${color1}$stippled_hr$color
$color${alignc}${execi 300 curl http://icanhazip.com}
${color lightgrey} eth0: $color${addr eth0}
${color lightgrey}${alignc}Upload: $color${upspeed eth0} ${color lightgrey}Download: $color${downspeed eth0}
${color lightgrey} eth1: $color${addr eth1}
${color lightgrey}${alignc}Upload: $color${upspeed eth1} ${color lightgrey}Download: $color${downspeed eth1}
${color1}$stippled_hr$color
${color #6495ed}${alignc}${color lightgrey}AMD FX-4350 @ $color${freq_g} GHz${color lightgrey}
${color lightgrey}1 ${color1}${cpubar cpu1 6,130}$color $alignr ${color lightgrey}3 ${color1}${cpubar cpu3 6,130}$color $alignr
${color lightgrey}2 ${color1}${cpubar cpu2 6,130}$color $alignr ${color lightgrey}4 ${color1}${cpubar cpu4 6,130}$color $alignr
${color black}${cpugraph 35,320 000000 d70A53}${color white}
${color1}VRAM ${execbar echo scale=2\;`nvidia-smi | grep % | cut -c 37-40`/`nvidia-smi | grep % | cut -c 48-51`*100 | bc -l | cut -c 1-2} ${alignr}$color${exec nvidia-smi | grep % | cut -c 37-43}/${exec nvidia-smi | grep % | cut -c 48-54}
${color1}RAM ${membar 5,140} ${alignr}$color$mem/$memmax
${color1}Swap ${swapbar 5,140} ${alignr}$color$swap/$swapmax
${color1}/ ${fs_bar 5,140 /} ${alignr}$color${fs_used /}/${fs_size /}
${color1}/home ${fs_bar 5,140 /home} ${alignr}$color${fs_used /home}/${fs_size /home}
${color1}$stippled_hr$color
${alignc}$color$processes ${color lightgrey}Processes $color$running_processes${color lightgrey} Running
${color}By CPU Usage MEM CPU% ${alignr}User
${color1} ${top name 1} ${top mem_res 1}${top cpu 1} $alignr${top user 1}
${color lightgrey} ${top name 2} ${top mem_res 2}${top cpu 2} $alignr ${top user 2}
${color lightgrey} ${top name 3} ${top mem_res 3}${top cpu 3} $alignr ${top user 3}
${color lightgrey} ${top name 4} ${top mem_res 4}${top cpu 4} $alignr ${top user 4}
${color lightgrey} ${top name 5} ${top mem_res 5}${top cpu 5} $alignr ${top user 5}
${color lightgrey} ${top name 6} ${top mem_res 6}${top cpu 6} $alignr ${top user 6}
${color lightgrey} ${top name 7} ${top mem_res 7}${top cpu 7} $alignr ${top user 7}
${color lightgrey} ${top name 8} ${top mem_res 8}${top cpu 8} $alignr ${top user 8}
${color lightgrey} ${top name 9} ${top mem_res 9}${top cpu 9} $alignr ${top user 9}
${color lightgrey} ${top name 10} ${top mem_res 10}${top cpu 10} $alignr ${top user 10}
${color}By MEM Usage MEM CPU% ${alignr}User
${color1} ${top_mem name 1} ${top_mem mem_res 1}${top_mem cpu 1} $alignr ${top_mem user 1}
${color lightgrey} ${top_mem name 2} ${top_mem mem_res 2}${top_mem cpu 2} $alignr ${top_mem user 2}
${color lightgrey} ${top_mem name 3} ${top_mem mem_res 3}${top_mem cpu 3} $alignr ${top_mem user 3}
${color lightgrey} ${top_mem name 4} ${top_mem mem_res 4}${top_mem cpu 4} $alignr ${top_mem user 4}
${color lightgrey} ${top_mem name 5} ${top_mem mem_res 5}${top_mem cpu 5} $alignr ${top_mem user 5}
${color lightgrey} ${top_mem name 6} ${top_mem mem_res 6}${top_mem cpu 6} $alignr ${top_mem user 6}
${color lightgrey} ${top_mem name 7} ${top_mem mem_res 7}${top_mem cpu 7} $alignr ${top_mem user 7}
${color lightgrey} ${top_mem name 8} ${top_mem mem_res 8}${top_mem cpu 8} $alignr ${top_mem user 8}
${color lightgrey} ${top_mem name 9} ${top_mem mem_res 9}${top_mem cpu 9} $alignr ${top_mem user 9}
${color lightgrey} ${top_mem name 10} ${top_mem mem_res 10}${top_mem cpu 10} $alignr ${top_mem user 10}
]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment