Skip to content

Instantly share code, notes, and snippets.

@NeoTheFox
Last active November 30, 2015 10:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeoTheFox/171e9cce8434ecf12bfa to your computer and use it in GitHub Desktop.
Save NeoTheFox/171e9cce8434ecf12bfa to your computer and use it in GitHub Desktop.
.conkyrc for X230 running archlinux
background yes
use_xft yes
font Arimo:size=7.5
text_buffer_size 2048
# Update interval in seconds
update_interval 5
# 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
own_window_class Conky
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
# Size of text area
minimum_width 180
maximum_width 200
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color white
own_window_colour white
# Text alignment, other possible values are commented
alignment top_left
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 5
gap_y 5
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2
# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2
# 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 none
TEXT
SYSTEM ${hr 2}
Host:$alignr$nodename
Kernel: ${alignr}${kernel}
CPU: ${cpu cpu}% ${alignr}${cpubar 8,60 cpu}
RAM: $memperc% ${alignr}${membar 8,60}
ENT: ${entropy_perc}% $alignr${entropy_bar 8,60}
Uptime: ${alignr}${uptime}
Date: ${alignr}${time %a %d %b}
Battery: ${alignr}${battery_time BAT0} left, ${battery_percent BAT0}%
${battery_bar BAT0}
HD ${hr 2}
I/O: ${alignr} R:${diskio_read} // W:${diskio_write}
${diskiograph}
Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,60 /root}
PROCESSES ${hr 2}
NAME $alignr PID CPU
${top name 1} $alignr ${top pid 1} ${top cpu 1}
${top name 2} $alignr ${top pid 2} ${top cpu 2}
${top name 3} $alignr ${top pid 3} ${top cpu 3}
${top name 4} $alignr ${top pid 4} ${top cpu 4}
${top name 5} $alignr ${top pid 5} ${top cpu 5}
${top name 6} $alignr ${top pid 6} ${top cpu 6}
${top name 7} $alignr ${top pid 7} ${top cpu 7}
${top name 8} $alignr ${top pid 8} ${top cpu 8}
NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}IP Address: ${alignr} ${addr wlan0}
Up: ${upspeed wlan0}/s ${alignr}${upspeedgraph wlan0 8,60 789E2D A7CC5C}
Down: ${downspeed wlan0}/s ${alignr}${downspeedgraph wlan0 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup wlan0}
Download: ${alignr}${totaldown wlan0}
Signal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}${else}${if_existing /proc/net/route enp0s25}
Up: ${upspeed enp0s25} /s ${alignr}${upspeedgraph enp0s25 8,60 789E2D A7CC5C}
Down: ${downspeed enp0s25} /s ${alignr}${downspeedgraph enp0s25 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup enp0s25}
Download: ${alignr}${totaldown enp0s25}${endif}${else}${if_existing /proc/net/route eth1}
Up: ${upspeed eth1} ${alignr}${upspeedgraph eth1 8,60 789E2D A7CC5C}
Down: ${downspeed eth1} ${alignr}${downspeedgraph eth1 8,60 789E2D A7CC5C}
Upload: ${alignr}${totalup eth1}
Download: ${alignr}${totaldown eth1}${endif}${else}${font PizzaDude Bullets:size=14}4${font} Network Unavailable${endif}
ARCH NEWS ${hr 2}
${rss https://www.archlinux.org/feeds/news 60 item_titles 10}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment