Post your conky!

Discussion in 'Linux' started by Parm289, Dec 19, 2008.

  1. Parm289

    Parm289 New Member

    Joined:
    Jan 21, 2008
    Messages:
    348
    Likes Received:
    6
    Device:
    iPod touch
    I don't know how the linux section has survived for so long without a conky thread, so I decided to start one...

    For those of you that use conky, post your conkyrc file(s) (inside code tags!) and a screenshot of your setup. For those of you who don't use conky, get it.

    So, here's my setup:

    .conkyrcBird (Left Side)
    Code:
    # Conky sample configuration
    #
    # the list of variables has been removed from this file in favour
    # of keeping the documentation more maintainable.
    # Check http://conky.sf.net for an up-to-date-list.
    
    # set to yes if you want Conky to be forked in the background
    background no
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Verdana:size=8
    
    # Text alpha when using Xft
    xftalpha 0.8
    
    # Print everything to stdout?
    # out_to_console no
    
    # MPD host/port
    # mpd_host localhost
    # mpd_port 6600
    # mpd_password tinker_bell
    
    # Print everything to console?
    # out_to_console no
    
    # mail spool
    mail_spool $MAIL
    
    # Update interval in seconds
    update_interval 1.0
    
    # 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
    
    # If own_window is yes, you may use type normal, desktop or override
    own_window_type normal
    
    # Use pseudo transparency with own_window?
    own_window_transparent yes
    
    # If own_window_transparent is set to no, you can set the background colour here
    own_window_colour hotpink
    
    # If own_window is yes, these window manager hints may be used
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 700
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Draw borders around graphs
    draw_graph_borders yes
    
    # Stippled borders?
    stippled_borders 8
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color black
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    alignment bottom_left
    #alignment bottom_right
    #alignment none
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 3
    gap_y 8
    
    # 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 no
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer none
    
    # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
    #max_port_monitor_connections 256
    
    # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
    #max_specials 512
    
    # Maximum size of buffer for user text, i.e. below TEXT line.
    #max_user_text 16384
    
    # Timing interval for music player thread, e.g. mpd, audacious
    #music_player_interval (update_interval is default)
    
    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument
    
    # stuff after 'TEXT' will be formatted on screen
    
    # stuff removed from TEXT section below
    #$nodename - $sysname $kernel on $machine
    #$stippled_hr
    #${color darkgrey}Yahoo Mail - parm289@yahoo.com
    #${color darkgrey}${font FreeSans:size=8}Songbird - Now Playing
    ${font Book Antiqua:size=18}${execi 1 python ~/scripts/songbird.py %tt%aa}
    
    TEXT
    ${color darkgrey}${font FreeSans:size=8}Songbird - Now Playing
    ${font Book Antiqua:size=18}${execi 1 tail -n3 ~/scripts/bird.txt | fold -w50}
    .conkyrcTime (Right Side)
    Code:
    # Conky sample configuration
    #
    # the list of variables has been removed from this file in favour
    # of keeping the documentation more maintainable.
    # Check http://conky.sf.net for an up-to-date-list.
    
    # set to yes if you want Conky to be forked in the background
    background no
    
    # X font when Xft is disabled, you can pick one with program xfontsel
    #font 5x7
    #font 6x10
    #font 7x13
    #font 8x13
    #font 9x15
    #font *mintsmild.se*
    #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Verdana:size=8
    
    # Text alpha when using Xft
    xftalpha 0.8
    
    # Print everything to stdout?
    # out_to_console no
    
    # MPD host/port
    # mpd_host localhost
    # mpd_port 6600
    # mpd_password tinker_bell
    
    # Print everything to console?
    # out_to_console no
    
    # mail spool
    mail_spool $MAIL
    
    # Update interval in seconds
    update_interval 1.0
    
    # 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
    
    # If own_window is yes, you may use type normal, desktop or override
    own_window_type normal
    
    # Use pseudo transparency with own_window?
    own_window_transparent yes
    
    # If own_window_transparent is set to no, you can set the background colour here
    own_window_colour hotpink
    
    # If own_window is yes, these window manager hints may be used
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 100
    
    # Draw shades?
    draw_shades yes
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Draw borders around graphs
    draw_graph_borders yes
    
    # Stippled borders?
    stippled_borders 8
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color white
    default_shade_color black
    default_outline_color black
    
    # Text alignment, other possible values are commented
    #alignment top_left
    #alignment top_right
    #alignment bottom_left
    alignment bottom_right
    #alignment none
    
    # Gap between borders of screen and text
    # same thing as passing -x at command line
    gap_x 0
    gap_y 13
    
    # 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 no
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer yes
    
    # Allow each port monitor to track at most this many connections (if 0 or not set, default is 256)
    #max_port_monitor_connections 256
    
    # Maximum number of special things, e.g. fonts, offsets, aligns, etc.
    #max_specials 512
    
    # Maximum size of buffer for user text, i.e. below TEXT line.
    #max_user_text 16384
    
    # Timing interval for music player thread, e.g. mpd, audacious
    #music_player_interval (update_interval is default)
    
    # variable is given either in format $variable or in ${variable}. Latter
    # allows characters right after the variable and must be used in network
    # stuff because of an argument
    
    # stuff after 'TEXT' will be formatted on screen
    
    # stuff removed from TEXT section below
    #$nodename - $sysname $kernel on $machine
    #$stippled_hr
    #${color darkgrey}Yahoo Mail - parm289@yahoo.com
    
    TEXT
    ${color darkgrey}${font FreeSans:size=8}${alignr 0}Days Until Break
    ${color darkgrey}${font Book Antiqua:size=16}${alignr 0}${exec python ~/scripts/count.py "2008-12-24 00:00:00"}
    ${color darkgrey}${font FreeSans:size=8}${alignr 0}Days Until Hanukkah
    ${color darkgrey}${font Book Antiqua:size=16}${alignr 0}${exec python ~/scripts/count.py "2008-12-21 16:32:00"}
    ${color darkgrey}${font FreeSans:size=8}${alignr 0}Current Time
    ${color darkgrey}${font Book Antiqua:size=18}${alignr 0}${time %H:%M}  ${time %d %A}
    Screenshot in attachment.

    So post your conky setups! I'm interested in any scripts out there...

    Attached Files:

  2. wibble

    wibble New Member

    Joined:
    Mar 16, 2008
    Messages:
    176
    Likes Received:
    0
    This thread should be post your dot files, so we can post our .vimrc's and other configs.

    Code:
    #avoid flicker
    double_buffer yes
    
    #own window to run simultanious 2 or more conkys
    own_window  yes
    own_window_transparent no
    own_window_type normal
    own_window_hints undecorate,sticky,skip_taskbar,skip_pager 
    
    #borders
    draw_borders no
    border_margin 1
    
    #shades
    draw_shades no
    
    #position
    gap_x 5
    gap_y 0
    alignment top_left
    
    #behaviour
    update_interval 1
    
    #colour
    default_color  8f8f8f
    
    #default_shade_color 000000
    own_window_colour 222222
    
    #font
    use_xft yes
    xftfont DejaVu Serif Book:pixelsize=9
    
    #to prevent window from moving
    use_spacer none
    minimum_size 1280 0
    
    #mpd
    mpd_host localhost
    mpd_port 6600
    
    #$alignc center text
    
    TEXT
    
    ${voffset -1} Cpu: ${color e0e0e0}${font}${cpu}% ${color} Mem: ${color e0e0e0}${font}${mem} ${color}  |  ${color} Uptime: ${color e0e0e0}${font}${uptime_short}${color}  |  ${color} Down: ${color e0e0e0}${font}${downspeed eth0} Kb/s ${color} ${totaldown eth0} downloaded${color}  |  Up: ${color} ${color e0e0e0}${upspeed eth0} Kb/s ${color} ${totalup eth0} uploaded${color}  |  ${color}Root: ${color e0e0e0}${font}${fs_free /} ${color} Home: ${color e0e0e0}${font}${fs_free /home}${color}
    
    

Share This Page