Page 676 of 2348 FirstFirst ... 17657662666667467567667767868672677611761676 ... LastLast
Results 6,751 to 6,760 of 23480

Thread: Post your .conkyrc files w/ screenshots

  1. #6751
    Join Date
    Mar 2009
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    my conky, new to conky still learning

    Code:
    #conky configuration by Ganja
    
    minimum_size 130
    maximum_width 130
    
    #font 9x7
    uppercase no
    use_xft yes
    xftfont Sans-8
    xftalpha 1
    override_utf8_locale yes
    
    update_interval 1.0
    total_run_times 0
    
    own_window no
    own_window_transparent no
    #own_window_color cccccc
    #own_window_hints undecorated,below,skip_taskbar,skip_pager,sticky
    own_window_type normal
    
    background no
    double_buffer yes
    #no_buffers yes
    draw_shades no
    draw_outline no
    draw_borders no
    stippled_borders 1
    border_margin 0
    border_width 0
    
    default_color 666666
    default_shade_color white
    default_outline_color white
    
    alignment top_right
    gap_x 20
    gap_y 30
    
    cpu_avg_samples 2
    net_avg_samples 2
    
    use_spacer no
    
    #${time %T}
    
    #danas je ${color 6e9200}${time %D} ${color 666666}a vreme je ${color 6e9200}${time %T}
    
    #full cpu name: ${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'}
    
    #cpu temp: ${acpitemp}C*
    
    #network:
    #Inbound: ${tcp_portmon 1 32767 count} 
    #Outbound: ${tcp_portmon 32768 61000 count}
    #${alignr}Total: ${tcp_portmon 1 65535 count}
    
    #var log: ${execi 30 tail -n3 /var/log/messages | fold -w50}
    
    
    #############################################################
    
    TEXT
    ${color 6e9200}os: ${color 666666}$nodename
    ${color 6e9200}kernel: ${color 666666}$kernel
    ${color 6e9200}uptime: ${color 666666}$uptime
    ${color steel blue}$stippled_hr
    ${color 6e9200}cpu: ${color 666666}${freq_dyn_g}Ghz ${color steel blue}[$cpu%]
    ${color 6e9200}ram: ${color 666666}$mem/$memmax
    ${color 6e9200}ps: ${color 666666}$running_processes/$processes
    
    ${color 6e9200}eth0: ${color 666666}${addr eth0}
    ${color 6e9200}Up/Down: ${color 666666}${downspeed eth0}/${upspeed eth0} k/s
    ${color 6e9200}Total up: ${color 666666}${totaldown eth0}/${totalup eth0}
    
    ${color 666666}/home: ${color 6e9200}${fs_bar /home}
    ${alignr}${color 666666}${fs_free /home} / ${fs_size /home}
    ${color steel blue}$stippled_hr
    
    ${font :size=10}${time %a. %b. %d, %G}$font
    ${font :size=20:bold}${time %I:%M:%S}$font
    $stippled_hr
    conky.png
    Last edited by Ganja; April 28th, 2009 at 10:16 AM. Reason: pic to big

  2. #6752
    Join Date
    Feb 2009
    Location
    Scotland
    Beans
    22
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    Quick question regarding Conky, whilst I've seen people use a translucent background image (or colour) in their displays I've yet to figure out how to achieve it. Apart from this one issue I've pretty much nailed how I want my Conky to look... Well for now anyway!

    Any tips or links?

    Thanks!

  3. #6753
    Join Date
    Apr 2009
    Beans
    0

    Re: Post your .conkyrc files w/ screenshots

    .conkyrc:


    use_xft yes
    xftfont Sans:size=8
    xftalpha 0.8
    text_buffer_size 2048
    override_utf8_locale yes
    #alignment top_left
    alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    #alignment middle_right
    #alignment middle_left
    background yes
    border_width 1
    cpu_avg_samples 2
    default_color white
    default_outline_color white
    default_shade_color white
    draw_borders no
    draw_graph_borders yes
    draw_outline no
    draw_shades no
    gap_x 20
    gap_y 40
    minimum_size 75
    #maximum_size 200
    net_avg_samples 2
    no_buffers yes
    out_to_console no
    own_window yes
    own_window_class Conky
    own_window_type override
    own_window_transparent yes
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    stippled_borders 0
    update_interval 3.0
    uppercase no
    use_spacer no
    show_graph_scale no
    show_graph_range no

    TEXT
    ${color white}${alignc +60}${font OpenLogos:size=100}u${font}
    ${font Sans:style=Bold:size=8}Time & Date ${hr 2}${font}
    ${font Bitstream Vera Sans Mono:size=20}${alignc}${time %H:%M}${font}
    ${font Bitstream Vera Sans Mono:size=10}${alignc}${time %a %e %B %G}${font}
    ${font Sans:style=Bold:size=8}System ${hr 2}${font}
    ${exec whoami}@$nodename Ubuntu Jaunty 9.04
    ${color white}Uptime$color ${alignr}$uptime
    Updates Aviable ${alignr}${color white}${execi 28800 ~/.scripts/debupdates.sh}${color}
    ${color white}Frequency (in MHz)${alignr}$color $freq
    ${color white}RAM $color $memperc% ${membar 6}
    ${color white}$color${memgraph 15, white }
    ${color white}Swap $color $swapperc% ${swapbar 6}
    ${color white}CPU $color $cpu% ${cpubar 6}
    Core1 ${cpu cpu1}%${alignr}Core2 ${cpu cpu2}%
    ${cpugraph cpu1 15,80 white}${alignr}${cpugraph cpu2 15,80 white}
    ${color white}Processes$color $processes ${alignr}${color white}Running$color $running_processes
    Disk I/O${alignr} ${diskio}
    ${color white}${diskiograph 15, white}
    ${color white}File systems
    Sda $color ${fs_bar 6 /}
    ${font Sans:style=Bold:size=8}Graphics ${hr 2}${font}
    Model ${alignr}${execi 30 nvclock -i | grep 'Card:' | cut -c16-30}
    RAM ${alignr}512 MB
    ${font Sans:style=Bold:size=8}Temp ${hr 2}${font}
    GPU${alignr} ${execi 30 nvclock -T | grep GPU | cut -c20-22}C
    HD${alignr} $color ${hddtemp /dev/sda}
    Core1${alignr} ${execi 300 sensors | grep Core\ 0 | cut -c15-16 ;}C
    Core2${alignr} ${execi 300 sensors | grep Core\ 1 | cut -c15-16 ;}C
    ${font Sans:style=Bold:size=8}${color white}Network ${hr 2}${font}
    ${exec nmap -sP 192.168.0.0/24 | grep '192' | cut -b 6-37}
    IP ${alignr}${addr ppp0}
    Up$color ${upspeed eth1} k/s${color white} ${alignr} Down$color ${downspeed eth1} k/s
    ${upspeedgraph eth1 15,80 white}${alignr}${downspeedgraph eth1 15,80 white}
    Total: ${totaldown eth1} ${alignr}Total: ${totalup eth2}
    In ${tcp_portmon 1 32767 count} Out ${tcp_portmon 32768 61000 count}${alignr}Total ${tcp_portmon 1 65535 count}
    ${font Sans:style=Bold:size=8}Weather ${hr 2}${font}
    ${color white}Today ${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=CC --startday=0} ${alignr} ${voffset -3}${font Weather:size=16}${execi 21600 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=WF --startday=0}${font}
    ${voffset -7}${color white}Max ${color} ${color white}${execi 21600 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=HT --startday=0}${color} ${color white} ${alignr}Min ${color} ${color white}${execi 21600 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=LT --startday=0}${color}
    ${color white}Tomorrow ${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=CC --startday=1} ${alignr} ${voffset -3}${font Weather:size=16}${execi 21600 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=WF --startday=1}${font}
    ${voffset -7}${color white}Max ${color} ${color white}${execi 21600 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=HT --startday=1}${color} ${color white} ${alignr}Min ${color} ${color white}${execi 21600 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=LT --startday=1}${color}
    Moon ${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=MP} ${font Moon Phasesixelsize=15} ${alignr}${exec ~/.scripts/moonphase.py}${font}
    ${voffset -4}Precipitation Chance ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=PC --startday=0}
    Humidity ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=HM}
    Wind Direction ${alignr}${execi 300 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=WD}
    Wind Speed ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=WS}
    Barometer ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=BR}
    Barometer desc. ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=BD}
    Sunrise ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=SR}
    Sunset ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=SS}
    City ${alignr}${execi 900 python /home/delta/.scripts/conkyForecast.py --location=ITXX0065 --datatype=CN}
    ${font Sans:style=Bold:size=8}Rhythmbox ${hr 2}${font}
    ${if_running rhythmbox}${exec rhythmbox-client --no-start --print-playing-format %aa}
    ${exec rhythmbox-client --no-start --print-playing-format %tt}
    ${exec rhythmbox-client --no-start --print-playing-format %te/%td}$endif
    screen:

    http://img218.imageshack.us/img218/7016/myconky.png

    desktop:

    http://img412.imageshack.us/img412/4...xwallpaper.png
    Last edited by atled; April 30th, 2009 at 12:00 PM.

  4. #6754
    Join Date
    Jul 2007
    Location
    The U. S. of A.
    Beans
    163
    Distro
    Kubuntu Development Release

    Thumbs down Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Faolan View Post
    Quick question regarding Conky, whilst I've seen people use a translucent background image (or colour) in their displays I've yet to figure out how to achieve it. Apart from this one issue I've pretty much nailed how I want my Conky to look... Well for now anyway!

    Any tips or links?

    Thanks!
    If I understand you correctly try looking here: http://conky.linux-hardcore.com/?page_id=555

    let me know if this is'nt what you meant.

    || Kubuntu x86_64 (15.10 Dev.) || KDE 4.9.00 ||
    || Dell Inspiron 570 || 8GB PC3-10600 DDR3 RAM || AMD Phenom II X4 820 @ 2.8Ghz ||
    || Logitech M570 Trackball || Logitech G15 Gaming Keyboard ||
    Conky: ... no such configuration: 'normal'

  5. #6755
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Crinos512 View Post
    Instead of this:
    Code:
    ${execpi 60 DJS=`date +%_d`; cal | sed ‘1d’ | sed ‘/./!d’ | sed ’s/$/ /’ | fold -w 21 | sed -n ‘/^.\{21\}/p’ | sed ’s/^/${alignc} /’ | sed /” $DJS “/s/” $DJS “/” “‘${color2}’”$DJS”‘${color}’” “/}
    try this:
    Code:
    ${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}
    looks like the ` ' ’ didn't translate quite right in the hardcore page...

    ( original post in this thread: pp318 )
    Oops! Gotta check that out.

    CHIMO!

    EDIT:

    I tried these three lines:

    Code:
    ${font LCDMono:bold:size=9}
    1
    ${execpi 60 DJS=`date +%_d`; cal | sed ‘1d’ | sed ‘/./!d’ | sed ’s/$/ /’ | fold -w 21 | sed -n ‘/^.\{21\}/p’ | sed ’s/^/${alignc} /’ | sed /” $DJS “/s/” $DJS “/” “‘${color2}’”$DJS”‘${color}’” “/}
    
    2
    ${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}
    
    3
    ${execpi 60 DJS='date +%_d'; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}
    Lines 1 & 2 are from the previous post.
    The third line I changed:

    `date +%_d` to the normal '

    So now the question is how do I know where to use the ` and ΄ and not the plain '.

    Also it looks like Conky Hardcore! transposed those characters to something else. {sign} Always a problem.

    CHIMO!
    Bruce
    Attached Images Attached Images
    Last edited by Bruce M.; April 28th, 2009 at 03:49 PM.

  6. #6756
    Join Date
    Jan 2009
    Location
    Zurich
    Beans
    27
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Faolan View Post
    Quick question regarding Conky, whilst I've seen people use a translucent background image (or colour) in their displays I've yet to figure out how to achieve it. Apart from this one issue I've pretty much nailed how I want my Conky to look... Well for now anyway!

    Any tips or links?

    Thanks!
    There are at least 3 ways to do that:

    set
    Code:
    own_window_transparent no
    choose color and define transparency in compiz

    Or use xftalpha and use a normal .ttf font
    Code:
    use_xft yes
    xftfont moconkyfontone:size=30
    xftalpha .7
    and
    Code:
    ${font}A
    or see the link posted above by Crinos512 and find out how to use the font we made

    All but the first method are used in my conky, see the screenshot
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by t-mo_; May 5th, 2009 at 09:11 AM. Reason: replaced wrong font in the archive
    HP Pavillon dv7 1270ez | Intel Core 2 Duo P8600 2.4 GHz | NVIDIA GeForce 9600M GT | 8.10 Intrepid | 9.04 Jaunty Studio x86_64
    I δm sφrry for mei englisch..

  7. #6757
    Join Date
    Feb 2009
    Location
    Scotland
    Beans
    22
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Crinos512 View Post
    If I understand you correctly try looking here: http://conky.linux-hardcore.com/?page_id=555

    let me know if this is'nt what you meant.

    That's exactly what I was looking for thanks... Spent the last few days trying various tricks (much of t-mo had suggested as well...). So back to playing with Conky later.

    Just got to consider what's better the script or the font... The script would be more elegant.

  8. #6758
    Join Date
    Oct 2007
    Location
    USA
    Beans
    133
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    Oops! Gotta check that out.

    CHIMO!

    EDIT:

    I tried these three lines:

    Code:
    ${font LCDMono:bold:size=9}
    1
    ${execpi 60 DJS=`date +%_d`; cal | sed ‘1d’ | sed ‘/./!d’ | sed ’s/$/ /’ | fold -w 21 | sed -n ‘/^.\{21\}/p’ | sed ’s/^/${alignc} /’ | sed /” $DJS “/s/” $DJS “/” “‘${color2}’”$DJS”‘${color}’” “/}
    
    2
    ${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}
    
    3
    ${execpi 60 DJS='date +%_d'; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color2}'"$DJS"'${color}'" "/}
    So the font selection comes before the actual execpi command.. Thanks for all of the help! I'm actually making two conkies... one for the calendar/weather on the left side of the screen, and on the right, my system monitoring conky. I'll post a screenshot as soon as I'm done putting the calendar on there!
    Acer Aspire 4730Z Laptop-******* 7/LinuxMint 11 Katya Dual Boot
    AMD Phenom II 545/*******7/Pulling HTPC Duty

  9. #6759
    Join Date
    Jun 2008
    Location
    USA
    Beans
    52
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    I swiped some of it from somebody some where, so thanks to them.
    But here's mine..

    Code:
    background yes
    use_xft yes
    xftfont Sans:size=8
    xftalpha 1
    update_interval 1.0
    total_run_times 0
    own_window yes
    own_window_transparent yes
    own_window_type root
    own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
    double_buffer yes
    minimum_size 200 200
    maximum_width 200
    draw_shades yes
    draw_outline no
    draw_borders no
    draw_graph_borders yes
    default_color white
    default_shade_color black
    default_outline_color white
    alignment top_right
    gap_x 12
    gap_y 12
    no_buffers yes
    uppercase no
    cpu_avg_samples 2
    override_utf8_locale no
    
    TEXT
    ${font sans-serif:bold:size=8}TIME ${hr 2}
    ${font sans-serif:normal:size=8}Local: ${time %H:%m}
    UTC: ${utime %H:%m}
    
    ${font sans-serif:bold:size=8}SYSTEM ${hr 2}
    ${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
    Host:$alignr$nodename
    Uptime:$alignr$uptime
    File System: $alignr${fs_type}
    
    ${font sans-serif:bold:size=8}PROCESSORS ${hr 2}
    CPU1: ${cpu cpu1}% ${cpubar cpu1}
    CPU2: ${cpu cpu2}% ${cpubar cpu2}
    
    
    ${font sans-serif:bold:size=8}MEMORY ${hr 2}
    ${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
    $membar
    
    ${font sans-serif:bold:size=8}DISKS ${hr 2}
    ${font sans-serif:normal:size=8}/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
    ${fs_bar /}
    SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
    ${swapbar}
    
    ${font sans-serif:bold:size=8}TOP PROCESSES ${hr 2}
    ${font sans-serif:normal:size=8}${top_mem name 1}${alignr}${top mem 1} %
    ${top_mem name 2}${alignr}${top mem 2} %
    $font${top_mem name 3}${alignr}${top mem 3} %
    $font${top_mem name 4}${alignr}${top mem 4} %
    $font${top_mem name 5}${alignr}${top mem 5} %
    
    ${font sans-serif:bold:size=8}NETWORK ${hr 2}
    ${font sans-serif:normal:size=8}Down:${alignr}${downspeed eth0}KB/s
    ${downspeedgraph eth0 668ABF 9AB7DC}
    Total: ${totaldown eth0}
    
    Up:${alignr}${upspeed eth0}KB/s
    ${upspeedgraph eth0 668ABF 9AB7DC}
    Total: ${totalup eth0}
    
    ${font sans-serif:bold:size=8}RHYTHMBOX ${hr 2}
    ${font sans-serif:normal:size=8}${color3}${color3}Title: ${color1}${exec conkyRhythmbox --datatype=TI}${color3}
    Artist: ${color1}${exec conkyRhythmbox --datatype=AR}
    Position: ${color1}${font}${exec conkyRhythmbox --datatype=PT}/${exec conkyRhythmbox --datatype=LE}
    Attached Images Attached Images

  10. #6760
    Join Date
    Jan 2006
    Beans
    187
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Post your .conkyrc files w/ screenshots

    Hello to everyone...

    Here's my contribution to this thread.

    Code:
    # set to yes if you want Conky to be forked in the background
    background yes
    
    cpu_avg_samples 1
    net_avg_samples 1
    
    out_to_console no
    
    # Use Xft?
    use_xft yes
    
    # Xft font when Xft is enabled
    xftfont Liberation Mono:size=8
    
    # Text alpha when using Xft
    xftalpha 0.8
    
    # Update interval in seconds
    update_interval 1
    
    # Create own window instead of using desktop (required in nautilus)
    own_window yes
    own_window_transparent yes
    own_window_hints undecorated,below,skip_taskbar
    own_window_type override
    
    # Use double buffering (reduces flicker, may not work for everyone)
    double_buffer yes
    
    # Minimum size of text area
    minimum_size 270 5
    maximum_width 270
    
    # Draw shades?
    draw_shades no
    
    # Draw outlines?
    draw_outline no
    
    # Draw borders around text
    draw_borders no
    
    # Stippled borders?
    stippled_borders no
    
    # 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_right
    #minimum_size 10 10
    gap_x 10
    gap_y 40
    #alignment top_right
    #alignment bottom_left
    #alignment bottom_right
    
    # Gap between borders of screen and text
    
    # Add spaces to keep things from moving about?  This only affects certain objects.
    use_spacer none
    
    # Subtract file system buffers from used memory?
    no_buffers yes
    
    # set to yes if you want all text to be in uppercase
    uppercase no
    
    # boinc (seti) dir
    # seti_dir /opt/seti
    
    # Possible variables to be used:
    #
    #      Variable         Arguments                  Description
    #  acpiacadapter                     ACPI ac adapter state.
    #  acpifan                           ACPI fan state
    #  acpitemp                          ACPI temperature.
    #  adt746xcpu                        CPU temperature from therm_adt746x
    #  adt746xfan                        Fan speed from therm_adt746x
    #  battery           (num)           Remaining capasity in ACPI or APM
    #                                    battery. ACPI battery number can be
    #                                    given as argument (default is BAT0).
    #  buffers                           Amount of memory buffered
    #  cached                            Amount of memory cached
    #  color             (color)         Change drawing color to color
    #  cpu                               CPU usage in percents
    #  cpubar            (height)        Bar that shows CPU usage, height is
    #                                    bar's height in pixels
    #  downspeed         net             Download speed in kilobytes
    #  downspeedf        net             Download speed in kilobytes with one
    #                                    decimal
    #  exec              shell command   Executes a shell command and displays
    #                                    the output in torsmo. warning: this
    #                                    takes a lot more resources than other
    #                                    variables. I'd recommend coding wanted
    #                                    behaviour in C and posting a patch :-).
    #  execi             interval, shell Same as exec but with specific interval.
    #                    command         Interval can't be less than
    #                                    update_interval in configuration.
    #  fs_bar            (height), (fs)  Bar that shows how much space is used on
    #                                    a file system. height is the height in
    #                                    pixels. fs is any file on that file
    #                                    system.
    #  fs_free           (fs)            Free space on a file system available
    #                                    for users.
    #  fs_free_perc      (fs)            Free percentage of space on a file
    #                                    system available for users.
    #  fs_size           (fs)            File system size
    #  fs_used           (fs)            File system used space
    #  hr                (height)        Horizontal line, height is the height in
    #                                    pixels
    #  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev
    #                                    may be omitted if you have only one I2C
    #                                    device. type is either in (or vol)
    #                                    meaning voltage, fan meaning fan or temp
    #                                    meaning temperature. n is number of the
    #                                    sensor. See /sys/bus/i2c/devices/ on
    #                                    your local computer.
    #  kernel                            Kernel version
    #  loadavg           (1), (2), (3)   System load average, 1 is for past 1
    #                                    minute, 2 for past 5 minutes and 3 for
    #                                    past 15 minutes.
    #  machine                           Machine, i686 for example
    #  mails                             Mail count in mail spool. You can use
    #                                    program like fetchmail to get mails from
    #                                    some server using your favourite
    #                                    protocol. See also new_mails.
    #  mem                               Amount of memory in use
    #  membar            (height)        Bar that shows amount of memory in use
    #  memmax                            Total amount of memory
    #  memperc                           Percentage of memory in use
    #  new_mails                         Unread mail count in mail spool.
    #  nodename                          Hostname
    #  outlinecolor      (color)         Change outline color
    #  pre_exec          shell command   Executes a shell command one time before
    #                                    torsmo displays anything and puts output
    #                                    as text.
    #  processes                         Total processes (sleeping and running)
    #  running_processes                 Running processes (not sleeping),
    #                                    requires Linux 2.6
    #  shadecolor        (color)         Change shading color
    #  stippled_hr       (space),        Stippled (dashed) horizontal line
    #                    (height)
    #  swapbar           (height)        Bar that shows amount of swap in use
    #  swap                              Amount of swap in use
    #  swapmax                           Total amount of swap
    #  swapperc                          Percentage of swap in use
    #  sysname                           System name, Linux for example
    #  time              (format)        Local time, see man strftime to get more
    #                                    information about format
    #  totaldown         net             Total download, overflows at 4 GB on
    #                                    Linux with 32-bit arch and there doesn't
    #                                    seem to be a way to know how many times
    #                                    it has already done that before torsmo
    #                                    has started.
    #  totalup           net             Total upload, this one too, may overflow
    #  updates                           Number of updates (for debugging)
    #  upspeed           net             Upload speed in kilobytes
    #  upspeedf          net             Upload speed in kilobytes with one
    #                                    decimal
    #  uptime                            Uptime
    #  uptime_short                      Uptime in a shorter format
    #
    #  seti_prog                         Seti@home current progress
    #  seti_progbar      (height)        Seti@home current progress bar
    #  seti_credit                       Seti@hoome total user credit
    
    
    # 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
    #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
    #${font Verdana:size=10}as many times as I choose
    #${font Perry:size=10}Including UTF-8,
    # stuff after 'TEXT' will be formatted on screen
    #${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}
    
    TEXT
    ${color #333333}[ ${color white}Processor${color #333333} ]${hr 2}
    ${color #0077ff}CPU1: ${color lightgrey}${freq 1}MHz ${color #333333}(${color lightgrey}${cpu cpu1}%${color #333333}) ${alignr}${color #FF8E00}${cpubar cpu1 5,110}
    ${color #0077ff}CPU2: ${color lightgrey}${freq 2}MHz ${color #333333}(${color lightgrey}${cpu cpu2}%${color #333333}) ${alignr}${color #FF8E00}${cpubar cpu2 5,110}
    ${color #777777}${cpugraph cpu0 444400 FFFF00}
    
    ${color #0077ff}Processes:${color lightgrey} ${processes}  ${color #0077ff}Running:${color lightgrey} ${running_processes}
    ${color #0077ff}CPU Usage          PID     CPU%   MEM%
    ${color lightgrey}  ${top name 1} ${top pid 1}  ${top cpu 1} ${top mem 1}
    ${color #777777}  ${top name 2} ${top pid 2}  ${top cpu 2} ${top mem 2}
    ${color #777777}  ${top name 3} ${top pid 3}  ${top cpu 3} ${top mem 3}
    
    ${color #333333}[ ${color white}Memory${color #333333} ]${hr 2}
    ${color #0077ff}RAM:${color lightgrey} $mem ${color #333333}(${color lightgrey}$memperc%${color #333333}) ${alignr}${color #FF8E00}${membar 5,110}
    ${color #0077ff}SWP:${color lightgrey} $swap ${color #333333}(${color lightgrey}$swapperc%${color #333333}) ${alignr}${color #FF8E00}${swapbar 5,110}
    ${color #0077ff}Memory Usage:
    ${color lightgrey}  ${top_mem name 1} ${top_mem pid 1}  ${top_mem cpu 1} ${top_mem mem 1}
    ${color #777777}  ${top_mem name 2} ${top_mem pid 2}  ${top_mem cpu 2} ${top_mem mem 2}
    ${color #777777}  ${top_mem name 3} ${top_mem pid 3}  ${top_mem cpu 3} ${top_mem mem 3}
    
    ${color #333333}[ ${color white}Network${color #333333} ]${hr 2}
    ${color #0077ff}Address: ${color lightgrey}${if_up wlan0}${addr wlan0}${else}${addr eth0}${endif}${alignr}${color #0077ff}Gateway: ${color lightgrey}${gw_ip}
    
    ${color #0077ff}Down:${color lightgrey} ${if_up wlan0}${downspeedf wlan0}${else}${downspeedf eth0}${endif} kB/s $alignr${color #0077ff} Up:${color lightgrey} ${if_up wlan0}${upspeedf wlan0}${else}${upspeedf eth0}${endif} kB/s
    ${color #777777}${if_up wlan0}${downspeedgraph wlan0 27,120 440000 FF0000}${else}${downspeedgraph eth0 27,120 440000 FF0000 180}${endif} ${alignr}${color #777777}${if_up wlan0}${upspeedgraph wlan0 27,120 440000 FF0000 25}${else}${upspeedgraph eth0 27,120 440000 FF0000}${endif}
    
    ${color #333333}[ ${color white}Wireless${color #333333} ]${hr 2}
    ${if_up wlan0}${color #0077ff}Status: ${color lightgrey}Online
    ${color #0077ff}BSSID: ${color lightgrey}${wireless_essid wlan0}${color #333333} (${color lightgrey}${wireless_ap wlan0}${color #333333})
    ${color #0077ff}Bitrate: ${color lightgrey}${wireless_bitrate wlan0}${alignr}${wireless_link_qual_perc wlan0}% ${color #FF8E00}${wireless_link_bar 5,110 wlan0}${else}${color #0077ff}Status: ${color lightgrey}Offline${endif}
    
    ${color #333333}[ ${color white}System${color #333333} ]${hr 2}
    ${color #0077ff}Temperature: ${color lightgrey}${acpitemp}°C
    ${color #0077ff}Battery: ${color lightgrey}${battery_time BAT1} ${color #333333}(${color lightgrey}${battery_percent BAT1}%${color #333333}) ${alignr}${color #FF8E00}${battery_bar 5,110 BAT1}
    ${color #0077ff}Uptime: ${color lightgrey}${uptime}
    Have fun!

    Edit:

    later I've modified
    Code:
    ${color #333333}[ ${color white}System${color #333333} ]${hr 2}
    into
    Code:
    ${color #333333}[ ${color white}${font Liberation Mono:style=Bold:size=8}System${font}${color #333333} ]${hr 2}
    It looks a bit nicer!
    Attached Images Attached Images
    Last edited by MeanEYE; April 28th, 2009 at 07:32 PM.
    RCF Group | http://rcf-group.com
    Sunflower file manager | http://code.google.com/p/sunflower-fm

Page 676 of 2348 FirstFirst ... 17657662666667467567667767868672677611761676 ... 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
  •