Skip to content

Instantly share code, notes, and snippets.

@navinpai
Last active December 24, 2015 02:59
Show Gist options
  • Select an option

  • Save navinpai/6734149 to your computer and use it in GitHub Desktop.

Select an option

Save navinpai/6734149 to your computer and use it in GitHub Desktop.
Default Conkyrc on #!
#MINIMAL AND HORIZONTAL BAR
#http://crunchbang.org/forums/viewtopic.php?id=59&p=99
# minfo conky -- for the minimalist!
#
# minimalist conky is a horizontal style config.
# configure your desktop margins so conky is always visible.
#
# made from scratch using the conky wiki as reference.
#
# features:
# * host, kernel, uptime, cpu, ram, network and disk usage, plus top 2 procs.
# * now playing, first todo item
#
# notes:
# * includes examples for now playing via deadbeef and moc
# * todo item from plain text file ~/todo, first two lines sed'd into one
# * see bottom for examples and notes
#
# feel free to tweak :)
#
# ~ kbmonkey
#
# # # # # # # # # # # # # #
alignment top_middle
use_xft yes
xftfont Monospace:size=8
xftalpha 1
out_to_console no
update_interval 6
draw_shades no
own_window yes
own_window_type override
own_window_transparent no
double_buffer yes
#own_window_type normal
stippled_borders 1
border_width 1
draw_borders no
gap_x 0
gap_y 0
use_spacer yes
# colors
# # # # # # # # # # # # # #
default_color bbbbbb # the border and pipes between outputs
own_window_colour 000000 # background
color1 cccc99 # processing
color2 88cc88 # networking
color3 9999cc # disks
color4 88cccc # top
color7 bb88bb # todo
color8 88aaff # now playing
color9 bbbbbb # infos
# [first line] # # # # # # # # # # # # #
TEXT
${color9}$nodename running $kernel for ${uptime} ${color}|${color1} cpu ${cpu}% ${cpubar 10,60} ${color}|${color1} ram ${membar 10,60} ${color}|${color1} swap ${color1}${swapbar 10,60} ${color}| ${color2}downlink ${downspeedgraph ra0 10,60 006600 00ff00 -l} ${downspeed ra0}${color}|${color2} uplink ${upspeedgraph ra0 10,60 006600 00ff00} ${upspeed ra0} ${color}|${color3} / ${fs_free /} ${color}|${color3} /home ${fs_free /home} ${color}|${color3} /data ${fs_free /mnt/data} ${color}|${color4} ${alignr}${color4}${top name 1} ${top cpu 1}% ${color}|${color4} ${top name 2} ${top cpu 2}%
#
#
# [second line] # # # # # # # # # # # # #
${color8}${if_running deadbeef-main}${exec deadbeef --nowplaying '%t, by %a'}${endif} ${alignc} ${color9} ${alignr} ${color7}${exec cat todo | head -n2 | sed 'N;s/\n/ /;'}
${color}${hr}
#
#
#
# [notes]
# # # # # # # # # # # # # #
#
# now playing codes:
# * moc = ${color8}${if_running mocp}${exec mocp -Q %title}${endif}
#
# * deadbeef = ${color8}${if_running deadbeef-main}${exec deadbeef --nowplaying '%t, by %a'}${endif}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment