SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1351 2014-02-25 18:06:24

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

own_window yes
own_window_type normal
own_window_argb_visual yes
own_window_argb_value 255
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

Last edited by Sector11 (2014-02-25 18:19:12)

Offline

Be excellent to each other!

#1352 2014-02-25 20:29:42

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Last edited by Sector11 (2014-02-25 20:33:44)

Offline

#1353 2014-02-25 21:51:48

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

 25 Feb 14 | 10:21:49 ~
    $ sho poedit
Package: poedit                          
State: installed
Automatically installed: no
Version: 1.5.4-1
Priority: optional
Section: text
Maintainer: Pedro Ribeiro <p.m42.ribeiro@gmail.com>
Architecture: amd64
Uncompressed Size: 3,508 k
Depends: libc6 (>= 2.2.5), libdb5.1++, libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.8.0),
         libgtkspell0 (>= 2.0.10), libstdc++6 (>= 4.1.1), libwxbase2.8-0 (>= 2.8.12.1), libwxgtk2.8-0 (>= 2.8.12.1),
         gettext
Description: gettext catalog editor
 Poedit is an editor for gettext catalogs (.po files). It aims to provide a convenient approach to editing catalogs. It
 features UTF-8 support, fuzzy and untranslated records highlighting, whitespace highlighting, references browser,
 header editing and can be used to create new catalogs or update existing catalogs from source code with a single
 click. It is built with wxWidgets toolkit.
Homepage: http://www.poedit.net/

 
 25 Feb 14 | 10:22:02 ~
    $ 

Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1354 2014-02-25 23:44:42

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Last edited by Sector11 (2014-02-25 23:45:12)

Offline

#1355 2014-02-26 10:29:51

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1356 2014-02-26 16:54:21

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#1357 2014-02-26 21:19:13

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sorry mate, too much for me at the moment...
By the looks of it, it seems easier for me to offer free english lessons than get into all this trouble.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1358 2014-02-26 21:30:56

lockheed
Member
Registered: 2013-06-13
Posts: 40

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Guys, I have another problem. This time it's on the system that I though works fine.

I am using 1b2)Accuweather - ConkyWeather font - 1b2_12-2-14 but the weather never updates. It stays the same since several days (not even weekdays update), regardless of several reboots.

Here are the config files:

# 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,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 yes

# Update interval in seconds
update_interval 3

# Minimum size of text area
minimum_size 355 500
maximum_width 355

override_utf8_locale yes

# Draw shades?
draw_shades yes

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont Arial:size=9
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

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

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 280
gap_y 30

imlib_cache_size 0
# stuff after 'TEXT' will be formatted on screen

TEXT
#${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1b2_accuweather_conkyweather_font/1b2}
${font Arial:size=10}${execpi 600 sed -n '1p' $HOME/1b2_accuweather_conkyweather_font/messages}${font}${goto 200}${color ffe595}TEMP: $color${alignr}${execpi 600 sed -n '29p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}°C (${execpi 600 sed -n '30p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}°C)
${font conkyweather:size=100}${execi 600  sed -n '27p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}${font}
${voffset -130}${goto 200}${color ffe595}WIND: $color${alignr}${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/curr_cond} ${execpi 600 sed -n '32p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${goto 200}${color ffe595}HUM: $color${alignr}${execpi 600 sed -n '33p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '37p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}°C
${goto 200}${color ffe595}PR: $color${alignr}${execpi 600 sed -n '34p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${goto 200}${color ffe595}VISIB: $color${alignr}${execpi 600 sed -n '38p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '35p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '36p' $HOME/1b2_accuweather_conkyweather_font/curr_cond} 
${goto 200}${color ffe595}S/M RISE: $color${alignr}${execpi 600 sed -n '39p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}/${execpi 600 sed -n '41p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${goto 200}${color ffe595}S/M SET: $color${alignr}${execpi 600 sed -n '40p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}/${execpi 600 sed -n '42p' $HOME/1b2_accuweather_conkyweather_font/curr_cond}
${hr 1}
${goto 50}${font Arial:size=10}${color ffe595}TODAY$color$font${goto 230}${font Arial:size=10}${color ffe595}TONIGHT$color$font
${goto 30}${font conkyweather:size=75}${execi 600  sed -n '25p' $HOME/1b2_accuweather_conkyweather_font/first_days}${font}${goto 210}${voffset -75}${font conkyweather:size=75}${execi 600  sed -n '30p' $HOME/1b2_accuweather_conkyweather_font/first_days}${font}
${voffset -70}${goto 145}${execpi 600 sed -n '26p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C${goto 340}${execpi 600 sed -n '31p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C
${goto 140}(${execpi 600 sed -n '27p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C)${goto 335}(${execpi 600 sed -n '32p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C)


${font Arial:size=8}${execpi 600 sed -n '2p' $HOME/1b2_accuweather_conkyweather_font/messages}${goto 195}${execpi 600 sed -n '3p' $HOME/1b2_accuweather_conkyweather_font/messages}$font
Chance of Precip: ${execpi 600 sed -n '28p' $HOME/1b2_accuweather_conkyweather_font/first_days}${goto 195}Chance of Precip: $color${execpi 600 sed -n '33p' $HOME/1b2_accuweather_conkyweather_font/first_days}
${hr 1}
${font Arial:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '5p' $HOME/1b2_accuweather_conkyweather_font/first_days}${goto 145}${execpi 600 sed -n '10p' $HOME/1b2_accuweather_conkyweather_font/first_days}${goto 270}${execpi 600 sed -n '15p' $HOME/1b2_accuweather_conkyweather_font/first_days}$color${font}
${goto 30}${font conkyweather:size=50}${execi 600  sed -n '6p' $HOME/1b2_accuweather_conkyweather_font/first_days}${font}${goto 140}${voffset -50}${font conkyweather:size=50}${execi 600  sed -n '11p' $HOME/1b2_accuweather_conkyweather_font/first_days}${font}${goto 260}${voffset -50}${font conkyweather:size=50}${execi 600  sed -n '16p' $HOME/1b2_accuweather_conkyweather_font/first_days}${font}
${voffset -40}${font Arial:size=8}${goto 100}${execpi 600 sed -n '8p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C${goto 210}${execpi 600 sed -n '13p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C${goto 330}${execpi 600 sed -n '18p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C
${goto 100}${execpi 600 sed -n '9p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C${goto 210}${execpi 600 sed -n '14p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C${goto 330}${execpi 600 sed -n '19p' $HOME/1b2_accuweather_conkyweather_font/first_days}°C
#!/bin/bash

#function: test_image
test_image () {
    case $1 in
         1)
           echo a
         ;;
         2|3)
           echo b 
         ;;
         4|5)
           echo c
         ;;
         6)
           echo d
         ;;
         7)
           echo e
         ;;
         8)
           echo f
         ;;
         11)
           echo 0
         ;;
         12)
           echo h
         ;;
         13|14)
           echo g
         ;;
         15)
           echo m
         ;;
         16|17)
           echo k
         ;;
         18)
           echo i
         ;;
         19)
           echo q
         ;;
         20|21|23)
           echo o
         ;;
         22)
           echo r
         ;;
         24|31)
           echo E
         ;;
         25)
           echo v
         ;;
         26)
           echo x
         ;;
         29)
           echo y
         ;;
         30)
           echo 5
         ;;
         32)
           echo 6
         ;;
         33)
           echo A
         ;;
         34|35)
           echo B
         ;;
         36|37)
           echo C
         ;;
         38)
           echo D
         ;;
         39|40)
           echo G
         ;;
         41|42)
           echo K
         ;;
         43|44)
           echo O
         ;;
         *)
		   echo -
		 ;;   
        esac
} 

#put your Accuweather address here
#address="http://www.accuweather.com/en/gr/kastoria/178682/weather-forecast/178682"
address="http://www.accuweather.com/en/pl/tarnow/274457/weather-forecast/274457"
#address="http://www.accuweather.com/en/de/magdeburg/39104/weather-forecast/171293"

loc_id=$(echo $address|sed 's/\/weather-forecast.*$//'|sed 's/^.*\///')
last_number=$(echo $address|sed 's/^.*\///')

curr_addr="$(echo $address|sed 's/weather-forecast.*$//')"current-weather/"$last_number"

addr1="$(echo $address|sed 's/weather-forecast.*$//')"daily-weather-forecast/"$last_number"
addr2="$addr1"?day=6

kill -STOP $(pidof conky)
killall wget

wget --save-cookies $HOME/1b2_accuweather_conkyweather_font/cookie -O $HOME/1b2_accuweather_conkyweather_font/curr_cond_raw $curr_addr
wget --load-cookies $HOME/1b2_accuweather_conkyweather_font/cookie -O $HOME/1b2_accuweather_conkyweather_font/first_days_raw $addr1
wget --load-cookies $HOME/1b2_accuweather_conkyweather_font/cookie -O $HOME/1b2_accuweather_conkyweather_font/last_days_raw $addr2

#Current Conditions - curr_cond file
if [[ -s $HOME/1b2_accuweather_conkyweather_font/curr_cond_raw ]]; then

    egrep -i '"detail-tab-panel |>Today<\/a>|>Tonight<\/a>|>Early AM<\/a>|>Overnight<\/a>|>Mon<\/a>|>Tue<\/a>|>Wed<\/a>|>Thu<\/a>|>Fri<\/a>|>Sat<\/a>|>Sun<\/a>|icon i-|"cond"|"temp"|var d = '\''|var s = '\''|Humidity: |Pressure: |Cloud Cover: |UV Index: |Dew Point: |Precipitation(1 hr): |Visibility: |"start">|"finish">' $HOME/1b2_accuweather_conkyweather_font/curr_cond_raw > $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/^[ \t]*//g' -e 's/^.*icon i-//g' -e 's/^.*"cond">//g' -e 's/>Lo</\n/g' -e 's/RealFeel/\n/g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/^.*"#">//g' -e 's/^.*<strong class="temp"//g' -e 's/^>//g' -e 's/<span>&deg.*$//g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/<\/a>.*$//g' -e 's/\/span> //g' -e 's/var d = //g' -e 's/var s = //g' -e 's/"temp">/\n/g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/^.*"start">//g' -e 's/^.*"finish">//g' -e 's/<li>//g' -e 's/<strong>//g' -e 's/<<span.*$//g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/<\/span>//g' -e 's/<\/strong><\/li>//g' -e 's/ "><\/div>//g' -e 's/'\''//g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/"><\/div>//g' -e 's/^.*; //g' -e 's/&#.*$//g' -e 's/ i-alarm.*$//g' -e 's/;//g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/Humidity: //g' -e 's/Pressure: //g' -e 's/Cloud Cover: //g' -e 's/UV Index: //g' -e 's/Dew Point: //g' -e 's/Visibility: //g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/^.*detail-tab-panel //g' -e 's/">//g' -e 's/\r//g' -e 's/ *$//g' -e 's/mb.*$/mb/g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i -e 's/-s\|-xl.*$//g' -e 's/in &.*$/in/g' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    time=$(sed -n 1p $HOME/1b2_accuweather_conkyweather_font/curr_cond)
    if [[ $time == Tonight || $time == Overnight || $time == "Early AM" ]]; then
        sed -i 3a- $HOME/1b2_accuweather_conkyweather_font/curr_cond
	fi
    line35=$(sed -n 35p $HOME/1b2_accuweather_conkyweather_font/curr_cond)
    sed -i '35d' $HOME/1b2_accuweather_conkyweather_font/curr_cond
    sed -i 35a$line35 $HOME/1b2_accuweather_conkyweather_font/curr_cond
	image=$(sed -n 27p $HOME/1b2_accuweather_conkyweather_font/curr_cond)
	sed -i 27s/$image/$(test_image $image)/ $HOME/1b2_accuweather_conkyweather_font/curr_cond
fi


#First 5days - first_days file 
if [[ -s $HOME/1b2_accuweather_conkyweather_font/first_days_raw ]]; then

    sed -i '/<div class="column-1 clearfix">/,/<div id=\"feature-history\">/!d' $HOME/1b2_accuweather_conkyweather_font/first_days_raw
    egrep -i '>Today<|<p>[a-z]|>Mon<\/a>|>Tue<\/a>|>Wed<\/a>|>Thu<\/a>|>Fri<\/a>|>Sat<\/a>|>Sun<\/a>|icon i-|"cond"|"temp"|realfeel">RealFeel|realfeel">Precipitation' $HOME/1b2_accuweather_conkyweather_font/first_days_raw > $HOME/1b2_accuweather_conkyweather_font/first_days

    sed -i -e 's/^[ \t]*//g' -e 's/^.*icon i-//g' -e 's/^.*"cond">//g' -e 's/>Lo</\n/g' $HOME/1b2_accuweather_conkyweather_font/first_days
    sed -i -e 's/ "><\/div>//g' -e 's/"><\/div>//g' -e 's/^.*"temp">//g' -e 's/<span>&deg.*$//g' $HOME/1b2_accuweather_conkyweather_font/first_days
    sed -i -e 's/<p>//g' -e 's/<\/p>//g' -e 's/^.*"#">//g' -e 's/\/span> //g' -e 's/^.*>Precipitation //g' -e '/realfeel/s/^.*; //g' $HOME/1b2_accuweather_conkyweather_font/first_days
    sed -i -e 's/&#.*$//g' -e 's/<.*$//g' -e 's/ i-alarm.*$//g' -e 's/\r//g' -e 's/ *$//g' $HOME/1b2_accuweather_conkyweather_font/first_days
	sed -i -e 's/Today/TODAY/' -e 's/Mon$/MONDAY/' -e 's/Tue$/TUESDAY/' -e 's/Wed$/WEDNESDAY/' -e 's/Thu$/THURSDAY/' -e 's/Fri$/FRIDAY/' -e 's/Sat$/SATURDAY/' -e 's/Sun$/SUNDAY/' $HOME/1b2_accuweather_conkyweather_font/first_days
    sed -i 's/-s\|-l.*$//g' $HOME/1b2_accuweather_conkyweather_font/first_days
    time=$(sed -n 1p $HOME/1b2_accuweather_conkyweather_font/curr_cond)
    if [[ $time == Tonight || $time == Overnight || $time == "Early AM" ]]; then
        sed -i 2a- $HOME/1b2_accuweather_conkyweather_font/first_days
	fi
	L1=$(sed -n 1p $HOME/1b2_accuweather_conkyweather_font/first_days)
    if [[ $L1 == TODAY ]]; then
        sed -i 1d $HOME/1b2_accuweather_conkyweather_font/first_days
	fi
	for (( i=6; i<=21; i+=5 ))
	  do
	      image_raw=$(sed -n "${i}"p $HOME/1b2_accuweather_conkyweather_font/first_days)
	      sed -i ${i}s/$image_raw/$(test_image $image_raw)/ $HOME/1b2_accuweather_conkyweather_font/first_days
	  done
    image_raw=$(sed -n 25p $HOME/1b2_accuweather_conkyweather_font/first_days)
	sed -i 25s/$image_raw/$(test_image $image_raw)/ $HOME/1b2_accuweather_conkyweather_font/first_days
    image_raw=$(sed -n 30p $HOME/1b2_accuweather_conkyweather_font/first_days)
	sed -i 30s/$image_raw/$(test_image $image_raw)/ $HOME/1b2_accuweather_conkyweather_font/first_days

fi


#Last 5days - last_days file 
if [[ -s $HOME/1b2_accuweather_conkyweather_font/last_days_raw ]]; then

    sed -i '/<div class="column-1 clearfix">/,/<div id=\"feature-history\">/!d' $HOME/1b2_accuweather_conkyweather_font/last_days_raw
    egrep -i '>Mon<\/a>|>Tue<\/a>|>Wed<\/a>|>Thu<\/a>|>Fri<\/a>|>Sat<\/a>|>Sun<\/a>|icon i-|"cond"|"temp"|realfeel">RealFeel|realfeel">Precipitation' $HOME/1b2_accuweather_conkyweather_font/last_days_raw > $HOME/1b2_accuweather_conkyweather_font/last_days
    sed -i -e 's/^[ \t]*//g' -e 's/^.*icon i-//g' -e 's/^.*"cond">//g' -e 's/>Lo</\n/g' $HOME/1b2_accuweather_conkyweather_font/last_days
    sed -i -e 's/ "><\/div>//g' -e 's/"><\/div>//g' -e 's/^.*"temp">//g' -e 's/<span>&deg.*$//g' $HOME/1b2_accuweather_conkyweather_font/last_days
    sed -i -e 's/^.*"#">//g' -e 's/\/span> //g' -e 's/^.*>Precipitation //g' -e 's/^.*; //g' $HOME/1b2_accuweather_conkyweather_font/last_days
    sed -i -e 's/&#.*$//g' -e 's/<.*$//g' -e 's/ i-alarm.*$//g' -e 's/\r//g' -e 's/ *$//g' $HOME/1b2_accuweather_conkyweather_font/last_days
	sed -i -e 's/Mon$/MONDAY/' -e 's/Tue$/TUESDAY/' -e 's/Wed$/WEDNESDAY/' -e 's/Thu$/THURSDAY/' -e 's/Fri$/FRIDAY/' -e 's/Sat$/SATURDAY/' -e 's/Sun$/SUNDAY/' $HOME/1b2_accuweather_conkyweather_font/last_days
    sed -i 's/-s\|-l.*$//g' $HOME/1b2_accuweather_conkyweather_font/last_days
    for (( i=2; i<=22; i+=5 ))
	  do
	      image_raw=$(sed -n "${i}"p $HOME/1b2_accuweather_conkyweather_font/last_days)
	      sed -i ${i}s/$image_raw/$(test_image $image_raw)/ $HOME/1b2_accuweather_conkyweather_font/last_days
	  done

fi

#messages file
sed -n 28p $HOME/1b2_accuweather_conkyweather_font/curr_cond | cut -c -20 > $HOME/1b2_accuweather_conkyweather_font/messages
sed -n 29p $HOME/1b2_accuweather_conkyweather_font/first_days | cut -c -20 >> $HOME/1b2_accuweather_conkyweather_font/messages
sed -n 34p $HOME/1b2_accuweather_conkyweather_font/first_days | cut -c -20 >> $HOME/1b2_accuweather_conkyweather_font/messages
for (( i=7; i<=22; i+=5 ))
  do
      sed -n ${i}p $HOME/1b2_accuweather_conkyweather_font/first_days | cut -c -20 >> $HOME/1b2_accuweather_conkyweather_font/messages
  done
for (( i=3; i<=23; i+=5 ))
  do
      sed -n ${i}p $HOME/1b2_accuweather_conkyweather_font/last_days | cut -c -20 >> $HOME/1b2_accuweather_conkyweather_font/messages
  done

kill -CONT $(pidof conky)

And the console output when run:

$ conky -c /home/juha/1b2_accuweather_conkyweather_font/.conkyrc_1b2_int
Conky: use_spacer should have an argument of left, right, or none.  'yes' seems to be some form of 'true', so defaulting to right.
Conky: /home/juha/1b2_accuweather_conkyweather_font/.conkyrc_1b2_int: 37: no such configuration: 'border_margin'
Conky: desktop window (c2) is root window
Conky: window type - override
Conky: drawing to created window (0x5800001)
Conky: drawing to double buffer

Offline

#1359 2014-02-26 21:41:50

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#1360 2014-02-26 21:53:37

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

 26 Feb 14 | 18:51:15 ~
    $ /media/5/1b2_accuweather_conkyweather_font/1b2
wget: no process found
--2014-02-26 18:51:17--  http://www.accuweather.com/en/us/los-angeles-ca/90012/current-weather/347625
Resolving www.accuweather.com (www.accuweather.com)... 200.42.33.81, 200.42.33.82
Connecting to www.accuweather.com (www.accuweather.com)|200.42.33.81|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/media/5//1b2_accuweather_conkyweather_font/curr_cond_raw’

    [ <=>                                                                          ] 86,761      --.-K/s   in 0.04s   

2014-02-26 18:51:18 (2.13 MB/s) - ‘/media/5//1b2_accuweather_conkyweather_font/curr_cond_raw’ saved [86761]

--2014-02-26 18:51:18--  http://www.accuweather.com/en/us/los-angeles-ca/90012/daily-weather-forecast/347625
Resolving www.accuweather.com (www.accuweather.com)... 200.42.33.82, 200.42.33.81
Connecting to www.accuweather.com (www.accuweather.com)|200.42.33.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/media/5//1b2_accuweather_conkyweather_font/first_days_raw’

    [ <=>                                                                          ] 87,555      --.-K/s   in 0.05s   

2014-02-26 18:51:19 (1.67 MB/s) - ‘/media/5//1b2_accuweather_conkyweather_font/first_days_raw’ saved [87555]

--2014-02-26 18:51:19--  http://www.accuweather.com/en/us/los-angeles-ca/90012/daily-weather-forecast/347625?day=6
Resolving www.accuweather.com (www.accuweather.com)... 200.42.33.82, 200.42.33.81
Connecting to www.accuweather.com (www.accuweather.com)|200.42.33.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/media/5//1b2_accuweather_conkyweather_font/last_days_raw’

    [ <=>                                                                          ] 87,409      --.-K/s   in 0.04s   

2014-02-26 18:51:19 (1.90 MB/s) - ‘/media/5//1b2_accuweather_conkyweather_font/last_days_raw’ saved [87409]

 
 26 Feb 14 | 18:51:20 ~
    $ 

Last edited by Sector11 (2014-02-26 21:55:46)

Offline

#1361 2014-02-26 21:58:09

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I just run the 1b2 script - everything's OK.
Please double check EVERYTHING and report back.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1362 2014-02-26 22:03:02

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ HA!  This time I beat you.  devil   wink

Offline

#1363 2014-02-26 22:06:35

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

...till next time  mad  wink


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1364 2014-02-26 22:29:03

lockheed
Member
Registered: 2013-06-13
Posts: 40

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

$ ~/1b2_accuweather_conkyweather_font/1b2
wget: no process found
--2014-02-26 23:27:53--  http://www.accuweather.com/en/pl/tarnow/274457/current-weather/274457
Resolving www.accuweather.com (www.accuweather.com)... 217.212.225.72, 213.248.108.144
Connecting to www.accuweather.com (www.accuweather.com)|217.212.225.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/home/juha/1b2_accuweather_conkyweather_font/curr_cond_raw’

    [ <=>                                   ] 75,950      --.-K/s   in 0.07s   

2014-02-26 23:27:53 (1.04 MB/s) - ‘/home/juha/1b2_accuweather_conkyweather_font/curr_cond_raw’ saved [75950]

--2014-02-26 23:27:53--  http://www.accuweather.com/en/pl/tarnow/274457/daily-weather-forecast/274457
Resolving www.accuweather.com (www.accuweather.com)... 213.248.108.144, 217.212.225.72
Connecting to www.accuweather.com (www.accuweather.com)|213.248.108.144|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/home/juha/1b2_accuweather_conkyweather_font/first_days_raw’

    [ <=>                                   ] 76,635      --.-K/s   in 0.06s   

2014-02-26 23:27:54 (1.13 MB/s) - ‘/home/juha/1b2_accuweather_conkyweather_font/first_days_raw’ saved [76635]

--2014-02-26 23:27:54--  http://www.accuweather.com/en/pl/tarnow/274457/daily-weather-forecast/274457?day=6
Resolving www.accuweather.com (www.accuweather.com)... 217.212.225.72, 213.248.108.144
Connecting to www.accuweather.com (www.accuweather.com)|217.212.225.72|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘/home/juha/1b2_accuweather_conkyweather_font/last_days_raw’

    [ <=>                                   ] 75,989      --.-K/s   in 0.07s   

2014-02-26 23:27:54 (1.11 MB/s) - ‘/home/juha/1b2_accuweather_conkyweather_font/last_days_raw’ saved [75989]

Last edited by lockheed (2014-02-26 22:29:31)

Offline

#1365 2014-02-26 23:57:00

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

#${texeci 500 bash /media/5/1b2_accuweather_conkyweather_font/1b2}
TEXT
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color

Offline

#1366 2014-02-26 23:58:31

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#1367 2014-02-27 09:07:28

lockheed
Member
Registered: 2013-06-13
Posts: 40

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#1368 2014-02-27 12:30:36

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

/home/sector11/1b2_accuweather_conkyweather_font/1b2.conky

Last edited by Sector11 (2014-02-27 12:35:37)

Offline

#1369 2014-02-27 12:48:07

lockheed
Member
Registered: 2013-06-13
Posts: 40

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#1370 2014-02-27 12:54:14

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

#1371 2014-03-01 15:47:04

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

# pkill -xf "conky -c /media/5/Conky/Teo_wun/S11_all-text_wun.conky" &
# conky -c /media/5/Conky/Teo_wun/S11_all-text_wun.conky &


# killall conky && conky -c /media/5/Conky/S11_all-text.conky &
# /media/5/Conky/SSC/ssc-all-text.conky
###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
# own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title S11 All Text
### ARGB can be used for real transparency
 own_window_argb_visual yes
 own_window_argb_value 150

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

minimum_size 210 0     ## width, height
maximum_width 210      ## width

gap_x 10 # left-right
gap_y 10 # up-down

alignment tl
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monofur:bold:size=9
#xftfont WW Digital:size=10
#xftfont Anonymous Pro:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
#default_color B0E0E6 #176 224 230 PowderBlue
#default_color D8BFD8 #216 191 216 Thistle
color0 8FBC8F #DarkSeaGreen
color1 C0C0C0 # Silver
#color1 D3D3D3 #LightGrey
#color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
#color3 87CEFA #E0FFFF #LightCyan
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
#color7 5F9EA0 #CadetBlue
#color8 FFFFE0 #LightYellow
color8 FFD700 #Gold
#color8 F0E68C #Khaki
color9 FFA07A #LightSalmon
#color9 CD5C5C #IndianRed
#color9 FF0000 #Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 256

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Width for $top name value (default 15 characters)
top_name_width 6

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
#lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.3
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
# lua_draw_hook_post draw-bg 125 0 0 0 0 0x000000 0.01
#
# TEXT
#
#######################################################  End LUA Settings  ###

## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
## ¼ ½ ¾ ® ©

update_interval 1

