Page 849 of 2298 FirstFirst ... 34974979983984784884985085185989994913491849 ... LastLast
Results 8,481 to 8,490 of 22971

Thread: Post your .conkyrc files w/ screenshots

  1. #8481
    Join Date
    Jul 2009
    Beans
    176
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile Re: Post your .conkyrc files w/ screenshots

    Big Bruce

  2. #8482
    Join Date
    Jul 2009
    Beans
    176
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by miegiel View Post
    Thanks for pointing $else out to me. Now I can do 3 colors

    It turned out that ${if_match "battery_percent" < "31"} should have been ${if_match $battery_percent < 31}. Oh well. I made some bars for my 2 cores too.

    Code:
    ${if_match $battery_percent < 11}${color red}${battery_bar BAT0}$color$endif${if_match $battery_percent > 30}${battery_bar BAT0}$else${color yellow}${battery_bar BAT0}$color$endif
    ${if_match ${cpu cpu1} < 60}${cpubar cpu1}$else${color yellow}${cpubar cpu1}$color$endif${if_match ${cpu cpu1} > 89}${color red}${cpubar cpu1}$color$endif
    ${if_match ${cpu cpu2} < 60}${cpubar cpu2}$else${color yellow}${cpubar cpu2}$color$endif${if_match ${cpu cpu2} > 89}${color red}${cpubar cpu2}$color$endif
    Finally changing colors without having to run a extra script
    Thanks m8. You gave me the idea, I knew something was missing on my graphic
    I should realised the lua calls from the begining when conky v.1.7 asked for lua 5.1
    Last edited by -=hazard=-; August 6th, 2009 at 01:13 AM.

  3. #8483
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Now it crashes whenever I disconnect the wireless. Here's what I have:

    Code:
    ${if_existing /proc/net/route eth1}${font Arial:bold:size=10}${color Tan1}NETWORK: WIRELESS  ${color DarkSlateGray}${hr 2}${color}${font}${execi 600 rm *index.html* & wget http://www.showmyip.com/simple/}
    Public IP: ${alignr}${execi 600 cat index.html}
    Local IP: ${alignr}${addr eth1}
    ${color red}Down${alignr}${downspeed eth1}/s
    ${color green}Up${alignr}${upspeed eth1}/s${else}${if_existing /proc/net/route wlan0}${font Arial:bold:size=10}${color Tan1}NETWORK: WIRED  ${color DarkSlateGray}${hr 2}${color}${font}${execi 600 rm *index.html* & wget http://www.showmyip.com/simple/}
    Public IP: ${alignr}${execi 600 cat index.html}
    Local IP: ${alignr}${addr wlan0}
    ${color red}Down${alignr}${downspeed wlan0}/s
    ${color green}Up${alignr}${upspeed wlan0}/s${else}
    ${font Arial:bold:size=10}${color Tan1}${voffset -8}NETWORK: NO CONNECTION${color DarkSlateGray}${hr 2}${endif}${endif}${color}
    I keep getting an error that says one or more endifs are missing.
    Last edited by josephellengar; August 6th, 2009 at 01:15 AM.

  4. #8484
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by idigchess View Post
    Thanks, it worked, but I have no idea why. Why doesn't if_up work?
    Like I said, I don't use if_ statements, so I'm not sure why if_up doesn't work.

    Have a good one.
    Bruce
    Last edited by Bruce M.; August 6th, 2009 at 01:37 AM.

  5. #8485
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by idigchess View Post
    Now it crashes whenever I disconnect the wireless. Here's what I have:

    Code:
    ${if_existing /proc/net/route eth1}${font Arial:bold:size=10}${color Tan1}NETWORK: WIRELESS  ${color DarkSlateGray}${hr 2}${color}${font}${execi 600 rm *index.html* & wget http://www.showmyip.com/simple/}
    Public IP: ${alignr}${execi 600 cat index.html}
    Local IP: ${alignr}${addr eth1}
    ${color red}Down${alignr}${downspeed eth1}/s
    ${color green}Up${alignr}${upspeed eth1}/s${else}${if_existing /proc/net/route wlan0}${font Arial:bold:size=10}${color Tan1}NETWORK: WIRED  ${color DarkSlateGray}${hr 2}${color}${font}${execi 600 rm *index.html* & wget http://www.showmyip.com/simple/}
    Public IP: ${alignr}${execi 600 cat index.html}
    Local IP: ${alignr}${addr wlan0}
    ${color red}Down${alignr}${downspeed wlan0}/s
    ${color green}Up${alignr}${upspeed wlan0}/s${else}
    ${font Arial:bold:size=10}${color Tan1}${voffset -8}NETWORK: NO CONNECTION${color DarkSlateGray}${hr 2}${endif}${endif}${color}
    I keep getting an error that says one or more endifs are missing.
    Oops! Change the first ${else} to ${endif}
    and drop one of the ${endif}${endif} statements on the last line.

    Bruce

  6. #8486
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Quote Originally Posted by Bruce M. View Post
    Oops! Change the first ${else} to ${endif}
    and drop one of the ${endif}${endif} statements on the last line.

    Bruce
    I figured it out. The other way worked better because with the new code that you gave me, it showed NO CONNECTION regardless of if the wireless was connected or not, as the else was attached to the wlan0 connection. But thank you very much for helping me with this. It seems that I had accidentally put an if statement somehwere at the top of my code, which was causing the crashes. Thank you.

  7. #8487
    Join Date
    Aug 2009
    Beans
    39
    Distro
    Ubuntu

    Re: Post your .conkyrc files w/ screenshots

    Once again I'm in need of help!

    Code:
    WEATHER ${hr 2}
    ${if_existing /proc/net/route wlan0}
    ${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NOXX0032 --datatype=WF}${font}
    ${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NOXX0032 --datatype=HT}${font}
    
    
    ${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=BD}
    ${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=HM}
    ${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=NOXX0032 --hideunits --datatype=WD}
    ${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=WG}
    ${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=SR} - ${execi 600 conkyForecast --location=NOXX0032 --datatype=SS}
    
    ${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=NOXX0032 --datatype=MP}
    ${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=NOXX0032 --datatype=MF}${font}
    ${else}${if_existing /proc/net/route ppp0}
    ${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NOXX0032 --datatype=WF}${font}
    ${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NOXX0032 --datatype=HT}${font}
    
    
    ${voffset 0}${font}Barometer Tendency: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=BD}
    ${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=HM}
    ${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=NOXX0032 --hideunits --datatype=WD}
    ${voffset 0}${font}Wind Gusts: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=WG}
    ${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=NOXX0032 --datatype=SR} - ${execi 600 conkyForecast --location=NOXX0032 --datatype=SS}
    
    ${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=NOXX0032 --datatype=MP}
    ${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=NOXX0032 --datatype=MF}${font}
    ${endif}${else}
    ${font PizzaDude Bullets:size=14}4${font} Weather Unavailable ${endif}
    On the second line:
    Code:
    ${if_existing /proc/net/route wlan0}
    This means it will display weather if wlan0 is currently connected. Is there any way to make it display if either wlan0 or eth0 is connected?

  8. #8488
    Join Date
    Aug 2008
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Post your .conkyrc files w/ screenshots

    Never mind. I'm stupid
    Last edited by josephellengar; August 6th, 2009 at 03:07 AM.

  9. #8489
    Join Date
    Feb 2008
    Location
    I'm lost ... HELP!
    Beans
    1,014
    Distro
    Xubuntu

    Re: Post your .conkyrc files w/ screenshots

    Code:
    ${if_match $battery_percent < 11}${color red}${battery_bar BAT0}$color$else${if_match $battery_percent < 31}${color yellow}${battery_bar BAT0}$color$else${if_match $battery_percent < 96}${battery_bar BAT0}$else${color green}${battery_bar BAT0}$color$endif$endif$endif
    I could go for a rainbow but 4 colors is enough for now. Battery bar is red up to 10%, yellow up to 30%, and green when it's almost full.
    Last edited by miegiel; August 6th, 2009 at 03:36 PM. Reason: forgot a $color : )

  10. #8490
    Join Date
    Jul 2009
    Location
    United States
    Beans
    39
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Post your .conkyrc files w/ screenshots

    I had a flicker problem in conky I found the solution elsewhere

    it is in the Compiz Config Setting manager under General Options General Tab
    uncheck Hide skip taskbar windows

    This is probably in the wrong thread

Page 849 of 2298 FirstFirst ... 34974979983984784884985085185989994913491849 ... 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
  •