Skip to content

Instantly share code, notes, and snippets.

@slifin
Created July 21, 2016 16:39
Show Gist options
  • Select an option

  • Save slifin/64dbd7bb842872a4d70f64ad1db58a6f to your computer and use it in GitHub Desktop.

Select an option

Save slifin/64dbd7bb842872a4d70f64ad1db58a6f to your computer and use it in GitHub Desktop.
# CONKY
# A comprehensive conky script, configured for use on
# Ubuntu / Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# – tail of /var/log/messages
# – netstat connections to your computer
#
# — Pengo (conky@pengo.us)
#
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type dock
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# fiddle with window
use_spacer yes
use_xft yes
xftfont Andale Mono:size 12
# Update interval in seconds
update_interval 0.5
# Minimum size of text area
minimum_size 250 5
# Draw shades?
draw_shades no
# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
#font Arial
uppercase no # set to yes if you want all text to be in uppercase
# Stippled borders?
stippled_borders 3
# border margins
# border width
border_width 10
# Default colors and also border colors, grey90 == #e5e5e5
default_color white
own_window_colour brown
own_window_transparent yes
# 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
gap_x 10
gap_y 10
# stuff after ‘TEXT’ will be formatted on screen
TEXT
${color orange}Care Planner Logs ${hr 2}$color
${execi 1 tail -n7 /var/log/drupal.log | fold -w80}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment