Page 43 of 2300 FirstFirst ... 33414243444553931435431043 ... LastLast
Results 421 to 430 of 22995

Thread: Post your .conkyrc files w/ screenshots

  1. #421
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    my .conkyrc file:
    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 Monospace:size=10
    
    # 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 override
    
    # 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 230 5
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline yes
    
    # Draw borders around text
    draw_borders no
    
    # Draw borders around graphs
    draw_graph_borders yes
    
    # Stippled borders?
    stippled_borders 0
    
    # border margins
    border_margin 4
    
    # border width
    border_width 1
    
    # Default colors and also border colors
    default_color orange
    default_shade_color orange
    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 10
    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 no
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer no
    
    # 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
    
    # 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
    
    TEXT
    ${color orange}$nodename$color | ${color orange}CPU: $color ${cpugraph 10,72}$color | ${color orange}RAM: $color ${membar 10,72}$color | ${color orange}Disk: $color ${diskiograph 10,72}$color  | ${color orange}Down:$color ${downspeedgraph eth0 10,72}$color | ${color orange}Up:$color ${upspeedgraph eth0 10,72}$color | ${color orange}Ubuntu: $color${fs_bar 10,72 /}$color | ${color orange}OS_Bridge: $color${fs_bar 10,72 /media/OS_Bridge} | ${color orange}Gmail: $color${exec cat /media/OS_Bridge/programs/Python/GmailNew/count.txt}
    Right now, the gmail new mail count comes from a text file which is made by my GmailNew program which runs every 2 minutes to update the count. Is there a better way of doing it?
    Attached Images Attached Images

  2. #422
    Join Date
    Jun 2007
    Location
    Shreveport, Louisiana
    Beans
    346
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Post your .conkyrc files w/ screenshots

    m0eman, nice background. Where did you get it?
    Intel Q6600 - 2.4GHz, 2x2GB RAM, nVidia GeForce GTX 260, SoundBlaster Audigy SE 7.1
    Dual-boot: Windows 7 64-bit & Ubuntu 10.04

  3. #423
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Thanks, I found it at interfacelift, some people were talking about that site on the forums so i decided to look through it.

    Here's the link to the picture.

  4. #424
    Join Date
    Feb 2007
    Beans
    16

    Re: Post your .conkyrc files w/ screenshots

    http://www.imagemirror.com/showpic.php?pic=screenshot.png
    (this image host is great)
    Desktop conky
    Code:
    background yes
    use_xft yes
    xftfont HandelGotD:size=8
    xftalpha 0.1
    update_interval 0.75
    total_run_times 0
    own_window yes
    own_window_type normal
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 200 5
    maximum_width 300 100
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders no
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    out_to_console no
    
    use_xft yes
    
    xftfont Bitstream Vera Sans Mono:size=9
    
    xftalpha 0.8
    
    mail_spool $MAIL
    
    update_interval 1.0
    
    stippled_borders 0
    
    border_margin 4
    
    border_width 1
    
    default_color white
    default_shade_color white
    default_outline_color white
    
    
    alignment top_left
    gap_x 10
    gap_y 10
    
    
    use_spacer no
    
    no_buffers no
    
    uppercase no
    
    TEXT
    $sysname $kernel    ${time %A,%d %B}
    $stippled_hr
    ${color lightgrey}Time:$color ${time %k:%M:%S}
    ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
    ${color lightgrey}CPU1 Usage:${color} ${cpu cpu1}% ${cpubar cpu1}
    ${color #4F6B93}${cpugraph 25 8098ff ffc7ea}
    ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc%
    ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
    ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
    $color$stippled_hr
    ${color lightgrey}Networking:
    ${offset 10}Down:${color #a9c7ea} ${downspeed eth0} k/s${color lightgrey} ${alignr}Up:${color #a9c7ea} ${upspeed eth0} k/s
    ${offset 10}${color #4F6B93}${downspeedgraph eth0 25,100 8098ff ffc7ea} ${alignr}${color #4F6B93}${upspeedgraph eth0 25,100 8098ff ffc7ea}
    ${offset 10}${color lightgrey}Total: ${color #a9c7ea}${totaldown eth0} ${alignr}${color lightgrey}Total: ${color #a9c7ea}${totalup eth0}
    $color$stippled_hr
    ${color lightgrey}File systems:$alignr
    /      $color${fs_used_perc /}%/${fs_size /}
    $color$stippled_hr
      ${color}Name            PID     CPU%   MEM%
    ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
    ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
    ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
      ${color}Mem usage
    ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
    $color$stippled_hr
    ${color lightgrey}Port(s)${offset 48}Connections:
    ${color lightgrey} ALL: ${alignc}${tcp_portmon 1 65535 count}
    $color$stippled_hr
    ${color lightgray}Email: ${color D7D3C5}${execi 600 python ~/.gmail/gmail.py}
    $color$stippled_hr
    ${execi 300 ~/.config/tweakorss.sh}
    Conky is also being used as my screensaver (sorry no screenshot)
    Code:
    background no
    #use_xft yes
    #xftfont HandelGotD:size=8
    #xftalpha 0.1
    update_interval 0.5
    total_run_times 0
    #own_window yes
    #own_window_type normal
    #own_window_transparent yes
    #own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 1000 700
    maximum_width 1200
    draw_shades no
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    out_to_console no
    
    #use_xft yes
    
    #xftfont Bitstream Vera Sans Mono:size=12
    
    #xftalpha 0.8
    
    #mail_spool $MAIL
    
    update_interval 1.0
    
    stippled_borders 0
    
    border_margin 4
    
    border_width 1
    
    default_color white
    default_shade_color white
    default_outline_color white
    
    
    alignment top_left
    gap_x 10
    gap_y 10
    
    
    use_spacer no
    
    no_buffers no
    
    uppercase no
    
    TEXT
    $sysname $kernel    ${time %A,%d %B}
    $stippled_hr
    ${color lightgrey}Time:$color ${time %k:%M:%S}
    ${color lightgrey}Uptime:$color $uptime ${color lightgrey}- Load:$color $loadavg
    ${color lightgrey}CPU1 Usage:${color} ${cpu cpu1}% ${cpubar cpu1}
    ${color #4F6B93}${cpugraph 25 8098ff ffc7ea}
    ${color lightgrey}RAM Usage:$color $mem/$memmax - $memperc%
    ${color lightgrey}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar}
    ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
    $color$stippled_hr
    ${color lightgrey}Networking:
    ${offset 10}Down:${color #a9c7ea} ${downspeed eth0} k/s${color lightgrey} ${alignr}Up:${color #a9c7ea} ${upspeed eth0} k/s
    ${offset 10}${color #4F6B93}${downspeedgraph eth0 25,420 8098ff ffc7ea} ${alignr}${color #4F6B93}${upspeedgraph eth0 25,420 8098ff ffc7ea}
    ${offset 10}${color lightgrey}Total: ${color #a9c7ea}${totaldown eth0} ${alignr}${color lightgrey}Total: ${color #a9c7ea}${totalup eth0}
    $color$stippled_hr
    ${color lightgrey}File systems:$alignr
    /      $color${fs_used_perc /}%/${fs_size /}                            ${alignr}${color}Mem usage
    $color$stippled_hr
      ${color}Name            PID     CPU%   MEM%                           ${alignr}${color}  Name             PID     CPU%   MEM% .
    ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}   ${alignr}${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
    ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} ${alignr}${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
    ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} ${alignr}${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
    ${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} ${alignr}${color lightgrey} ${top_mem name 4} ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
    ${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5} ${alignr}${color lightgrey} ${top_mem name 5} ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
      $color$stippled_hr
    ${color lightgrey}Port(s)${offset 48}Connections:
    ${color lightgrey} Torrentflux:              ${tcp_portmon 49160 49300 count}
    ${color lightgrey} ALL:                      ${tcp_portmon 1 65535 count}
    ${color #ddaa00}Outbound Connection ${alignr} Remote Service/Port$color              
     ${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}  
     ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}  
     ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}  
     ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}  
     ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}  
     ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}  
    ${color #ddaa00}Inbound Connection ${alignr} Local Service/Port$color
     ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
     ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
     ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
     ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
     ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
     ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
    $color$stippled_hr
    ${color lightgray}Email: ${color D7D3C5}${execi 600 python ~/.gmail/gmail.py}
    $color$stippled_hr
    ${execi 600 curl -s http://digg.com/rss/index.xml | grep title | sed 's/<\/title>/ /' | sed 's/<title>/ /' | sed 10q}
    I highly recommend useing this one liner for RSS in conky
    Code:
    ${execi 600 curl -s http://digg.com/rss/index.xml | grep title | sed 's/<\/title>/ /' | sed 's/<title>/ /' | sed 10q}
    the URL should be pretty self explanintory, and the very last line sed 10q is how many lines to show (you can use 9q, 11q however many you want.)

  5. #425
    Join Date
    Aug 2006
    Location
    US
    Beans
    1,681

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by PurposeOfReason View Post
    Okay. Change your conkyrc XMMS part to show as follows:
    Code:
    Xmms: ${execi 1 cat /tmp/xmms-info | grep Status: | cut -d ":" -f2}
    Artist: ${execi 1 xmmsctrl title | cut -d "-" -f1}
    Song : ${execi 1 xmmsctrl title | cut -d "-" -f2}
    Time : ${execi 1 xmmsctrl print %m%n} ( ${execi 25 xmmsctrl print %M%n})
    Number  : ${execi 1 xmmsctrl getpos} / ${execi 25 cat /tmp/xmms-info | grep Tunes | cut -d ":" -f2}
    Then in your tmp folder make a script called 'xmms-info' which will look like the one below. Make it executable however you like to.

    Code:
    #!/bin/bash
    
    #This script is free to modify and distribute.
    #Use at your own risk.
    
    #Requirement: xmms-infopipe
    
    #User Settings here
    maxcol=35
    file=/tmp/xmms-info
    
    #Grab needed information
    pos=`cat $file | grep uSecPosition: | cut -d : -f2`
    len=`cat $file | grep uSecTime: | cut -d : -f2`
    
    #Count the length in characters of the title
    size=`echo $title | wc -c`
    #Calculate current position within that length
    poscol=$(echo "$pos*$maxcol/$len" | bc)
    
    #Printing
    for (( i=0; i<$maxcol; i++ ))
    do
      if [ $i -eq $poscol ]; then
        echo -n 'O'
      else
        echo -n '='
      fi
    done
    Now for the final bit. Open up synaptic and get the file 'xmmsctrl'. Now you should be good.
    but isn't the file /tmp/xmms-info reserved for use by xmms-infopipe? or do i just have to over write it?

  6. #426
    Join Date
    May 2007
    Location
    Washington
    Beans
    909

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by dbbolton View Post
    but isn't the file /tmp/xmms-info reserved for use by xmms-infopipe? or do i just have to over write it?
    Sorry about that. I just did this a week ago and I already forgot where I saved it. It's going to take a while for me to look where I put it though I don't remember doing it . . .

    Try everything but that and see what the terminal says.

  7. #427
    Join Date
    Sep 2006
    Location
    Tennessee, USA
    Beans
    148
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    Thanks PurposeofReason. I just got it working.

  8. #428
    Join Date
    Aug 2006
    Location
    US
    Beans
    1,681

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by PurposeOfReason View Post
    Sorry about that. I just did this a week ago and I already forgot where I saved it. It's going to take a while for me to look where I put it though I don't remember doing it . . .

    Try everything but that and see what the terminal says.
    it seems to be working without the script...

  9. #429
    Join Date
    Aug 2006
    Beans
    227

    Re: Post your .conkyrc files w/ screenshots

    Sweet thread lots to try out
    Code:
    ${execi 600 curl -s http://digg.com/rss/index.xml | grep title | sed 's/<\/title>/ /' | sed 's/<title>/ /' | sed 8q | fold -w70}
    How would you go about getting “ubuntu community cafe rss feed” for intends?

    Attached Files Attached Files
    Last edited by distroman; July 27th, 2007 at 02:14 AM.

  10. #430
    Join Date
    Jul 2007
    Beans
    14

    Re: Post your .conkyrc files w/ screenshots

    Conkyrc_main

    PHP Code:
    # UBUNTU-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_type override
    own_window_transparent yes
    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 no

    # Update interval in seconds
    update_interval 1.0

    # 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_margin 9

    # border width
    border_width 10

    #show borders around the graphs
    draw_graph_borders no

    # Default colors and also border colors, grey90 == #e5e5e5
    default_color grey

    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
    ${color #FF4E00}SYSTEM ${hr 2}$color
    $nodename $sysname $kernel on $machine
    UpTime
    : ${uptime}   Load: ${loadavg}

    ${
    color #FF4E00}CPU ${hr 2}$color
    ${execi 1000 cat /proc/cpuinfo grep 'model name' sed -'s/model name.*: //'}
    Temp: ${acpitemp}C                    CPU: ${freq}mhz 

    ${cpugraph cpu0 000000 FF4E00}
    CPU0: ${cpu cpu1}% 
    ${
    cpubar cpu1
    CPU1: ${cpu cpu2}% 
    ${
    cpubar cpu2}
    Processes:${color #C0C8CD} $processes  ${color #C0C8CD}  Running:${color #C0C8CD} $running_processes

    NAME             PID       CPU%      MEM%
    ${
    top name 1} ${top pid 1}   ${top cpu 1}    ${top mem 1}
    ${
    top name 2} ${top pid 2}   ${top cpu 2}    ${top mem 2}
    ${
    top name 3} ${top pid 3}   ${top cpu 3}    ${top mem 3}
    ${
    top name 4} ${top pid 4}   ${top cpu 4}    ${top mem 4}

    ${
    color #FF4E00}MEMORY / DISK ${hr 2}$color
    RAM:   $memperc%   ${membar 6}$color
    Swap
    :  $swapperc%   ${swapbar 6}$color

    NAME             PID       CPU
    %     MEM%
    ${
    top_mem name 1} ${top_mem pid 1}   ${top_mem cpu 1}   ${top_mem mem 1}
    ${
    top_mem name 2} ${top_mem pid 2}   ${top_mem cpu 2}   ${top_mem mem 2}
    ${
    top_mem name 3} ${top_mem pid 3}   ${top_mem cpu 3}   ${top_mem mem 3}

    Ubuntu:  ${fs_free /}/${fs_size /}   ${fs_bar 6 /}
    Vista :  ${fs_free /media/Vista}/${fs_size /media/Vista}  ${fs_bar 6 /media/Vista}$color
    ${color #FF4E00}BATTERY ${hr 2}$color
    Power:${alignr}${color}${acpiacadapter}
    Status:${alignr}${color}${battery BAT0}
    Time:${alignr}${color}${battery_time BAT0}

    ${
    color #FF4E00}NETWORK: ${execi 300 /home/kyle/.local/essid.sh} ${hr 2}$color
    ${addr eth0}
    Signal:  ${color}${linkstatus  eth0}%
    Down$color${downspeed eth0k/${alignr}Up: ${upspeed eth0k/s
    ${downspeedgraph eth0 25,140 000000 00ff00} ${alignr}${upspeedgraph eth0 
    25
    ,140 000000 ff0000}$color
    Total
    : ${totaldown eth0} ${alignr}Total: ${totalup eth0}
    Inbound: ${tcp_portmon 1 32767 countOutbound: ${tcp_portmon 32768 
    61000 count
    }${alignr}Total: ${tcp_portmon 1 65535 count}


    ${
    color #FF4E00}FORTUNE ${hr 2}$color
    ${execi 120 fortune -fold -w50 

    comkyrc_amarok
    PHP Code:
    double_buffer yes
    update_interval 1.0
    background yes

    own_window yes
    own_window_transparent yes
    own_window_type override
    #own_window_type root
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager


    use_xft yes
    override_utf8_locale no
    #xftfont Bitstream Vera Sans Mono-7:pixelsize=10A
    xftfont Dejavu Sans:size=12
    xftalpha 0.8
    draw_shades no
    draw_outline yes
    draw_borders no
    uppercase no
    use_spacer no

    border_margin 9
    border_width 0

    default_color white
    default_outline_color 
    #FF4E00

    alignment bottom_left
    gap_x 3
    gap_y 32

    TEXT



    ${if_running amarokapp}${offset 1} ${voffset 2}${execi 1 dcop amarok player currentTime}           ${alignc}${execi 1 dcop amarok player title}    ${execi 1 dcop amarok player artist}           ${alignr}${execi 1 dcop amarok player totalTime}${voffset -2}
    ${
    color #FF4E00}${execibar 1 /home/kyle/amarok_conky.sh pro}${else} ${offset 15} 
    ${color #FF4E00}${execibar 10 /home/kyle/amarok_conky.sh zer}$endif 

    conkyrc_clock
    PHP Code:
    # conky config
    # edited by notwen @ efnet

    # set to yes if you want Conky to be forked in the background
    background yes

    # 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 Bitstream Vera Sans Mono:size=8
    xftfont Terminus:size=8

    # Text alpha when using Xft
    xftalpha 0.8

    # Print everything to console?
    # out_to_console no

    # mail spool
    #mail_spool $MAIL

    # Update interval in seconds
    update_interval 10.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 override

    # 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 130 5

    # Draw shades?
    draw_shades yes

    # Draw outlines?
    draw_outline no

    # Draw borders around text
    draw_borders no

    # Stippled borders?
    stippled_borders 5

    # 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 white

    # 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
    # same thing as passing -x at command line
    gap_x 12
    gap_y 35

    # 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
    #Note: doesn't work in conky 1.2 =(

    TEXT
    ${font Dejavu Sans:bold:size=15}${alignr}${color }${time %I:%%P}
    ${
    font Dejavu Sans:bold:size=11}${alignr}${color }${time %a.} ${time %%e, %G
    Scripts

    amarok-conky.sh
    PHP Code:
    #!/bin/bash
    # amaroK info conky script

    case "$1" in

    pro
    )
        
    stat=`dcop amarok player status`
        if (( 
    $stat == )); then
            expr 100
        
    else
            
    curr=`dcop amarok player trackCurrentTime`
            
    tot=`dcop amarok player trackTotalTime`
            if (( 
    $tot )); then
                expr $curr 
    \* 100  $tot
            fi
        fi
        
    ;;
    zer)
        
    expr 100
        
    ;;

    esac 
    conkyalbum.display >>by way of Desklets
    PHP Code:
    <?xml version="1.0" encoding="UTF-8"?>

    <display id="d2010media" window-flags="below, sticky">

      <control id="myexec" interface = "IExec:8es4mvgrwsac7mp9lexx82qs9-2"/>

      <image id="pc_art" uri="" width="150" height="140" anchor="nw" x="0" y="0" />

      <script><![CDATA[
       
        def timer():
          myexec.command = "dcop amarok player coverImage"
          Dsp.pc_art.uri = myexec.output
          return True
     
        add_timer(2000,timer)

      ]]></script>

    </display>
    Last edited by hardKNOXbz; July 27th, 2007 at 02:05 AM.

Page 43 of 2300 FirstFirst ... 33414243444553931435431043 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •