Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use Xft?
- use_xft yes
- xftfont ubuntu:size=9
- xftalpha 0.8
- text_buffer_size 2048
- # Update interval in seconds
- update_interval 1
- # This is the number of times Conky will update before quitting.
- # Set to zero to run forever.
- total_run_times 0
- own_window yes
- own_window_transparent yes
- #own_window_type override
- own_window_type normal
- #own_window_type normal #use this if you want a nice shadow to appear around conky
- # 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 170 0
- #maximum_width 0
- # Draw shades?
- draw_shades no
- # 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
- #default_shade_color black
- #default_outline_color grey
- own_window_colour 000000
- color0 steelblue
- # Text alignment, other possible values are commented
- #alignment top_left
- alignment top_left
- #alignment bottom_left
- #alignment bottom_right
- # Gap between borders of screen and text
- # same thing as passing -x at command line
- gap_x 0
- gap_y 0
- # 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 6
- # 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
- own_window_argb_value 0
- own_window_argb_visual yes
- TEXT
- ${font Ubuntu:size=7}Facebook Notifications:
- ${font Ubuntu:size=8}${color0}${execi 20 /home/thezxtreme/.conky/scripts/facebook}
- facebook script:
- #!/bin/bash
- numberoflines=3
- address="Facebook RSS link goes here..."
- wget --user-agent="Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.55 Safari/533.4" -q $address -O - | grep title | sed 's/<title>//g' | sed 's/<\/title>//g' | sed 's/<!\[CDATA\[//g' | sed 's/]]>//g' | tail -n +2 | head -n $numberoflines
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement