You are not logged in.

#1626 2017-06-12 08:13:20

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

Since the last autumn's update, when Accuweather changed their page's layout, all the Accuweather scripts (expect from the RSS one) have been merged into one, namely the 1)Accuweather.
That's the tarball you'd like to download.
Follow the instructions inside the README folder and you should be fine.
Post here if you're not.

Last edited by TeoBigusGeekus (2017-06-12 17:16:57)


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

#1627 2017-06-12 08:31:04

chairman67
Member
From: West Coast, Australia
Registered: 2017-06-12
Posts: 18

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

Thanks Teo,

The only part I don't fully understand is where/how to input the -f2015 argument for 1_accuweather. Whereabouts do I put that? I changed the location address to my location accordingly so that's fine.

20 years on Windows & just 2 weeks on Linux, I need my hand held for just a bit. Sorry!

Many thanks.

Offline

#1628 2017-06-12 08:54:48

ector1935
Member
Registered: 2017-05-03
Posts: 162

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

hi,
I do not know if I understood well, but I think you just have to open a conky, to understand, if you open: .conkyrc1_image_2016, find the following line:

${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}

I hope I was helpful.

Offline

#1629 2017-06-12 08:58:12

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

It depends on what conkyrc you're using.
If you want to use one of the conkyrcs provided in the tarball, then you don't have to change anything; the command is already there.
Look at .conkyrc_1_images_2015 for example:

...
conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2015}
...

The texeci command executes the script every 500 seconds with the parameter -f2015 and it's everything this particular configuration needs.

On the other hand, if you wanted to create your own personal conkyrc, you'd have to change the parameter according to your liking.


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

#1630 2017-06-12 18:06:55

chairman67
Member
From: West Coast, Australia
Registered: 2017-06-12
Posts: 18

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

Ector1935 & Teo, thank you both, that is well explained. So, everything should work as expected, but for some reason the Conky doesn't display on my desktop.

I created a fresh .conkyrc in my home folder copied from the .conkyrc_1_images_2016 file. When I run conky command from the terminal everything appears to work as it should. The forecast_2016 folder gets populated with 11 weather .png images & 1 wind direction image. Within the 1_accuweather folder 6 document files get created, namely the curr_cond, first_days, last_days and their raw counterparts. But for some reason the conky doesn't appear on the desktop. Other conky scripts I use get displayed on the desktop just fine.

I also tried running the same conky in a VM and I get the same result, the conky appears to be running but it doesn't display on the desktop.

Below is a copy of the terminal output I get. The conky is still producing update outputs in the terminal every 8-9 minutes so it appears to be running just fine.

I am using Linux Mint Cinnamon v18.1_x64. I'd very much appreciate any suggestions & help to try resolve this issue. Many thanks.

user@user-HPLaptop ~ $ conky
conky: desktop window (1600022) is subwindow of root window (39c)
conky: window type - override
conky: drawing to created window (0x3000001)
conky: drawing to double buffer

[1]+  Stopped                 conky
user@user-HPLaptop ~ $ --2017-06-13 01:06:26--  http://www.accuweather.com/en/au/geelong/15892/current-weather/15892
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108042 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/curr_cond_raw’

/home/user/1_accuweath 100%[===============================>] 105.51K  --.-KB/s    in 0.06s   

2017-06-13 01:06:27 (1.69 MB/s) - ‘/home/user/1_accuweather/curr_cond_raw’ saved [108042/108042]

--2017-06-13 01:06:27--  http://www.accuweather.com/en/au/geelong/15892/daily-weather-forecast/15892
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108218 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/first_days_raw’

/home/user/1_accuweath 100%[===============================>] 105.68K  --.-KB/s    in 0.08s   

2017-06-13 01:06:27 (1.24 MB/s) - ‘/home/user/1_accuweather/first_days_raw’ saved [108218/108218]

--2017-06-13 01:06:27--  http://www.accuweather.com/en/au/geelong/15892/daily-weather-forecast/15892?day=6
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108217 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/last_days_raw’

/home/user/1_accuweath 100%[===============================>] 105.68K  --.-KB/s    in 0.08s   

2017-06-13 01:06:28 (1.23 MB/s) - ‘/home/user/1_accuweather/last_days_raw’ saved [108217/108217]

--2017-06-13 01:14:50--  http://www.accuweather.com/en/au/geelong/15892/current-weather/15892
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108016 (105K) [text/html]
Saving to: ‘/home/user/1_accuweather/curr_cond_raw’

/home/user/1_accuweather/curr 100%[=======================================================>] 105.48K  --.-KB/s    in 0.1s    

2017-06-13 01:14:51 (978 KB/s) - ‘/home/user/1_accuweather/curr_cond_raw’ saved [108016/108016]

--2017-06-13 01:14:51--  http://www.accuweather.com/en/au/geelong/15892/daily-weather-forecast/15892
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108209 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/first_days_raw’

/home/user/1_accuweather/firs 100%[=======================================================>] 105.67K  --.-KB/s    in 0.08s   

2017-06-13 01:14:52 (1.23 MB/s) - ‘/home/user/1_accuweather/first_days_raw’ saved [108209/108209]

--2017-06-13 01:14:52--  http://www.accuweather.com/en/au/geelong/15892/daily-weather-forecast/15892?day=6
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108208 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/last_days_raw’

/home/user/1_accuweather/last 100%[=======================================================>] 105.67K  --.-KB/s    in 0.08s   

2017-06-13 01:14:53 (1.22 MB/s) - ‘/home/user/1_accuweather/last_days_raw’ saved [108208/108208]

--2017-06-13 01:23:11--  http://www.accuweather.com/en/au/geelong/15892/current-weather/15892
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108015 (105K) [text/html]
Saving to: ‘/home/user/1_accuweather/curr_cond_raw’

/home/user/1_accuweather/curr 100%[=======================================================>] 105.48K  --.-KB/s    in 0.07s   

2017-06-13 01:23:11 (1.53 MB/s) - ‘/home/user/1_accuweather/curr_cond_raw’ saved [108015/108015]

--2017-06-13 01:23:12--  http://www.accuweather.com/en/au/geelong/15892/daily-weather-forecast/15892
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108208 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/first_days_raw’

/home/user/1_accuweather/firs 100%[=======================================================>] 105.67K  --.-KB/s    in 0.08s   

2017-06-13 01:23:13 (1.27 MB/s) - ‘/home/user/1_accuweather/first_days_raw’ saved [108208/108208]

--2017-06-13 01:23:13--  http://www.accuweather.com/en/au/geelong/15892/daily-weather-forecast/15892?day=6
Resolving www.accuweather.com (www.accuweather.com)... 23.42.189.62
Connecting to www.accuweather.com (www.accuweather.com)|23.42.189.62|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 108207 (106K) [text/html]
Saving to: ‘/home/user/1_accuweather/last_days_raw’

/home/user/1_accuweather/last 100%[=======================================================>] 105.67K  --.-KB/s    in 0.06s   

2017-06-13 01:23:14 (1.68 MB/s) - ‘/home/user/1_accuweather/last_days_raw’ saved [108207/108207]

Offline

#1631 2017-06-12 18:12:09

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

Can you post your full conkyrc?


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

#1632 2017-06-12 18:17:00

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,635

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

Could you please post your ~/.conkyrc as is.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Online

#1633 2017-06-12 18:17:54

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

Great minds think alike 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

#1634 2017-06-12 18:26:22

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,635

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

I swear I did not see your post.  but one of my 3 neurons is twinging ... that must be the one that crossed paths  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Online

#1635 2017-06-12 18:29:19

chairman67
Member
From: West Coast, Australia
Registered: 2017-06-12
Posts: 18

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

Thank you guys. Here it is.
Some tweaking needed for Mint Cinnamon_v18.1?

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,

-- fiddle with window
	use_spacer = 'right',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 360, minimum_height = 500,
	maximum_width = 360,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_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 = true,

-- Text alignment, other possible values are commented
--alignment top_left
	alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right

-- Gap between borders of screen and text
	gap_x = 10,
	gap_y = 30,

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen

};

conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}
${image $HOME/1_accuweather/forecast_2016/forecast_0.png -p 0,50 -s 170x170}
${font Arial:size=10}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond}${font}${goto 200}${color ffe595}TEMPERATURE: $color${alignr}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)
${goto 200}${color ffe595}WIND SPEED: $color${alignr}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}HUMIDITY: $color${alignr}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond} 
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CEILING: $color${alignr}${execpi 600 sed -n '11p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°
${goto 200}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN R/S: $color${alignr}${execpi 600 sed -n '14p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '15p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN DUR: $color${alignr}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON R/S: $color${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '19p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON DUR: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color$font${image $HOME/1_accuweather/forecast_2016/forecast_1.png -p 0,245 -s 80x80}${image $HOME/1_accuweather/forecast_2016/forecast_2.png -p 110,245 -s 80x80}${image $HOME/1_accuweather/forecast_2016/forecast_3.png -p 230,245 -s 80x80}

${goto 100}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 100}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°



${font Arial:size=8}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-20}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color$font${image $HOME/1_accuweather/forecast_2016/forecast_4.png -p 0,385 -s 80x80}${image $HOME/1_accuweather/forecast_2016/forecast_5.png -p 110,385 -s 80x80}${image $HOME/1_accuweather/forecast_2016/forecast_6.png -p 230,385 -s 80x80}

${goto 100}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°



${font Arial:size=8}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 145}${execpi 600 sed -n '11p' $HOME/1_accuweather/last_days}${goto 270}${execpi 600 sed -n '16p' $HOME/1_accuweather/last_days}$color$font${image $HOME/1_accuweather/forecast_2016/forecast_7.png -p 0,525 -s 80x80}${image $HOME/1_accuweather/forecast_2016/forecast_8.png -p 110,525 -s 80x80}${image $HOME/1_accuweather/forecast_2016/forecast_9.png -p 230,525 -s 80x80}

${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 210}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 330}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 210}/${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 330}/${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°



${font Arial:size=8}${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c21-40}$font





]];

Offline

#1636 2017-06-12 18:30:02

unklar
Member
Registered: 2015-10-31
Posts: 947

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

chairman67 wrote:
conky: window type - override

change them in

own_window_type = 'normal',

  wink

Last edited by unklar (2017-06-12 18:32:46)

Offline

#1637 2017-06-12 18:35:49

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

Run a

killall -9 conky

and run it 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

#1638 2017-06-12 18:38:14

chairman67
Member
From: West Coast, Australia
Registered: 2017-06-12
Posts: 18

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

Unklar, that did the trick! Thanks mate. This conky looks fantastic.. I absolutely love it. Thanks Teo for this masterful work.

Best regards to all.

Offline

#1639 2017-06-12 18:40:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

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

TeoBigusGeekus wrote:
killall -9 conky

SIGKILL shouldn't be needed (ever).

This should reload the configuration:

pkill -usr1 conky

It even respects a good, old-fashioned SIGHUP:

pkill -hup conky

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#1640 2017-06-12 18:46:55

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

Yeah, I know, thanks Head_on_a_stick

He could also do a

killall -HUP conky

but I just wanted to be sure that no other conky was running on his system.

chairman67 wrote:

Unklar, that did the trick! Thanks mate. This conky looks fantastic.. I absolutely love it. Thanks Teo for this masterful work.

Best regards to all.

Thanks a lot buddy.


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

#1641 2017-06-12 23:26:17

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,635

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

Start a conky with

conky -c /media/5/Conky/test.conky &

and no matter how many conkys you are running, this will kill just that one conky:

pkill -xf "conky -c /media/5/Conky/test.conky" &