TEXT
${execi 600 bash /media/5/Conky/Teo_wun/wunder}\
${goto 12}┌─ Time / Date Calcs
${goto 12}│${goto 30}├─ Time${goto 125}${time %T}
${goto 12}│${goto 30}├─ Date${goto 125}${time %a, %d %b %y}
${goto 12}│${goto 30}└─ Uptime${goto 125}${uptime}
${goto 12}├─ System
${goto 12}│${goto 30}├─ System${goto 125}${sysname}
${goto 12}│${goto 30}├─ OS${goto 125}${execi 86400 lsb_release -is} ${execi 86400 lsb_release -rs}
${goto 12}│${goto 30}├─ Kernel ${goto 125}${kernel}
${goto 12}│${goto 30}├─ Machine${goto 125}${machine}
${goto 12}│${goto 30}├─ ${exec xset q | grep Cap |awk '{print "Cap Lock     "$4}'}
${goto 12}│${goto 30}└─ ${exec xset q | grep Num |awk '{print "Num Lock     "$8}'}
${goto 12}├─ Sensors
${goto 12}│${goto 30}├─ CPU${goto 125}${platform f71882fg.2560 temp 1}°
${goto 12}│${goto 30}├─ CPU FAN${goto 125}${platform f71882fg.2560 fan 1}
${goto 12}│${goto 30}├─ MOBO${goto 125}${platform f71882fg.2560 temp 2}°
${goto 12}│${goto 30}├─ HDD${goto 125}${hddtemp /dev/sda}°
${goto 12}│${goto 30}└─ GPU${goto 125}${nvidia temp}°
${goto 12}├─ Memory${goto 125}${memmax}
${goto 12}│${goto 30}├─ In Use${goto 125}${mem} (${memperc}%)
${goto 12}│${goto 30}├─ Free${goto 125}${memfree}
${goto 12}│${goto 30}└─ Load Avg
${goto 12}│${goto 48}├─ 1 min${goto 125}${loadavg 1}
${goto 12}│${goto 48}├─ 5 min${goto 125}${loadavg 2}
${goto 12}│${goto 48}└─ 15 min${goto 125}${loadavg 3}
${goto 12}├─ ${pre_exec cat /proc/cpuinfo | grep -m 1 'model name' | cut -c14-37}
${goto 12}│${goto 30}├─ GHz${goto 125}${freq_g}
${goto 12}│${goto 30}├─ MHz${goto 125}${freq}
${goto 12}│${goto 30}└─ CPU Avg${goto 125}${cpu cpu0}%
${goto 12}│${goto 48}├─ CPU1${goto 125}${cpu cpu1}%
${goto 12}│${goto 48}├─ CPU2${goto 125}${cpu cpu2}%
${goto 12}│${goto 48}└─ CPU3${goto 125}${cpu cpu3}%
${goto 12}├─ Nvidia GPU
${goto 12}│${goto 30}├─ GPU MHz${goto 125}${nvidia gpufreq}
${goto 12}│${goto 30}├─ Mem MHz${goto 125}${nvidia memfreq}
${goto 12}│${goto 30}└─ Threshhold${goto 125}${nvidia threshold}°
${goto 12}├─ Storage
${goto 12}│${goto 30}├─ /R  ${fs_size /}${goto 125}Free: ${fs_free /}
${goto 12}│${goto 30}│${goto 52}└─ ${fs_used_perc /}% Used
${goto 12}│${goto 30}├─ /H  ${fs_size /home}${goto 125}Free: ${fs_free /home}
${goto 12}│${goto 30}│${goto 52}└─ ${fs_used_perc /home}% Used
${goto 12}│${goto 30}├─ /M5 ${fs_size /media/5}${goto 125}Free: ${fs_free /media/5}
${goto 12}│${goto 30}│${goto 52}└─ ${fs_used_perc /media/5}% Used
${goto 12}│${goto 30}└─ Diskio ${goto 125}${diskio}
${goto 12}│${goto 48}├─ Read${goto 125}${diskio_read}
${goto 12}│${goto 48}└─ Write${goto 125}${diskio_write}
${goto 12}├─ Processes ─ Running ${running_processes}
${goto 12}│${goto 30}├─ Total${goto 125}${processes}
${goto 12}│${goto 30}├─ CPU
${goto 12}│${goto 30}│${goto 48}├─ ${top name 1}${goto 113}${top cpu 1}${top mem 1}
${goto 12}│${goto 30}│${goto 48}├─ ${top name 2}${goto 113}${top cpu 2}${top mem 2}
${goto 12}│${goto 30}│${goto 48}└─ ${top name 3}${goto 113}${top cpu 3}${top mem 3}
${goto 12}│${goto 30}└─ MEM
${goto 12}│${goto 48}├─ ${top_mem name 1}${goto 113}${top_mem cpu 1}${top_mem mem 1}
${goto 12}│${goto 48}├─ ${top_mem name 2}${goto 113}${top_mem cpu 2}${top_mem mem 2}
${goto 12}│${goto 48}└─ ${top_mem name 3}${goto 113}${top_mem cpu 3}${top_mem mem 3}
${goto 12}├─ Net
${goto 12}│${goto 30}├─ open port(s)${goto 125}${tcp_portmon 1 65535 count}
${goto 12}│${goto 30}├─ Up
${goto 12}│${goto 30}│${goto 48}├─ Speed KB${goto 125}${upspeedf eth0}
${goto 12}│${goto 30}│${goto 48}└─ Total${goto 125}${totalup eth0}
${goto 12}│${goto 30}└─ Down
${goto 12}│${goto 48}├─ Speed KB${goto 125}${downspeedf eth0}
${goto 12}│${goto 48}└─ Total${goto 125}${totaldown eth0}
${goto 12}└─ Weather
${goto 30}├─ ${execi 600  sed -n '63p' /media/5/Conky/Teo_wun/Conditions}
${goto 30}├─ ± ${execi 600  sed -n '113p' /media/5/Conky/Teo_wun/Conditions}° | ${execi 600  sed -n '67p' /media/5/Conky/Teo_wun/Conditions}° | ${color9}${execi 600  sed -n '39p' /media/5/Conky/Teo_wun/Simple_Forecast}°${color} | ${color6}${execi 600  sed -n '44p' /media/5/Conky/Teo_wun/Simple_Forecast}°${color}
${goto 30}├─ UVI  ${execi 600  sed -n '121p' /media/5/Conky/Teo_wun/Conditions}
${goto 30}├─ Pressure (${execi 600  sed -n '89p' /media/5/Conky/Teo_wun/Conditions}) ${execi 600  sed -n '85p' /media/5/Conky/Teo_wun/Conditions} mb
${goto 30}├─ Hum  ${execi 600  sed -n '69p' /media/5/Conky/Teo_wun/Conditions}
${goto 30}├─ R?   ${execi 600  sed -n '133p' /media/5/Conky/Teo_wun/Conditions}%
${goto 30}├─ ${color8}Sun Rise ${execi 600  sed -n '16p' /media/5/Conky/Teo_wun/Moon_Sun}:${execi 600  sed -n '18p' /media/5/Conky/Teo_wun/Moon_Sun} \
${color1}Set ${execi 600  sed -n '21p' /media/5/Conky/Teo_wun/Moon_Sun}:${execi 600  sed -n '23p' /media/5/Conky/Teo_wun/Moon_Sun}${color}
${goto 30}└─ Moon is ${execi 600  sed -n '6p' /media/5/Conky/Teo_wun/Moon_Sun}

Last edited by Sector11 (2014-03-01 18:24:47)

