You are not logged in.

#21 2015-10-11 01:23:57

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

»»»»» This is for conky v1.90 «««««
2b)WUnderground API - All users - but literally could be one of them.

After seeing seth7's conky and his idea I had to dig out my old "all text" conky and add a pure text weather section.
I had tried seth7's conky it didn't line up right - my guess is it was a font thing.

I copied #/media/5/Conky/S11_all-text.conky" to "/media/5/Conky/Teo_wun/S11_all-text_wun.conky" and tweaked it using Teo's 2b)WUnderground API - All users script

Since there are no images I turned on argb true transparency and shaded it to 150 and added the Weather section to the bottom:
2014_03_01_12_17_10_1920x1080_Sector11.jpg
KUDOS to seth7 for the idea

S11_all-text_wun.conky

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

Just so you know, it's the Monofur font that gives the curved look to the ASCII characters.

A little more tweaking and I'll be happy with it.
Also a new idea from it! devil
2014_03_01_15_23_17_1512x142_Sector11.jpg


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#22 2015-10-11 07:05:21

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Thanks a lot for your hard work S11, much obliged.


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

#23 2015-10-11 11:14:54

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

You're welcome.  Your scripts make it easy Teo.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#24 2015-10-12 08:35:19

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

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

Hi guys how are you? I noticed that the site of the phases of the moon has problems on the website of the current phase of the moon in the day ..... let me know ? thank you


Nothing happens by chance

Offline

#25 2015-10-12 11:57:47

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

fvirgola80 wrote:

Hi guys how are you? I noticed that the site of the phases of the moon has problems on the website of the current phase of the moon in the day ..... let me know ? thank you

Hi fvirgola80 - welcome to the Bunsenlabs Forums.

Yup, looks like the site is having problems...

2015_10_12_08_52_41_Scrot11.jpg
Bummer, Teo just sets up shop and gets comfortable and WHAM, moon goes down for the count.  I'm sure the site will get fixed.

Xing fingers


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#26 2015-10-12 13:17:12

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Thanks for the info fvirgola80

Quite unfortunate S11, we'll see.
If it persists, I'll just have to look some place else for a moon phase script.


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

#27 2015-10-12 13:52:10

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

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

thanks guys , I update you hopefully just a matter of the site ... otherwise we have to find another site ...


Nothing happens by chance

Offline

#28 2015-10-12 16:53:38

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

Just in case:

moonconnection.com

The moon phase calendar shows north/south hemispheres and dates selectable, not sure if ta script can grab it though:
   http://www.moonconnection.com/moon_phas … ndar.phtml
Current Moon Phase:
   http://www.moonconnection.com/current_moon_phase.phtml

calendar-365.com
   http://www.calendar-365.com/moon/curren … phase.html

They have a "calculate" page - between dates - so I checked:
   http://www.calendar-365.com/calculate/p … dates.html

Error: Computers can only deal with dates between 1970 to 2037. Please give a different date.

YEA! RIGHT!  End of WWII in Europe to same day in 2525!

 12 Oct 15 | 12:37:02 ~
    $ conkyDateDiff 19450507 25250507
580 yrs
 
 12 Oct 15 | 12:39:35 ~
    $ conkyDaysDiff 19450507 25250507
211841
 
 12 Oct 15 | 12:39:47 ~
    $ 

OK back on topic ...

Lunaf.com I think we mentioned this once before:
   http://lunaf.com/lunar-calendar/

One of my favorite sites for many things: die.net
   http://www.die.net/moon/

moonpage.com
   http://www.moonpage.com/index.html

en.tutiempo.net - basic but has N/S hemispheres
   http://en.tutiempo.net/moon/phases-october-2015.htm?h=s

WoW Look at this moon calculator!
   http://www.mooncalc.org/#/-34.5649,-58. … 12/13:36/1
OK, that's me, well close enough.

Teo's house! OK, not Teo's but it is a house in Kastoria Greece - closer than London England that's for sure.
   http://www.mooncalc.org/#/40.5189,21.26 … 12/13:36/1

EDIT:  one last one: Time and Date dot com - Buenos Aires - I've had this bookmarked for years, another favourite site.
http://www.timeanddate.com/moon/argentina/buenos-aires

or: Sun and Moon info
http://www.timeanddate.com/astronomy/ar … enos-aires
The images are "interesting" to say the least.

Just for something to do.

Last edited by Sector11 (2015-10-12 16:58:21)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#29 2015-10-12 17:19:08

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

HUSTON: I think we may have this wrong:  0% illumination - new moon - no image maybe?


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#30 2015-10-12 17:25:27

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

The problem is that the page where the script takes its info from
http://www.moongiant.com/phase/today/
is empty.

Brilliant collection of moon phase pages by the way S11. We'll see...

Last edited by TeoBigusGeekus (2015-10-12 18:05:25)


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

#31 2015-10-12 19:53:40

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

I was on my way out when it struck me ... "and I posted an image" the page is blank  DUH!!!!

IF it has to be done over, I hope you check out that last link: Time and Date dot com

Astronomy
- Sun/Moon Rise/Set Times, for 7 days and other info


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#32 2015-10-12 21:18:22

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

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

Sector11 wrote:

IF it has to be done over, I hope you check out that last link: Time and Date dot com

I hope that won't be the case.
Patience...


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

#33 2015-10-12 22:02:55

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

OH I hope it won't either, I kinda like the moon script as is.

With 1b2 and the moon script I have:

  • Sun rise|set times

  • Current Moon (MIA today) (hemisphere specific)

  • % illumination

  • Moon rise|set

  • Moon Age

  • Moon Angle, and

  • Distance from earth.

all in one conky


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#34 2015-10-13 15:39:10

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

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

»»»»» This is for conky v1.90 «««««

Hi conky-team !
My first post here to continue the #! conky weather discussion.
Thank you Teo for the "sed" advice command to have "days" short displayed.
Here you are
conky_aw:

###  Begin Window Settings  ##################################################
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override #override
own_window_transparent yes
own_window_hints below,sticky,skip_taskbar,skip_pager
own_window_argb_visual no
#own_window_colour black
own_window_class Forecast Conky
own_window_title Forecast by MrP

# 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

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### 'own_window_type override'
own_window_argb_visual no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 0

minimum_size 300 200     ## width, height
maximum_width 300    ## width, usually a good idea to equal minimum width

gap_x 67        ### left &right
gap_y 260        ### up & down

alignment tr
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
# xftfont Anonymous Pro:bold:size=9
# xftfont Unispace:size=8
# xftfont Onuava:size=8
#xftfont Inconsolata:bold:size=10
# xftfont Andale Mono:bold:size=9
xftfont Anonymous-Pro:size=7


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

draw_shades no
default_shade_color black

draw_outline no # amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color grey
default_outline_color black

default_color DCDCDC #220 220 220	Gainsboro
#color0 C0C0C0 #192 192 192 Silver
color0 A9A9A9 #169 169 169 DarkGray
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 1874CD #DodgerBlue3
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
#color9 CD5C5C #IndianRed
color9 FFA07A #LightSalmon
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 10
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
#####################################################  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


# The all important - How often conky refreshes.
# ${goto 50}${font Arial:size=10}TONIGHT$color$font${image $HOME/1b1_accuweather_images/ton.png -p 190,20 -s 80x52}
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 1
top_name_width 7

TEXT
${image ~/1b1_accuweather_images/weabg.png -s 240x155 -p 0,0 -n}\
${texeci 1500 bash ~/1b1_accuweather_images/1b1}\
${image ~/1b1_accuweather_images/cc.png -p 10,23 -s 80x52}
${voffset 25}${goto 95}${color8}± ${execi 600 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond}°${color} PRE: ${execi 600 sed -n '34p' $HOME/1b1_accuweather_images/curr_cond}
${color9}${goto 95}${font }${execi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°${color} ${color8}${font Arrows:pixelsize=13}c${font }${execi 600 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond}\
 ${voffset -2}${color4}${font Arrows:pixelsize=13}d${font }${execi 600 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond}${color}
${goto 95}Wnd ${execi 600 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond} @ ${execi 600 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond}\
${goto 40}${voffset 20}${color5}${execi 600 sed -n '5p' $HOME/1b1_accuweather_images/first_days | cut -c1-3}\
${goto 80}${execi 600 sed -n '10p' $HOME/1b1_accuweather_images/first_days | cut -c1-3}\
${goto 122}${execi 600 sed -n '15p' $HOME/1b1_accuweather_images/first_days | cut -c1-3}\
${goto 162}${execi 600 sed -n '20p' $HOME/1b1_accuweather_images/first_days | cut -c1-3}\
${goto 202}${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/last_days | cut -c1-3}\
${goto 43}${voffset 44}${color9}${execi 600 sed -n '4p' $HOME/1b1_accuweather_images/last_days}°${color}
${goto 43}${color7}${execi 600 sed -n '5p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 83}${voffset -10}${color9}${execi 600 sed -n '8p' $HOME/1b1_accuweather_images/first_days}°${color}
${goto 83}${color7}${execi 600 sed -n '9p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 123}${voffset -10}${color9}${execi 600 sed -n '13p' $HOME/1b1_accuweather_images/first_days}°${color}
${goto 123}${color7}${execi 600 sed -n '14p' $HOME/1b1_accuweather_images/first_days}°${color}\
${goto 163}${voffset -10}${color9}${execi 600 sed -n '9p' $HOME/1b1_accuweather_images/first_days}°${color}
${goto 163}${color7}${execi 600 sed -n '10p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 203}${voffset -10}${color9}${execi 600 sed -n '18p' $HOME/1b1_accuweather_images/first_days}°${color}
${goto 203}${color7}${execi 600 sed -n '19p' $HOME/1b1_accuweather_images/first_days}°${color}\
${image $HOME/1b1_accuweather_images/6.png -p 15,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/11.png -p 55,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/16.png -p 95,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/21.png -p 135,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/last_2.png -p 175,88 -s 50x30}\

You'll need arrows font or using another
the imagemagick .png:
1444750685.png-->1444750854.png

Last edited by ragamatrix (2015-10-13 15:42:01)

Offline

#35 2015-10-13 17:11:44

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

@ragamatrix

saved the image as: ragamatrix_weather.png.  That looks like a really nice little weather station!

I have a font called arrows but it is different - it points to the major compass points - one of the early conkyForecast fonts. Only does the letters a to p.
2015_10_13_14_10_00_Scrot11.jpg
Must play with this.  Thank you!

@Teo → moon script is working today.  OOPS! has been corrected: 2015_10_13_14_12_47_Scrot11.png


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#36 2015-10-13 17:52:06

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

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

@Sector11, you're welcome, sharing pleasure.
I don't understand your font problem ?
1444758586.png

Offline

#37 2015-10-13 18:52:01

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

»»»»» This is for conky v1.90 «««««

No not a problem at all, just s different font by the same name.  I ended up using:

${goto 95}${color8}${font VariShapes Solid:pixelsize=10}q${goto 160}${color1}Q${font}\
${goto 105}${color8}${execi 600 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond}${color}\
${goto 170}${color1}${execi 600 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond}${color}\

Looks nice but not the " V " shaped arrows you have.
Made a  transparent copy of the image.
Changed the wind and sun info lines.

That's another ragamatrix conky for my archive - I have a 'few' of yours. wink
2015_10_13_15_43_18_Scrot11.png


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#38 2015-10-13 19:04:37

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

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

Cleaned by Sector11 now it's perfect, you're an expert with details and I really like it ! That's how we progress...  cool

Offline

#39 2015-10-13 20:36:14

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,947

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

»»»»» This is for conky v1.90 «««««

Teo's Accuweather scripts updated - 29 Oct 2015
This Conky Updated on 30 Oct 2015

^  I cleaned it up a bit more than that as well.

  • allowed for three characters for temps ie: 100° - for F or -10° (see the ñ in the right image)

  • spaced the PRE: with a ${goto} so it doesn't move between 9° 10° or -15°

  • spaced Wnd and @ with ${goto}'s as well so they are always at the same spot.

  • along with a few other tweaks - just because ... details.  big_smile

2015_10_13_17_01_04_Scrot11.png

# pkill -xf "conky -q -c /media/5/Conky/ragamatrix_weather.conky" &
# Updated: Fri 30 Oct 2015

### 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_argb_visual no
own_window_colour 000000
own_window_class Conky
own_window_title Forecast by ragamatrix

# 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

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### 'own_window_type normal '
#own_window_argb_visual no

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#own_window_argb_value 0

minimum_size 230 145     ## width, height
maximum_width 230    ## width, usually a good idea to equal minimum width

gap_x 00  # l|r
gap_y 50  # u|d

alignment tm
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
# xftfont Anonymous Pro:bold:size=9
# xftfont Unispace:size=8
# xftfont Onuava:size=8
#xftfont Inconsolata:bold:size=10
# xftfont Andale Mono:bold:size=9
xftfont monofur:size=9


# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 0
# Force UTF8? requires XFT ###
override_utf8_locale yes
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_color DCDCDC #220 220 220	Gainsboro
color0 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 1874CD #DodgerBlue3
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 FFA07A #LightSalmon

draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 10
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# 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

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

update_interval 1
#TEXT
#${texeci 1500 bash ~/1b1_accuweather_images/1b1}\

TEXT
${image /media/5/Conky/images/ragamatrix_weather_t.png -p 6,5 -n}
${image ~/1b1_accuweather_images/cc.png -p 10,23 -s 80x52}
${goto 95}${color8}± ${execi 600 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond}°${color}\
${goto 137}PRE: ${execi 600 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond}
${goto 95}${color9}${execi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°${color}\
${goto 125}Wnd ${execi 600 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond}\
${goto 173}@${execi 600 sed -n '38p' $HOME/1b1_accuweather_images/curr_cond}
${goto 95}${color8}${font VariShapes Solid:pixelsize=10}q${goto 160}${color1}Q${font}\
${goto 105}${color8}${execi 600 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond}${color}\
${goto 170}${color1}${execi 600 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond}${color}\
${voffset 18}${goto 40}${color5}${execi 600 sed -n '5p' $HOME/1b1_accuweather_images/first_days|cut -c-3}\
${goto 80}${execi 600 sed -n '10p' $HOME/1b1_accuweather_images/first_days|cut -c-3}\
${goto 122}${execi 600 sed -n '15p' $HOME/1b1_accuweather_images/first_days|cut -c-3}\
${goto 162}${execi 600 sed -n '20p' $HOME/1b1_accuweather_images/first_days|cut -c-3}\
${goto 202}${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/last_days|cut -c-3}\
${image $HOME/1b1_accuweather_images/6.png -p 15,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/11.png -p 55,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/16.png -p 95,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/21.png -p 135,88 -s 50x30}\
${image $HOME/1b1_accuweather_images/last_2.png -p 175,88 -s 50x30}
${voffset 33}${goto 43}${color9}${execi 600 sed -n '4p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 83}${color9}${execi 600 sed -n '8p' $HOME/1b1_accuweather_images/first_days}°${color}\
${goto 123}${color9}${execi 600 sed -n '13p' $HOME/1b1_accuweather_images/first_days}°${color}\
${goto 163}${color9}${execi 600 sed -n '9p' $HOME/1b1_accuweather_images/first_days}°${color}\
${goto 203}${color9}${execi 600 sed -n '18p' $HOME/1b1_accuweather_images/first_days}°${color}
${voffset -3}${goto 43}${color7}${execi 600 sed -n '5p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 83}${color7}${execi 600 sed -n '9p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 123}${color7}${execi 600 sed -n '14p' $HOME/1b1_accuweather_images/first_days}°${color}\
${goto 163}${color7}${execi 600 sed -n '10p' $HOME/1b1_accuweather_images/last_days}°${color}\
${goto 203}${color7}${execi 600 sed -n '19p' $HOME/1b1_accuweather_images/first_days}°${color}${voffset 3}

On a colourful bird: 2015_10_13_17_33_11_Scrot11.png

Last edited by Sector11 (2015-10-30 11:34:46)


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.
_______________________________
Debian 10 Buster

Offline

#40 2015-10-13 22:52:25

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 1,046
Website

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

WOW, that's awesome little fancy  weather output, i have stoped using conky full or conky-all for conky-cli

I would have used one of these recently weather conky.

Congrat ragamatrix, also S11 for his awesome tweaks.


Devuan/XFCE

Offline

Board footer

Powered by FluxBB