Thanks to the Grouch!


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Online

#1642 2017-06-12 23:38:19

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,635

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

@ chairman67

Two weeks into Linux and you already have a weather conky!  That's a sign of conky addiction, we'll have you in the One Step Program before you know it.

In a terminal check out

man conky

'man' is your friendly manual for 99% of the programs you have installed.

And here's why unklar's use "normal" just works:

       own_window_hints undecorated,below,above,sticky,skip_taskbar,skip_pager
              If  own_window is yes, you may use these window manager hints to affect the way Conky displays.
              Notes: Use own_window_type desktop as another way to implement many of these hints  implicitly.
              If you use own_window_type override, window manager hints have no meaning and are ignored.

That last line: If you use own_window_type override, window manager hints have no meaning and are ignored.
Did I say welcome to the forums?  Come back anytime.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Online

#1643 2017-06-13 15:41:07

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

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

Hello guys,
I made a "clone" of the conkyHTC accuweather with wundeground's forecasts, I have a bit problems with refreshing weather script for accuweather and for wundergroun, but at this moment it seems to be ok...
conky-wun.th.png
conky-wu-htc-v-10-hours:

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'desktop',
	own_window_transparent = true,
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager,sticky',

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,
	text_buffer_size = 1024,
-- fiddle with window
	use_spacer = 'none',
	use_xft = true,

-- Update interval in seconds
	update_interval = 1,

-- Minimum size of text area
	minimum_width = 235, minimum_height = 320,
	maximum_width = 235,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Liberation Mono:bold:size=9',
	uppercase = false,-- 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',
	color1  = '#505454', 
	own_window_colour = 'brown',
	own_window_transparent = true,

-- Text alignment, other possible values are commented
--alignment top_right
--alignment top_left
alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right

-- Gap between borders of screen and text
	gap_x = 50,
	gap_y = 50,

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen
--
};

conky.text = [[
${voffset -15}${execpi 420 bash $HOME/2_Wunderground_API/2_wun}\
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,30 -s 260x145}\
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,168 -s 260x70}
${image $HOME/2_Wunderground_API/HTCimages/flip_bg.png -p 18,9 -s 100x110}\
${image $HOME/2_Wunderground_API/HTCimages/flip_bg.png -p 118,9 -s 100x110}\
${image $HOME/2_Wunderground_API/Now.png -p 55,98 -s 125x75}
${image $HOME/2_Wunderground_API/HTCimages/base.png -p -12,250 -s 260x70}
${font LED_Mono:size=60}${color1}${goto 24}${time %H}${goto 124}${time %M}${font}
 ${goto 28}${execpi 600  sed -n '67p' $HOME/2_Wunderground_API/Conditions}°\
${goto 130}${time %a %e %b}${color}
${goto 4}Wind ${execpi 600  sed -n '73p' $HOME/2_Wunderground_API/Conditions}\
${alignr 17}${execpi 600  sed -n '63p' $HOME/2_Wunderground_API/Conditions|cut -c-13}
${goto 4}${execpi 600  sed -n '74p' $HOME/2_Wunderground_API/Hourly} km/h\
${alignr 17}${execpi 600  sed -n '69p' $HOME/2_Wunderground_API/Conditions} Hum
${goto 4}UVI ${execpi 600  sed -n '121p' $HOME/2_Wunderground_API/Conditions}\
${alignr 17}${execpi 600  sed -n '57p' $HOME/2_Wunderground_API/Simple_Forecast}mm Prec
${goto 4}${execpi 600  sed -n '85p' $HOME/2_Wunderground_API/Conditions}mb\
${alignr 17}${execpi 600  sed -n '117p' $HOME/2_Wunderground_API/Conditions} Vis${color}

