You are not logged in.

#841 2016-05-10 18:52:00

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

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

Sector11 wrote:
fvirgola80 wrote:

Hello Masters , I noticed in the The_Clock_2-fvirgola80.conky I activated the

background yes
imlib_cache_size 0 , 

Give me your advice if I'm wrong ...

If that works for you: Keep it, it's not wrong if it works.  smile

Ok Thank you, Master Yoda 

wink


Nothing happens by chance

Offline

#842 2016-05-12 15:17:39

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

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

Every day that passes I like this a little more: 2016_05_12_12_15_06_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#843 2016-05-12 15:53:35

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

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

I don't know S11, maybe because it's beautiful.


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

#844 2016-05-12 16:16:15

jalexander9
Member
Registered: 2015-11-08
Posts: 152

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

^ +1 and ^^ looks really nice!

Offline

#845 2016-05-12 18:00:24

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

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

Well, beautiful might be a bit strong, but really nice fits.  smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#846 2016-05-12 20:15:08

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

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

How about a tweak for people that don't have (want) LUA:
2016_05_12_17_08_16_Scrot11.jpg 2016_05_12_17_07_17_Scrot11.jpg
EDIT:  HEY!  I just noticed the time in the 'small' conky: 17:07:17   cool cool

Last edited by Sector11 (2016-05-12 23:38:59)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#847 2016-05-12 20:49:51

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

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

Really nice Yoda , .... I 've come up with an idea .... with font LED is gorgeous .... mo 'll get right to work ....
May the force be with me....

Master Yoda give me strength
Teacher Obi - Wan give me strength

cool


Nothing happens by chance

Offline

#848 2016-05-13 09:39:30

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

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

where I find the fots LED_mono ?
tongue


Nothing happens by chance

Offline

#849 2016-05-13 13:50:37

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

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

fvirgola80 wrote:

where I find the fots LED_mono ?
tongue

HEY!  I can't font find it on the web ... so I guess you'll have to get it from here:

/home/sector11/.fonts/LED_mono.ttf


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#850 2016-05-13 14:14:37

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:

How about a tweak for people that don't have (want) LUA

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

#851 2016-05-13 15:36:27

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

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

TeoBigusGeekus wrote:
Sector11 wrote:

How about a tweak for people that don't have (want) LUA

conkyrc?

OK.  It's been tweaked a tad so everything is in this post:

NOTE: Made for Conky v1.9

Requires:

  • 1b1) Accuweather - Images - 1b1_29-10-15 (or later)

  • 4) Moon phases' script - 4_2-6-15 (or later)

  • The font: LED_mono.ttf

Recommended:


2016_05_13_12_04_47_Scrot11.jpg «-- no LUA | beside the LUA version --» 2016_05_13_12_26_01_Scrot11.jpg

±10° = Feels Like | Actual Temp = 12°
  Moon and weather Image
↑14° = High  «   Today   »  Low = ↓11°

The_Clock_2-Teo.conky - so named to honour our Greek maestro who has no LUA.

# pkill -xf "conky -q -c /media/5/Conky/The_Clock_2-Teo.conky" &
# edited and working Thu 12 May 2016 23:06:10
## ---------- Begin Window Settings

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below #,sticky
own_window_colour 000000
own_window_class Conky
own_window_title The Clock 2
# ARGB can be used for real transparency
#  own_window_argb_visual yes ## Options: yes or no
# Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#  own_window_argb_value 70

minimum_size 200 200
maximum_width 200

gap_x 250	## l|r
gap_y 10	## u|d
alignment tr
## ---------- End Window Settings
## ---------- Font Settings
## Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont Fantasque Sans Mono:bold:size=11

## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0

## Force UTF8? requires XFT
override_utf8_locale yes

## --------- End Font Settings
## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color f5fffa ## MintCream
color1 778899 ## LightSlateGray
color2 FFA07A ## LightSalmon
color3 87CEFA ## LightSkyBlue
color4 48D1CC ## MediumTurquoise
color5 FFDEAD ## NavajoWhite
color6 00BFFF ## DeepSkyBlue
color7 B0E0E6 ## PowderBlue
color8 FFD700 ## Gold
color9 CD5C5C ## IndianRed
## ---------- End Color Settings
## ---------- Begin Borders Section
draw_borders no
## Stippled borders?
stippled_borders 5
## border margins
border_inner_margin 5
border_outer_margin 0
## border width
border_width 2
## graph borders
draw_graph_borders yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton
## ---------- Begin Miscellaneous Section
## Boolean value, if true, Conky will be forked to background when started.
background no ## 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 slystem) buffers from used memory?
no_buffers yes

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

update_interval 1

#${execi 900 bash /media/5/Conky/1b1_accuweather_images/1b1}\
#${execi 900 bash /media/5/Conky/4_Moon/moon}\
TEXT
${execi 900 bash /media/5/Conky/1b1_accuweather_images/1b1}\
${execi 900 bash /media/5/Conky/4_Moon/moon}\
${image /media/5/Conky/images/bk_40.png -p -5,-5 -s 220x400}\
${image /media/5/Conky/4_Moon/0.png -p 8,45}\
${image /media/5/Conky/1b1_accuweather_images/cc.png -p 7,80 -s 200x120}\
${alignc}${time %a %d %b %Y}
${alignc}${if_match ${time %H}<12}Good Morning${else}\
${if_match ${time %H}<18}Good Afternoon${else}Good Evening${endif}${endif}
${font monofur:bold:size=16}${color8}±${execpi 600 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond}°\
${alignr}${color}${execpi 600 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${font}








${font LED_mono:size=30}${goto 30}${color1}88:88:88${goto 30}${color5}${time %T}${color}${font}
${font monofur:bold:size=16}${color9}↑${execpi 600 sed -n '26p' /media/5/Conky/1b1_accuweather_images/first_days}°\
${alignr}${color6}↓${execpi 600 sed -n '31p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}${font}
${alignc}${execpi 600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond}
UVI ${execpi 600 sed -n '34p' /media/5/Conky/1b1_accuweather_images/curr_cond} /11\
${alignr}Hum ${execpi 600 sed -n '32p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${color5}${alignc}Buenos Aires Sun
Rise${color7} ${execpi 600 sed -n '39p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${alignr}${color5}Set ${color7}${execpi 600 sed -n '40p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}
${color5}${alignc}The Southern Moon
Rise${color7} ${execpi 600 sed -n '41p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}\
${alignr}${color5}Set ${color7}${execpi 600 sed -n '42p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}
${alignc}${execpi 600 sed -n '7p' /media/5/Conky/4_Moon/raw}
${alignc}${execpi 600 sed -n '1p' /media/5/Conky/4_Moon/raw} visible @ ${execi 600 sed -n '6p' /media/5/Conky/4_Moon/raw}°
${alignc}and ${execi 600 sed -n '5p' /media/5/Conky/4_Moon/raw} day(s) old${font}

In my humble opinion, just as nice as it's LUA counterpart.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#852 2016-05-13 15:50:30

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

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

UNTESTED UNTESTED Conky v1.10 format UNTESTED UNTESTED

If anyone tries this - let me know if it works.
NOTE: Conky v1.10 format

Requirments & Recommends same as the conky v1.9 version.

The_Clock_2-Teo.conky
Grab the font and background images from previous post.

conky.config = {
-- pkill -xf "conky -q -c /media/5/Conky/The_Clock_2-Teo.conky" &
-- edited and working Thu 12 May 2016 23:06:10
--# ---------- Begin Window Settings

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'skip_taskbar,skip_pager,undecorated,below',--,sticky
	own_window_colour = '#000000',
	own_window_class = 'Conky',
	own_window_title = 'The Clock 2',
-- ARGB can be used for real transparency
--  own_window_argb_visual yes ## Options: yes or no
-- Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--  own_window_argb_value 70

	minimum_width = 200, minimum_height = 200,
	maximum_width = 200,

	gap_x = 250,--# l|r
	gap_y = 10,--# u|d
	alignment = 'top_right',
--# ---------- End Window Settings
--# ---------- Font Settings
--# Use Xft (anti-aliased font and stuff)
	use_xft = true,
	font = 'Fantasque Sans Mono:bold:size=11',

--# Alpha of Xft font. Must be a value at or between 1 and 0
	xftalpha = 1.0,

--# Force UTF8? requires XFT
	override_utf8_locale = true,

--# --------- End Font Settings
--# --------- Color Settings
	draw_shades = true,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#000000',

	default_color = '#f5fffa',--# MintCream
	color1 = '#778899',--# LightSlateGray
	color2 = '#FFA07A',--# LightSalmon
	color3 = '#87CEFA',--# LightSkyBlue
	color4 = '#48D1CC',--# MediumTurquoise
	color5 = '#FFDEAD',--# NavajoWhite
	color6 = '#00BFFF',--# DeepSkyBlue
	color7 = '#B0E0E6',--# PowderBlue
	color8 = '#FFD700',--# Gold
	color9 = '#CD5C5C',--# IndianRed
--# ---------- End Color Settings
--# ---------- Begin Borders Section
	draw_borders = false,
--# Stippled borders?
	stippled_borders = 5,
--# border margins
	border_inner_margin = 5,
	border_outer_margin = 0,
--# border width
	border_width = 2,
--# graph borders
	draw_graph_borders = true,--# no
--# default_graph_size 15 40
--# ---------- End Borders Secton
--# ---------- Begin Miscellaneous Section
--# Boolean value, if true, Conky will be forked to background when started.
	background = false,--# 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 slystem) buffers from used memory?
	no_buffers = true,

--# Use the Xdbe extension? (eliminates flicker)
--# It is highly reco${color}mmended to use own window with this one
--# so double buffer won't be so big.
	double_buffer = true,

	update_interval = 1,

--${execi 900 bash /media/5/Conky/1b1_accuweather_images/1b1}\
--${execi 900 bash /media/5/Conky/4_Moon/moon}\
};

conky.text = [[
${image /media/5/Conky/images/bk_40.png -p -5,-5 -s 220x400}\
${image /media/5/Conky/4_Moon/0.png -p 8,45}\
${image /media/5/Conky/1b1_accuweather_images/cc.png -p 7,80 -s 200x120}\
${alignc}${time %a %d %b %Y}
${alignc}${if_match ${time %H}<12}Good Morning${else}\
${if_match ${time %H}<18}Good Afternoon${else}Good Evening${endif}${endif}
${font monofur:bold:size=16}${color8}±${execpi 600 sed -n '30p' /media/5/Conky/1b1_accuweather_images/curr_cond}°\
${alignr}${color}${execpi 600 sed -n '29p' /media/5/Conky/1b1_accuweather_images/curr_cond}°${font}








${font LED_mono:size=30}${goto 30}${color1}88:88:88${goto 30}${color5}${time %T}${color}${font}
${font monofur:bold:size=16}${color9}↑${execpi 600 sed -n '26p' /media/5/Conky/1b1_accuweather_images/first_days}°\
${alignr}${color6}↓${execpi 600 sed -n '31p' /media/5/Conky/1b1_accuweather_images/first_days}°${color}${font}
${alignc}${execpi 600 sed -n '33p' /media/5/Conky/1b1_accuweather_images/curr_cond}
UVI ${execpi 600 sed -n '34p' /media/5/Conky/1b1_accuweather_images/curr_cond} /11\
${alignr}Hum ${execpi 600 sed -n '32p' /media/5/Conky/1b1_accuweather_images/curr_cond}
${color5}${alignc}Buenos Aires Sun
Rise${color7} ${execpi 600 sed -n '39p' /media/5/Conky/1b1_accuweather_images/curr_cond}\
${alignr}${color5}Set ${color7}${execpi 600 sed -n '40p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}
${color5}${alignc}The Southern Moon
Rise${color7} ${execpi 600 sed -n '41p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}\
${alignr}${color5}Set ${color7}${execpi 600 sed -n '42p' /media/5/Conky/1b1_accuweather_images/curr_cond}${color}
${alignc}${execpi 600 sed -n '7p' /media/5/Conky/4_Moon/raw}
${alignc}${execpi 600 sed -n '1p' /media/5/Conky/4_Moon/raw} visible @ ${execi 600 sed -n '6p' /media/5/Conky/4_Moon/raw}°
${alignc}and ${execi 600 sed -n '5p' /media/5/Conky/4_Moon/raw} day(s) old${font}]];

For the brief moment I had v1.10 here I copied the convert program to: /media/5/Conky/CONVERT-LUA/convert.lua and I can still convert conkys to version 1.10   wink


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#853 2016-05-13 16:44:24

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

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

It works perfectly:
y7IoVGOt.jpg

I just changed a few things in your conkyrc (paths/the scripts weren't executed/moon script name)

conky.config = {
-- pkill -xf "conky -q -c $HOME/Desktop/The_Clock_2-Teo.conky" &
-- edited and working Thu 12 May 2016 23:06:10
--# ---------- Begin Window Settings

	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = true,
	own_window_hints = 'skip_taskbar,skip_pager,undecorated,below',--,sticky
	own_window_colour = '#000000',
	own_window_class = 'Conky',
	own_window_title = 'The Clock 2',
-- ARGB can be used for real transparency
--  own_window_argb_visual yes ## Options: yes or no
-- Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
--  own_window_argb_value 70

	minimum_width = 200, minimum_height = 200,
	maximum_width = 200,

	gap_x = 250,--# l|r
	gap_y = 20,--# u|d
	alignment = 'top_right',
--# ---------- End Window Settings
--# ---------- Font Settings
--# Use Xft (anti-aliased font and stuff)
	use_xft = true,
	font = 'Fantasque Sans Mono:bold:size=11',

--# Alpha of Xft font. Must be a value at or between 1 and 0
	xftalpha = 1.0,

--# Force UTF8? requires XFT
	override_utf8_locale = true,

--# --------- End Font Settings
--# --------- Color Settings
	draw_shades = true,
	default_shade_color = '#000000',
	draw_outline = false,
	default_outline_color = '#000000',

	default_color = '#f5fffa',--# MintCream
	color1 = '#778899',--# LightSlateGray
	color2 = '#FFA07A',--# LightSalmon
	color3 = '#87CEFA',--# LightSkyBlue
	color4 = '#48D1CC',--# MediumTurquoise
	color5 = '#FFDEAD',--# NavajoWhite
	color6 = '#00BFFF',--# DeepSkyBlue
	color7 = '#B0E0E6',--# PowderBlue
	color8 = '#FFD700',--# Gold
	color9 = '#CD5C5C',--# IndianRed
--# ---------- End Color Settings
--# ---------- Begin Borders Section
	draw_borders = false,
--# Stippled borders?
	stippled_borders = 5,
--# border margins
	border_inner_margin = 5,
	border_outer_margin = 0,
--# border width
	border_width = 2,
--# graph borders
	draw_graph_borders = true,--# no
--# default_graph_size 15 40
--# ---------- End Borders Secton
--# ---------- Begin Miscellaneous Section
--# Boolean value, if true, Conky will be forked to background when started.
	background = false,--# 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 slystem) buffers from used memory?
	no_buffers = true,

--# Use the Xdbe extension? (eliminates flicker)
--# It is highly reco${color}mmended to use own window with this one
--# so double buffer won't be so big.
	double_buffer = true,

	update_interval = 1,

--${execi 900 bash $HOME/1b1_accuweather_images/1b1}\
--${execi 900 bash $HOME/4_Moon/moon}\
};

conky.text = [[
${execi 900 bash $HOME/1b1_accuweather_images/1b1}${execi 900 bash $HOME/4_Moon/moon_MoonGiant}${image $HOME/images/bk_40.png -p -5,-5 -s 220x400}\
${image $HOME/4_Moon/0.png -p 8,45}\
${image $HOME/1b1_accuweather_images/cc.png -p 7,80 -s 200x120}\
${alignc}${time %a %d %b %Y}
${alignc}${if_match ${time %H}<12}Good Morning${else}\
${if_match ${time %H}<18}Good Afternoon${else}Good Evening${endif}${endif}
${font monofur:bold:size=16}${color8}±${execpi 600 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond}°\
${alignr}${color}${execpi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°${font}








${font LED_mono:size=30}${goto 30}${color1}88:88:88${goto 30}${color5}${time %T}${color}${font}
${font monofur:bold:size=16}${color9}↑${execpi 600 sed -n '26p' $HOME/1b1_accuweather_images/first_days}°\
${alignr}${color6}↓${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/first_days}°${color}${font}
${alignc}${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond}
UVI ${execpi 600 sed -n '34p' $HOME/1b1_accuweather_images/curr_cond} /11\
${alignr}Hum ${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond}
${color5}${alignc}Buenos Aires Sun
Rise${color7} ${execpi 600 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond}\
${alignr}${color5}Set ${color7}${execpi 600 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond}${color}
${color5}${alignc}The Southern Moon
Rise${color7} ${execpi 600 sed -n '41p' $HOME/1b1_accuweather_images/curr_cond}${color}\
${alignr}${color5}Set ${color7}${execpi 600 sed -n '42p' $HOME/1b1_accuweather_images/curr_cond}${color}
${alignc}${execpi 600 sed -n '7p' $HOME/4_Moon/raw}
${alignc}${execpi 600 sed -n '1p' $HOME/4_Moon/raw} visible @ ${execi 600 sed -n '6p' $HOME/4_Moon/raw}°
${alignc}and ${execi 600 sed -n '5p' $HOME/4_Moon/raw} day(s) old${font}]];

Another brilliant job S11!

EDIT: I've added links on the front page.

Last edited by TeoBigusGeekus (2016-05-14 13:18:13)


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

#854 2016-05-13 20:06:18

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

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

Sector11 wrote:
fvirgola cool 80 wrote:

where I find the fots LED_mono ?
tongue

HEY!  I can't font find it on the web ... so I guess you'll have to get it from here:

/home/sector11/.fonts/LED_mono.ttf

Thanks Sector11 , unfortunately the web I found nothing or I will have tried wrong .... thanks friend .... I start work .....
May the force be with me .....
cool


Nothing happens by chance

Offline

#855 2016-05-15 07:17:39

loutch
Member
Registered: 2015-12-12
Posts: 848

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

Hello guys

i need you help to modify sunrise sunset moonrise and moonset in french hours .

How can change 5:48am in 8:58 / 9:09pm in 21:09 / 2:39pm in 14:39 ect in the 1b2script from 1b2_accuweather_conkyweather_font

tanks for helping


1463296806.png


@+

Last edited by loutch (2016-05-15 07:22:06)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#856 2016-05-15 09:23:11

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

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

loutch wrote:

Hello guys

i need you help to modify sunrise sunset moonrise and moonset in french hours .

How can change 5:48am in 8:58 / 9:09pm in 21:09 / 2:39pm in 14:39 ect in the 1b2script from 1b2_accuweather_conkyweather_font

tanks for helping

Add these lines

#Change AM/PM to 24h
	h=$(date --d="$(sed -n '39p' $HOME/1b2_accuweather_conkyweather_font/curr_cond)" +%R)
	sed -i 39s/^.*$/${h}/ $HOME/1b2_accuweather_conkyweather_font/curr_cond
	h=$(date --d="$(sed -n '40p' $HOME/1b2_accuweather_conkyweather_font/curr_cond)" +%R)
	sed -i 40s/^.*$/${h}/ $HOME/1b2_accuweather_conkyweather_font/curr_cond
	h=$(date --d="$(sed -n '41p' $HOME/1b2_accuweather_conkyweather_font/curr_cond)" +%R)
	sed -i 41s/^.*$/${h}/ $HOME/1b2_accuweather_conkyweather_font/curr_cond
	h=$(date --d="$(sed -n '42p' $HOME/1b2_accuweather_conkyweather_font/curr_cond)" +%R)
	sed -i 42s/^.*$/${h}/ $HOME/1b2_accuweather_conkyweather_font/curr_cond

at the end of your current conditions section of the script (just before the fi command).


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

#857 2016-05-15 09:46:07

loutch
Member
Registered: 2015-12-12
Posts: 848

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

TANKS work great

@+


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#858 2016-05-15 09:48:25

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

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

Anytime mate!


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

#859 2016-05-15 10:06:29

loutch
Member
Registered: 2015-12-12
Posts: 848

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

here your original in french

1463308747.png
mine without conditions :

1463306385.png

and a cover from conky-meteo(since tree days the original don't work)

1463306782.png

@+

Last edited by loutch (2016-05-15 10:39:18)


Linuxmint 22.1 Xia xfce & mageia 9 XFCE on ssd hp pavilion g7
Xubuntu 18.04 lts & 24.04 lts on ASUS Rog STRIX

Offline

#860 2016-05-15 13:44:51

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

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

Thanks to the force received ....

The_Clock_2-Teo.conky

clockteo.jpg

the version for desktop

clockteodesk.jpg

I sent the code to conky Sector11 for a final check .
It also convert to conky 1:10 .

This conky is dedicated to Master Obi-Wan .. ( TEO ) :8

wink wink


Nothing happens by chance

Offline

Board footer

Powered by FluxBB