Offline

#1372 2014-03-02 14:13:46

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Heyyyyyy...!!!...
, now that's awesome!!!
I love its minimalism - no fancy crap, just the info one needs.
This it pure KISS, Archers would love it...
Front page link added!!!
Thanks S11 once again...


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1373 2014-03-02 14:38:00

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

# pkill -xf "conky -c /media/5/Conky/Teo_wun/S11_all-text_wun_H.conky" &
# conky -c /media/5/Conky/Teo_wun/S11_all-text_wun_H.conky &
###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
# own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title S11 All Text Horizontal
### ARGB can be used for real transparency
own_window_argb_visual yes
own_window_argb_value 150

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

minimum_size 1500 0     ## width, height
maximum_width 1500      ## width

gap_x 0 # left-right
gap_y 10 # up-down

alignment bm
###################################################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Monofur:bold:size=9
#xftfont WW Digital:size=10
#xftfont Anonymous Pro:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
#default_color B0E0E6 #176 224 230 PowderBlue
#default_color D8BFD8 #216 191 216 Thistle
color0 8FBC8F #DarkSeaGreen
#color1 C0C0C0 # Silver
#color1 D3D3D3 #LightGrey
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
#color3 87CEFA #E0FFFF #LightCyan
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
#color7 5F9EA0 #CadetBlue
#color8 FFFFE0 #LightYellow
color8 FFD700 #Gold
#color8 F0E68C #Khaki
color9 FFA07A #LightSalmon
#color9 CD5C5C #IndianRed
#color9 FF0000 #Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes
#default_graph_size 15 40
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background no

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 256

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Width for $top name value (default 15 characters)
top_name_width 6

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or blinks.
##
# lua_load /media/5/Conky/LUA/draw-bg.lua
#TEXT
#${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
#
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
## OR Both above TEXT (No composite manager required - no blinking!)
#
#lua_load /media/5/Conky/LUA/draw-bg.lua
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.3
#lua_draw_hook_pre draw_bg 10 0 0 0 0 0x000000 0.2
# lua_draw_hook_post draw-bg 125 0 0 0 0 0x000000 0.01
#
# TEXT
#
#######################################################  End LUA Settings  ###

## │ ─ ┌ ┬ ┐ └ ┴ ┘ ├ ┼ ┤
## ║ ═ ╔ ╦ ╗ ╚ ╩ ╝ ╠ ╬ ╣

## ↑ ↓ → ← ↔ ► ◄ ▲ ▼ « »
## ░  ▒  ▓ ☺ ☻ ♥ ♦ ♣ ♠
## • ◘ ○ ◙ ♂ ♀ ♪ ♫ ☼
## ¼ ½ ¾ ® ©

update_interval 1
#-----LUA
## lua_load /media/5/Conky/LUA/conky_image.lua
## ${lua conky_image {file="/media/5/Conky/images/Nasa_blue_marble_sm.jpg", x=30, y=100, width=150, alpha=0.01}}


TEXT
${execi 600 bash /media/5/Conky/Teo_wun/wunder}\
${goto 12}${color3}Time / Date Calcs${color}\
	${goto 175}${color3}System${color}\
		${goto 337}${color3}Sensors${color}\
			${goto 435}${color3}Memory ${memmax}${color}\
				${goto 570}${color3}${pre_exec cat /proc/cpuinfo | grep -m 1 'model name' | cut -c14-23} ${pre_exec cat /proc/cpuinfo | grep -m 1 'model name' | cut -c29-33}${color}\
					${goto 680}${color3}Nvidia GPU${color}\
						${goto 800}${color3}Hard Drive${color}\
							${goto 960}${color3}Processes ─ Running ${running_processes}${color}\
								${goto 1140}${color3}Net ~ eth0${color}\
									${goto 1300}${color3}Weather${color}
${goto 12}${color3}├─${color} Time   ${time %T}\
	${goto 175}${color3}├─${color} OS      ${sysname}\
		${goto 337}${color3}├─${color} CPU  ${platform f71882fg.2560 temp 1}°\
			${goto 435}${color3}├─${color} In Use ${mem} (${memperc}%)\
				${goto 570}${color3}├─${color} GHz     ${freq_g}\
					${goto 680}${color3}├─${color} GPU MHz    ${nvidia gpufreq}\
						${goto 800}${color3}├─${color} /R  ${fs_size /}${goto 880}Free ${fs_free /}\
							${goto 960}${color3}├─${color} Total${goto 1025}${processes}\
								${goto 1140}${color3}├─${color} open port(s)${goto 1235}${tcp_portmon 1 65535 count}\
									${goto 1300}${color3}├─${color} ${execi 600  sed -n '63p' /media/5/Conky/Teo_wun/Conditions}
${goto 12}${color3}├─${color} Date${goto 070}${time %a, %d %b %y}\
	${goto 175}${color3}├─${color} Distro  ${execi 86400 lsb_release -is} ${execi 86400 lsb_release -rs}\
		${goto 337}${color3}├─${color} MOBO ${platform f71882fg.2560 temp 2}°\
			${goto 435}${color3}├─${color} Free   ${memfree}\
				${goto 570}${color3}├─${color} MHz     ${freq}\
					${goto 680}${color3}├─${color} Mem MHz    ${nvidia memfreq}\
							${goto 800}${color3}│${color}${goto 822}${color3}└─${color} ${fs_used_perc /}% Used\
								${goto 960}${color3}├─${color} CPU\
									${goto 1140}${color3}├─${color} Up\
										${goto 1300}${color3}├─${color} ± ${execi 600  sed -n '113p' /media/5/Conky/Teo_wun/Conditions}° | ${execi 600  sed -n '67p' /media/5/Conky/Teo_wun/Conditions}° | ${color9}${execi 600  sed -n '39p' /media/5/Conky/Teo_wun/Simple_Forecast}°${color} | ${color3}${execi 600  sed -n '44p' /media/5/Conky/Teo_wun/Simple_Forecast}°${color}