${goto 12}${execpi 600 echo `date --date "2 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execpi 600 echo `date --date "4 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execpi 600 echo `date --date "6 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execpi 600 echo `date --date "8 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execpi 600 echo `date --date "10 hour" +%H:%M|sed -e 's/\(.\{1\}\)/\U\1/'`}
${color8}${goto 6}${execpi 600  sed -n '172p' $HOME/2_Wunderground_API/Hourly}°\
${goto 52}${execpi 600  sed -n '406p' $HOME/2_Wunderground_API/Hourly}°\
${goto 99}${execpi 600  sed -n '640p' $HOME/2_Wunderground_API/Hourly}°\
${goto 144}${execpi 600  sed -n '879p' $HOME/2_Wunderground_API/Hourly}°\
${goto 190}${execpi 600  sed -n '1113p' $HOME/2_Wunderground_API/Hourly}°
${image $HOME/2_Wunderground_API/h2.png -p 5,195 -s 50x30}
${image $HOME/2_Wunderground_API/h4.png -p 51,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h6.png -p 97,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h8.png -p 143,195 -s 50x30}\
${image $HOME/2_Wunderground_API/h10.png -p 188,195 -s 50x30}${color}

${voffset 15}${goto 12}${execpi 600 echo `date --date "1 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 58}${execpi 600 echo `date --date "2 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 105}${execpi 600 echo `date --date "3 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 150}${execpi 600 echo `date --date "4 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\
${goto 196}${execpi 600 echo `date --date "5 day" +%a|sed -e 's/\(.\{1\}\)/\U\1/'`}\

${color8}${goto 6}${execpi 600  sed -n '145p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 52}${execpi 600  sed -n '251p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 99}${execpi 600  sed -n '357p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 144}${execpi 600  sed -n '463p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 190}${execpi 600  sed -n '569p' $HOME/2_Wunderground_API/Simple_Forecast}°
${image $HOME/2_Wunderground_API/d2.png -p 5,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d3.png -p 51,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d4.png -p 97,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d5.png -p 143,273 -s 50x30}\
${image $HOME/2_Wunderground_API/d6.png -p 188,273 -s 50x30}
${voffset -10}${color3}${goto 6}    ${execpi 600  sed -n '150p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 52}    ${execpi 600  sed -n '256p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 99}    ${execpi 600  sed -n '362p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 144}   ${execpi 600  sed -n '468p' $HOME/2_Wunderground_API/Simple_Forecast}°\
${goto 190}   ${execpi 600  sed -n '574p' $HOME/2_Wunderground_API/Simple_Forecast}°${color}${voffset 10}
]];

Offline

#1644 2017-06-13 17:07:59

chepioq
Member
Registered: 2015-11-29
Posts: 69

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

ragamatrix wrote:

Hello guys,
I made a "clone" of the conkyHTC accuweather with wundeground's forecasts, I have a bit problems with refreshing weather script for accuweather and for wundergroun, but at this moment it seems to be ok...

What is the problem ?

Offline

#1645 2017-06-13 18:52:24

ector1935
Member
Registered: 2017-05-03
Posts: 162

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

@ragamatrix,add this in conky

for weather
${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2016}
for moon
${texeci 500 bash $HOME/4_Moon/moon_MoonGiant}

Offline

#1646 2017-06-13 18:59:14

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

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

hi chepioq wink
the problem was with "execi 600"; stopped the update with a bug and wasn't displayed correctly. The time didn't change anymore the conky was still displayed on screen, and I couldn't kill it.
I've changed with "execpi 600" added "text_buffer_size = 1024," and now it works like a charm and update nicely since 17:26 ...

Offline

#1647 2017-06-13 21:36:39

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,148

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

(HTC fanboy here) Great job ragamatrix!


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

#1648 2017-06-14 00:42:24

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,635

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

ragamatrix wrote:

hi chepioq wink
the problem was with "execi 600"; stopped the update with a bug and wasn't displayed correctly

Love it!  I call them Flip Clocks, no idea what HTC means.

I think the problem is you were "parsing" the "date" command by "echoing" it since it's working with the 'parse' (p) command.  Now I may be wrong here as well, but I think an ${execi} command would use less resources since there is no parsing needed.

Also, ${execpi ...} is "parsed and evaluated" at every update interval (update_interval) but conky only changes the 'displayed output' according to the 'i' interval in ${execpi}

You can make it much easier by just calling "date" with ${execi xx date ...}, since it is a bash command, and using 'cut' to get the info you want:

Example - using ${execi ...} you can also do minutes

${time %H:%M}  + 1 hour  ${execi 600  date --date "1 hour" +%H:%M} | \
+ 1 day  = ${execi 600  date --date "1 day" | cut -c -3} | \
+ 1 month  = ${execi 600  date --date "1 month" | cut -c 5-7} | \
+ 1 year  = ${execi 600  date --date "1 year" | cut -c 25-}
${time %H:%M}  + 2 hours ${execi 600  date --date "2 hour" +%H:%M} | \
+ 2 days = ${execi 600  date --date "2 day" | cut -c -3} | \
+ 2 months = ${execi 600  date --date "2 month" | cut -c 5-7} | \
+ 2 years = ${execi 600  date --date "2 year" | cut -c 25-}
${time %H:%M}  + 3 hours ${execi 600  date --date "3 hour" +%H:%M} | \
+ 3 days = ${execi 600  date --date "3 day" | cut -c -3} | \
+ 3 months = ${execi 600  date --date "3 month" | cut -c 5-7} | \
+ 3 years = ${execi 600  date --date "3 year" | cut -c 25-}
${time %H:%M}  + 4 hours ${execi 600  date --date "4 hour" +%H:%M} | \
+ 4 days = ${execi 600  date --date "4 day" | cut -c -3} | \
+ 4 months = ${execi 600  date --date "4 month" | cut -c 5-7} | \
+ 4 years = ${execi 600  date --date "4 year" | cut -c 25-}
${time %H:%M}  + 5 hours ${execi 600  date --date "5 hour" +%H:%M} | \
+ 5 days = ${execi 600  date --date "5 day" | cut -c -3} | \
+ 5 months = ${execi 600  date --date "5 month" | cut -c 5-7} | \
+ 5 years = ${execi 600  date --date "5 year" | cut -c 25-}
${time %H:%M}  +10 hours ${execi 600  date --date "10 hour" +%H:%M} | \
+10 days = ${execi 600  date --date "10 day" | cut -c -3} | \
+10 months = ${execi 600  date --date "10 month" | cut -c 5-7} | \
+10 years = ${execi 600  date --date "10 year" | cut -c 25-}

2017-06-13_211412_Scrot11.jpg

(Just for fun) Does minutes too:

${time %T}
${time %H:%M}  +  1 min ${execi 600  date --date "1 minute" +%H:%M}
${time %H:%M}  +  2 min ${execi 600  date --date "2 minute" +%H:%M}
${time %H:%M}  +  5 min ${execi 600  date --date "5 minute" +%H:%M}
${time %H:%M}  + 10 min ${execi 600  date --date "10 minute" +%H:%M}
${time %H:%M}  + 20 min ${execi 600  date --date "20 minute" +%H:%M}
${time %H:%M}  +100 min ${execi 600  date --date "100 minute" +%H:%M}
${time %H:%M}  +238 min ${execi 600  date --date "238 minute" +%H:%M}

2017-06-13_213927_Scrot11.jpg


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Online

#1649 2017-06-14 06:59:35

chairman67
Member
From: West Coast, Australia
Registered: 2017-06-12
Posts: 18

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

G'day fellas,

I've been tweaking all the conkys in 1_accuweather to how I want them to look. The one that I am having most trouble with is reducing the height of .conkyrc_1_weatherfront. See the flickr image link below that shows what I wish to achieve. Changing the minimum height value doesn't affect. Could someone please show me how to reduce it's height to that shown on the image? conkyrc script posted below.

Thanks guys, much appreciated.

https://flic.kr/p/VHDYzA

VHDYzA

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
        own_window_argb_visual = true,
        own_window_argb_value = 180,
	own_window_colour = 'black',
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,

-- fiddle with window
	use_spacer = 'right',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 360, minimum_height = 500,
	maximum_width = 360,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = false,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_margin = 9,

-- border width
	border_width = 10,

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

-- Text alignment, other possible values are commented
--alignment top_left
	alignment = 'top_right',
--alignment bottom_left
--alignment bottom_right

-- Gap between borders of screen and text
	gap_x = 10,
	gap_y = 10,

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen

};

conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f}
${font Arial:size=10}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond}
${font conkyweather:size=130}${execi 600  sed -n '22p' $HOME/1_accuweather/curr_cond}${font}
${voffset -170}${font}${goto 200}${color ffe595}TEMPERATURE: $color${alignr}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)
${goto 200}${color ffe595}WIND SPEED: $color${alignr}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond} ${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}HUMIDITY: $color${alignr}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}PRESSURE: $color${alignr}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond} 
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}CEILING: $color${alignr}${execpi 600 sed -n '11p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°
${goto 200}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN R/S: $color${alignr}${execpi 600 sed -n '14p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '15p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}SUN DUR: $color${alignr}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON R/S: $color${alignr}${execpi 600 sed -n '18p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '19p' $HOME/1_accuweather/curr_cond}
${goto 200}${color ffe595}MOON DUR: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color$font
${font conkyweather:size=50}${execi 600  sed -n '26p' $HOME/1_accuweather/first_days}${goto 135}${execi 600  sed -n '27p' $HOME/1_accuweather/first_days}${goto 255}${execi 600  sed -n '28p' $HOME/1_accuweather/first_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 100}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°

${font Arial:size=8}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-20}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 145}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 270}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600  sed -n '29p' $HOME/1_accuweather/first_days}${goto 135}${execi 600  sed -n '30p' $HOME/1_accuweather/first_days}${goto 255}${execi 600  sed -n '26p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 210}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 330}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 210}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 330}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°

${font Arial:size=8}${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c1-20}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '20p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 135}${execpi 600 sed -n '25p' $HOME/1_accuweather/first_days|cut -c21-40}${goto 255}${execpi 600 sed -n '5p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
${goto 40}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}${goto 145}${execpi 600 sed -n '11p' $HOME/1_accuweather/last_days}${goto 270}${execpi 600 sed -n '16p' $HOME/1_accuweather/last_days}$color$font
${font conkyweather:size=50}${execi 600  sed -n '27p' $HOME/1_accuweather/last_days}${goto 135}${execi 600  sed -n '28p' $HOME/1_accuweather/last_days}${goto 255}${execi 600  sed -n '29p' $HOME/1_accuweather/last_days}${font}
${voffset -45}${goto 100}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°${goto 210}${execpi 600 sed -n '13p' $HOME/1_accuweather/last_days}°${goto 330}${execpi 600 sed -n '18p' $HOME/1_accuweather/last_days}°
${goto 100}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°${goto 210}/${execpi 600 sed -n '14p' $HOME/1_accuweather/last_days}°${goto 330}/${execpi 600 sed -n '19p' $HOME/1_accuweather/last_days}°

${font Arial:size=8}${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c1-20}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c1-20}
${execpi 600 sed -n '10p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 135}${execpi 600 sed -n '15p' $HOME/1_accuweather/last_days|cut -c21-40}${goto 255}${execpi 600 sed -n '20p' $HOME/1_accuweather/last_days|cut -c21-40}$font
${hr 1}
]];

Last edited by chairman67 (2017-06-14 07:03:53)

Offline

#1650 2017-06-14 07:56:56

unklar
Member
Registered: 2015-10-31
Posts: 947

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

^If the scale is right...
2017-06-14-09-39-29_scrot.th.png

please make a choiche

-- Minimum size of text area
	minimum_width = 300, minimum_height = 400,
	maximum_width = 300,

then log off or reboot.

Offline

Board footer

Powered by FluxBB