${goto 12}${color3}└─${color} Uptime ${goto 070}${uptime}\
	${goto 175}${color3}├─${color} Kernel  ${kernel}\
		${goto 337}${color3}├─${color} HDD  ${hddtemp /dev/sda}°\
			${goto 435}${color3}└─${color} Load Avg\
				${goto 570}${color3}└─${color} CPU Avg ${cpu cpu0}%\
					${goto 680}${color3}└─${color} Threshhold ${nvidia threshold}°\
						${goto 800}${color3}├─${color} /H  ${fs_size /home}${goto 880}Free ${fs_free /home}\
							${goto 960}${color3}│${color}${goto 978}${color3}├─${color} ${top name 1}${goto 1043}${top cpu 1}${top mem 1}\
								${goto 1140}${color3}│${color}${goto 1158}${color3}├─${color} Speed KB${goto 1235}${upspeedf eth0}\
									${goto 1300}${color3}├─${color} UVI  ${execi 600  sed -n '121p' /media/5/Conky/Teo_wun/Conditions}
	${goto 175}${color3}├─${color} Machine ${machine}\
		${goto 337}${color3}├─${color} GPU  ${nvidia temp}°\
			${goto 453}${color3}├─${color} 1 min  ${loadavg 1}\
				${goto 588}${color3}├─${color} CPU1 ${cpu cpu1}%\
						${goto 800}${color3}│${color}${goto 822}${color3}└─${color} ${fs_used_perc /home}% Used\
							${goto 960}${color3}│${color}${goto 978}${color3}├─${color} ${top name 2}${goto 1043}${top cpu 2}${top mem 2}\
								${goto 1140}${color3}│${color}${goto 1158}${color3}└─${color} Total${goto 1235}${totalup eth0}\
									${goto 1300}${color3}├─${color} Pressure (${execi 600  sed -n '89p' /media/5/Conky/Teo_wun/Conditions}) ${execi 600  sed -n '85p' /media/5/Conky/Teo_wun/Conditions} mb
	${goto 175}${color3}├─${color} ${exec xset q | grep Cap |awk '{print "Cap Lock "$4}'}\
		${goto 337}${color3}└─${color} FAN  ${platform f71882fg.2560 fan 1}\
			${goto 453}${color3}├─${color} 5 min  ${loadavg 2}\
				${goto 588}${color3}├─${color} CPU2 ${cpu cpu2}%\
						${goto 800}${color3}├─${color} /M5 ${fs_size /media/5}${goto 880}Free ${fs_free /media/5}\
							${goto 960}${color3}│${color}${goto 978}${color3}└─${color} ${top name 3}${goto 1043}${top cpu 3}${top mem 3}\
								${goto 1140}${color3}└─${color} Down\
									${goto 1300}${color3}├─${color} Hum  ${execi 600  sed -n '69p' /media/5/Conky/Teo_wun/Conditions}
	${goto 175}${color3}└─${color} ${exec xset q | grep Num |awk '{print "Num Lock "$8}'}\
			${goto 453}${color3}└─${color} 15 min ${loadavg 3}\
				${goto 588}${color3}└─${color} CPU3 ${cpu cpu3}%\
						${goto 800}${color3}│${color}${goto 822}${color3}└─${color} ${fs_used_perc /media/5}% Used\
							${goto 960}${color3}└─${color} MEM\
								${goto 1158}${color3}├─${color} Speed KB${goto 1235}${downspeedf eth0}\
									${goto 1300}${color3}├─${color} R?   ${execi 600  sed -n '133p' /media/5/Conky/Teo_wun/Conditions}%
						${goto 800}${color3}└─${color} Diskio    ${diskio}\
							${goto 978}${color3}├─${color} ${top_mem name 1}${goto 1043}${top_mem cpu 1}${top_mem mem 1}\
								${goto 1158}${color3}└─${color} Total${goto 1235}${totaldown eth0}\
									${goto 1300}${color3}├─${color} ${color8}Sun Rise ${execi 600  sed -n '16p' /media/5/Conky/Teo_wun/Moon_Sun}:${execi 600  sed -n '18p' /media/5/Conky/Teo_wun/Moon_Sun} \
${color3}Set ${execi 600  sed -n '21p' /media/5/Conky/Teo_wun/Moon_Sun}:${execi 600  sed -n '23p' /media/5/Conky/Teo_wun/Moon_Sun}${color}
						${goto 818}${color3}├─${color} Read   ${diskio_read}\
								${goto 978}${color3}├─${color} ${top_mem name 2}${goto 1043}${top_mem cpu 2}${top_mem mem 2}\
									${goto 1300}${color3}└─${color} Moon is ${execi 600  sed -n '6p' /media/5/Conky/Teo_wun/Moon_Sun}
						${goto 818}${color3}└─${color} Write  ${diskio_write}\
								${goto 978}${color3}└─${color} ${top_mem name 3}${goto 1043}${top_mem cpu 3}${top_mem mem 3}

Last edited by Sector11 (2014-03-02 15:30:07)

Offline

#1374 2014-03-06 21:29:31

KrunchTime
#! Die Hard
From: not where I belong
Registered: 2012-03-02
Posts: 3,264

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Offline

Be excellent to each other!

#1375 2014-03-06 22:33:08

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TEXT
${image /media/5/Conky/images/red_1.png -p 0,0 -s 102x102}\
${image /media/5/Conky/images/blue_1.png -p 1,1 -s 100x100}

Last edited by Sector11 (2014-03-06 22:35:22)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo