You are not logged in.

#2441 2019-06-25 16:12:00

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

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

re

yes same images & i don't know why there different

Last edited by loutch (2019-06-25 16:16:40)


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

#2442 2019-06-26 16:31:08

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

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

Weird, it doesn't happen in my system.
Some bug with your version of conky?
Compositor's fault?

Can you post your non-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

#2443 2019-06-26 17:49:53

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

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

here

conky.config = {
-- ------------------------- Windows Settings
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
	own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
	own_window_argb_visual = true,
	own_window_argb_value = 0,

	double_buffer = true,
	background = true,

-- ------------------------- Position
	alignment = 'top_left',

	minimum_width = 1300,
	minimum_height = 165,
	maximum_width = 1300,
	gap_x = 626,
	gap_y = 870,

-- ------------------------- Font
	use_xft = true,
	xftalpha = 0.8,
	override_utf8_locale = true,

	draw_shades = true,
	default_shade_color = 'black',

	draw_borders = false,
	draw_outline = false,

	font = 'Monofur:bold:size=8',

-- ------------------------ Colors
	default_color = 'DCDCDC',
	color0 = '87CF3E',
	color1 = 'DDDDDD',
	color2 = 'AAAAAA',
	color3 = '888888',
        color7 = '#6495ee',
        color9 = 'red',

-- ------------------------- Other #${execi 3600 bash $HOME/1_accuweather/alertes.sh}
	update_interval = 1,

--	template0 = [[${GOTO 50}${color\1}${top_mem name \2}${alignr}${top_mem mem \2}%]],${template0 0 1} ${template0 1 2}

	--top_name_verbose = false,
	no_buffers = true,


};

conky.text = [[
${execi 1800 bash $HOME/1_accuweather/1_accuweather -f2015}${execi 3500 bash $HOME/2_Wunderground_API/2_wun}
${voffset 1}${goto 16}${font GE Inspira:size=14:}Sarreguemines : ${font} ${execi 90 sed -n '4p' $HOME/1_accuweather/curr_cond} 
${goto 16}Temp.: ${execi 90 sed -n '2p' $HOME/1_accuweather/curr_cond} °C   Res.: ${execi 90 sed -n '3p' $HOME/1_accuweather/curr_cond} °C 
${voffset -16}
${goto 200}${font GE Inspira:size=8}Vent : ${execi 90 sed -n '5p' $HOME/1_accuweather/curr_cond} 
${goto 200}Vitesse : ${execi 90 sed -n '6p' $HOME/1_accuweather/curr_cond}
${goto 200}Préssion : ${execi 90 sed -n '8p' $HOME/1_accuweather/curr_cond}
${goto 200}Indice UV : ${execi 90 sed -n '9p' $HOME/1_accuweather/curr_cond} $font
${goto 16}Phase : ${execi 600  sed -n '6p' $HOME/2_Wunderground_API/Moon_Sun}

${goto 16}${execi 600  sed -n '2p' $HOME/2_Wunderground_API/Alertes}
${goto 16}${execi 602  sed -n '1p' $HOME/2_Wunderground_API/Alertes | cut -c1-70}
${goto 16}${execi 602  sed -n '1p' $HOME/2_Wunderground_API/Alertes | cut -c71-120}
    ${voffset -140}
${goto  300}${color7}${if_match "${execi 90 sed -n '4p' $HOME/1_accuweather/first_days}" == "Min."}${else}${execi 90 sed -n '4p' $HOME/1_accuweather/first_days}°${endif}${color}/${color9}${execi 90 sed -n '3p' $HOME/1_accuweather/first_days}°\
${goto  450}${color7}${execi 90 sed -n '9p' $HOME/1_accuweather/first_days}°${color}/${color9}${execi 90 sed -n '8p' $HOME/1_accuweather/first_days}°${color}\
${goto  600}${color7}${execi 90 sed -n '14p' $HOME/1_accuweather/first_days}°${color}/${color9}${execi 90 sed -n '13p' $HOME/1_accuweather/first_days}°${color}\
${goto  750}${color7}${execi 90 sed -n '19p' $HOME/1_accuweather/first_days}°${color}/${color9}${execi 90 sed -n '18p' $HOME/1_accuweather/first_days}°${color}\
${goto  900}${color7}${execi 90 sed -n '24p' $HOME/1_accuweather/first_days}°${color}/${color9}${execi 90 sed -n '23p' $HOME/1_accuweather/first_days}°${color}\
${goto 1050}${color7}${execi 90 sed -n '4p' $HOME/1_accuweather/last_days}°${color}/${color9}${execi 90 sed -n '3p' $HOME/1_accuweather/last_days}°${color}\
${goto 1200}${color7}${execi 90 sed -n '9p' $HOME/1_accuweather/last_days}°${color}/${color9}${execi 90 sed -n '8p' $HOME/1_accuweather/last_days}°${color}

${voffset 30}
${goto  300}${execi 90 sed -n '1p' $HOME/1_accuweather/first_days}\
${goto  450}${execi 3600 echo `date --date="1 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="1 day" | awk '{print $2}'`}\
${goto  600}${execi 3600 echo `date --date="2 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="2 day" | awk '{print $2}'`}\
${goto  750}${execi 3600 echo `date --date="3 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="3 day" | awk '{print $2}'`}\
${goto  900}${execi 3600 echo `date --date="4 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="4 day" | awk '{print $2}'`}\
${goto 1050}${execi 3600 echo `date --date="5 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="5 day" | awk '{print $2}'`}\
${goto 1200}${execi 3600 echo `date --date="6 day" | awk '{print $1}' | cut -c1-3`}.${execi 3600 echo `date --date="6 day" | awk '{print $2}'`}

${voffset -20}
${goto  270}${scroll 30 ${execi 90 sed -n '5p' $HOME/1_accuweather/first_days}}\
${goto  420}${scroll 30 ${execi 90 sed -n '10p' $HOME/1_accuweather/first_days}}\
${goto  570}${scroll 30 ${execi 90 sed -n '15p' $HOME/1_accuweather/first_days}}\
${goto  730}${scroll 30 ${execi 90 sed -n '20p' $HOME/1_accuweather/first_days}}\
${goto  870}${scroll 30 ${execi 90 sed -n '25p' $HOME/1_accuweather/first_days}}\
${goto 1020}${scroll 30 ${execi 90 sed -n '5p'  $HOME/1_accuweather/last_days}}\
${goto 1170}${scroll 30 ${execi 90 sed -n '10p' $HOME/1_accuweather/last_days}}

${image $HOME/1_accuweather/forecast_2015/forecast_0.png -p 0,50 -s 100x60}
${image $HOME/2_Wunderground_API/Moon_phase.png -p 100,50 -s 50x50}
${image $HOME/1_accuweather/Wind1.png -p 150,50 -s 45x45}
${image $HOME/1_accuweather/forecast_2015/forecast_1.png -p  280,65 -s 70x40}
${image $HOME/1_accuweather/forecast_2015/forecast_2.png -p  430,65 -s 70x40}
${image $HOME/1_accuweather/forecast_2015/forecast_3.png -p  580,65 -s 70x40}
${image $HOME/1_accuweather/forecast_2015/forecast_4.png -p  730,65 -s 70x40}
${image $HOME/1_accuweather/forecast_2015/forecast_5.png -p  880,65 -s 70x40}
${image $HOME/1_accuweather/forecast_2015/forecast_6.png -p 1030,65 -s 70x40}
${image $HOME/1_accuweather/forecast_2015/forecast_7.png -p 1180,65 -s 70x40}


${voffset -500}
]];

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

#2444 2019-06-26 19:45:38

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

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

Your conkyrc on my system
wKEEi5Ut.jpg

It looks fine to me.

How are other images (photos for example) shown in your conky? (using the image command of course)


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

#2445 2019-06-27 07:06:22

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

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

hello

the images are from hour accuweather pack

they look good with any dark wallpaper

1561618992.png


that is why i use the lua script for all wallpaper

Last edited by loutch (2019-06-27 07:15:25)


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

#2446 2019-06-27 21:39:28

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

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

Can you try to show an irrelevant image (a wallpaper for example) with the image command in a conky configuration?
Does it show properly?


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

#2447 2019-06-27 22:03:10

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

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

Maybe this might help: ARGB Visual


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2448 2019-06-28 06:58:51

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

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

Hello

@ Theo

here with an other image wall dark
1561704985.png

wall clear


1561705037.png

@ Sector

i try everything that done this

1561705107.png

@+

Last edited by loutch (2019-06-28 07:00:25)


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

#2449 2019-06-28 21:42:44

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

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

Maybe something's wrong with your transparency settings, idk.


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

#2450 2019-06-29 09:53:30

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

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

TeoBigusGeekus wrote:

Maybe something's wrong with your transparency settings, idk.


Since i'am with linux ?

I had this problem with all my distro that is why i use the lua script for all my conkys with image


@+

Last edited by loutch (2019-06-29 09:53:45)


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

#2451 2019-06-29 15:53:09

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

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

Well, if it works for you it's OK.
It's weird though...


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

#2452 2019-06-29 18:17:55

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

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

Yeahhh

it's the magic of linux   wink  wink  wink  wink


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

#2453 2019-07-01 22:03:35

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

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

@ loutch

What happens if you turn your composite manager off?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2454 2019-07-02 07:25:47

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

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

Hello

that

1562052308.png


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

#2455 2019-07-02 17:01:50

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

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

↑↑↑ interesting ... can you show me the command:

conky -v

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2456 2019-07-02 17:09:18

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

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

I have had this little bash script since 2010, and through various tweaks and such it is still running.

Current and today's simple forecast and an 8 day weather display complete with current Moon and Sun Information:
2019-07-02_135917_Scrot11.th.jpg

I start it in OpenBox with:

terminator --geometry=540x430+80+80 -b -x bsas

And the bash script: bsas

#!/bin/bash
# --- original ---
# 4 Day Weather forecast script for Boardman, OH
# Written by:  Habitual (JJ)
# 11.01.2010 12:10:07
# For conkyForecast by: Kaivalagi
# --- Edited by Sector11 ---
# 7 Day Forecast
# 13 Jan 2013 14:08 UTC
# For conkyForecast by: Kaivalagi

# Re-edited:
# Mon 09 Jan 2017
# updated 2017-07-10
# For TeoBigusGeekus' 1_Accuweather Weather script
# https://forums.bunsenlabs.org/viewtopic.php?id=189
### Run Teos script to refresh the databases
## Change the "wget" commands to "wget -q" in 1_accuweather

## 1_accuweather and 4_Moon must already be running.
# Re-Edited:
# Tue 02 Jul 2019 13:56:03
# using latest 1_accuweather script with lynx

# Clear the screen
tput clear
#tput bold			### for bold text
#tput dim			### for dim text
#tput sgr0          ### remove formatting

## tput setaf 0 black
## tput setaf 1 dark red
## tput setaf 2 green
## tput setaf 3 yellow
## tput setaf 4 dark blue
## tput setaf 5 purple
## tput setaf 6 teal
## tput setaf 7 white
## tput setaf 8 grey
## tput setaf 9 red


# Current (1st Group LEFT)
tput cup 1 1;tput setaf 6
echo "- Buenos Aries, Argentina -"
tput cup 1 35;tput setaf 4
echo "- Accuweather - by Teo"
tput cup 2 1;tput setaf 7
echo "Currently"
tput cup 2 11;tput setaf 3;tput bold
echo `sed -n '2p' /media/5/Conky/1_accuweather/curr_cond`"°"
tput cup 2 15;tput setaf 7
echo " for ±"
tput cup 2 21;tput setaf 3;tput bold
echo `sed -n '3p' /media/5/Conky/1_accuweather/curr_cond`"°"
tput cup 3 1;tput setaf 2
echo `sed -n '4p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 4 1;tput setaf 3
echo "Bar"
tput cup 4 5;tput setaf 7
echo `sed -n '8p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 4 16;tput setaf 3
echo "Hum"
tput cup 4 20;tput setaf 7
echo `sed -n '7p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 4 25;tput setaf 3
echo "UVI"
tput cup 4 29;tput setaf 7
echo `sed -n '9p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 5 1;tput setaf 3
echo "Wnd"
tput cup 5 5;tput setaf 7
echo `sed -n '5p' /media/5/Conky/1_accuweather/curr_cond`" @ "`sed -n '6p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 5 21;tput setaf 3
echo "Vis"
tput cup 5 25;tput setaf 7
echo `sed -n '13p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 6 1;tput setaf 3
echo "Ceil"
tput cup 6 6;tput setaf 7
echo `sed -n '11p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 6 14;tput setaf 3
echo "Dew"
tput cup 6 18;tput setaf 7
echo `sed -n '12p' /media/5/Conky/1_accuweather/curr_cond`"°"
tput cup 6 22;tput setaf 3
echo "CC"
tput cup 6 25;tput setaf 7
echo `sed -n '10p' /media/5/Conky/1_accuweather/curr_cond`

# Today Day 0 (1st Group RIGHT) Mon
tput cup 2 35;tput setaf 7
echo "$(date --date="0 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 2 51;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 2 53;tput setaf 7
echo `sed -n '3p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 2 58;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 2 60;tput setaf 7
echo `sed -n '4p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 3 35;tput setaf 2
echo `sed -n '5p' /media/5/Conky/1_accuweather/first_days`
tput cup 4 35;tput setaf 7
echo "Sun Rise"
tput cup 4 44;tput setaf 3
echo `sed -n '23p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 4 50;tput setaf 7
echo "Moon Rise "
tput cup 4 60;tput setaf 6
echo `sed -n '25p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 5 40;tput setaf 7
echo "Set"
tput cup 5 44;tput setaf 3
echo `sed -n '24p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 5 56;tput setaf 7
echo "Set"
tput cup 5 60;tput setaf 6
echo `sed -n '26p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 6 35;tput setaf 7
echo "Duration"
tput cup 6 44;tput setaf 3
echo `sed -n '16p' /media/5/Conky/1_accuweather/curr_cond`
tput cup 6 57;tput setaf 6
echo `sed -n '20p' /media/5/Conky/1_accuweather/curr_cond`

# Day 1 (2nd Group LEFT) Tue
tput cup 7 1;tput setaf 1;tput bold
echo "----------------------------------"
tput cup 8 1;tput setaf 7
echo "$(date --date="1 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 8 17;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 8 19;tput setaf 7
echo `sed -n '8p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 8 25;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 8 27;tput setaf 7
echo `sed -n '9p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 9 1;tput setaf 2
echo `sed -n '10p' /media/5/Conky/1_accuweather/first_days`

# Day 2 (2nd Group RIGHT) Wed
tput cup 7 35;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 8 35;tput setaf 7
echo "$(date --date="2 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 8 51;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 8 53;tput setaf 7
echo `sed -n '13p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 8 58;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 8 60;tput setaf 7
echo `sed -n '14p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 9 35;tput setaf 2
echo `sed -n '5p' /media/5/Conky/1_accuweather/first_days`

# Day 3 (3rd Group LEFT) Thu
tput cup 10 1;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 11 1;tput setaf 7
echo "$(date --date="3 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 11 17;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 11 19;tput setaf 7
echo `sed -n '18p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 11 25;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 11 27;tput setaf 7
echo `sed -n '19p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 12 1;tput setaf 2
echo `sed -n '10p' /media/5/Conky/1_accuweather/first_days`

# Day 4 (3rd Group RIGHT) Fri
tput cup 10 35;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 11 35;tput setaf 7
echo "$(date --date="4 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 11 51;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 11 53;tput setaf 7
echo `sed -n '23p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 11 58;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 11 60;tput setaf 7
echo `sed -n '24p' /media/5/Conky/1_accuweather/first_days`"°"
tput cup 12 35;tput setaf 2
echo `sed -n '5p' /media/5/Conky/1_accuweather/first_days`

# Day 5 (4th Group LEFT) Sat
tput cup 13 1;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 14 1;tput setaf 7
echo "$(date --date="5 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 14 17;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 14 19;tput setaf 7
echo `sed -n '3p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 14 25;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 14 27
echo `sed -n '4p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 15 1;tput setaf 2
echo `sed -n '5p' /media/5/Conky/1_accuweather/last_days`

# Day 6 (4th Group RIGHT) Sun
tput cup 13 35;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 14 35;tput setaf 7
echo "$(date --date="6 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 14 51;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 14 53;tput setaf 7
echo `sed -n '8p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 14 58;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 14 60
echo `sed -n '9p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 15 35;tput setaf 2
echo `sed -n '10p' /media/5/Conky/1_accuweather/last_days`

# Day 7 (5th Group LEFT) Mon
tput cup 16 1;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 17 1;tput setaf 7
echo "$(date --date="7 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 17 17;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 17 19
echo `sed -n '13p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 17 25;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 17 27;tput setaf 7
echo `sed -n '14p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 18 1;tput setaf 2
echo `sed -n '15p' /media/5/Conky/1_accuweather/last_days`
tput cup 19 1;tput setaf 1;tput bold
echo "-------------------------------"

# Day 8 (5th Group RIGHT) Tue
tput cup 16 35;tput setaf 1;tput bold
echo "-------------------------------"
tput cup 17 35;tput setaf 7
echo "$(date --date="8 day" | awk '{print $1" "$3" "$2" "$6}')"
tput cup 17 51;tput setaf 1;tput bold
echo "H";tput sgr0
tput cup 17 53;tput setaf 7
echo `sed -n '18p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 17 58;tput setaf 6;tput bold
echo "L";tput sgr0
tput cup 17 60;tput setaf 7
echo `sed -n '19p' /media/5/Conky/1_accuweather/last_days`"°"
tput cup 18 35;tput setaf 2
echo `sed -n '20p' /media/5/Conky/1_accuweather/last_days`
tput cup 19 32;tput setaf 1;tput bold
echo "----------------------------------"
tput cup 20 5;tput setaf 6
echo "Moon"
tput cup 20 10;tput setaf 3
echo "Sun"
tput cup 20 14;tput setaf 7
echo "Information              Southern Hemisphere"
tput cup 21 1;tput setaf 6
echo "Phase"
tput cup 21 8;tput setaf 7
echo `sed -n '7p' /media/5/Conky/4_Moon/raw` @ `sed -n '1p' /media/5/Conky/4_Moon/raw`
tput cup 21 35;tput setaf 6
echo "Distance"
tput cup 21 44;tput setaf 7
echo `sed -n '4p' /media/5/Conky/4_Moon/raw` "km"
tput cup 22 1;tput setaf 6
echo "Age"
tput cup 22 8;tput setaf 7
echo `sed -n '5p' /media/5/Conky/4_Moon/raw` "Day(s)"
tput cup 22 35;tput setaf 6
echo "Angle"
tput cup 22 44;tput setaf 7
echo `sed -n '6p' /media/5/Conky/4_Moon/raw`"°"
tput cup 23 1;tput setaf 3
echo "Angle"
tput cup 23 8;tput setaf 7
echo `sed -n '2p' /media/5/Conky/4_Moon/raw`"°"
tput cup 23 35;tput setaf 3
echo "Distance"
tput cup 23 44;tput setaf 7
echo `sed -n '3p' /media/5/Conky/4_Moon/raw` "km"
tput sgr0
$SHELL

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2457 2019-07-02 18:32:54

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

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

hello

conky -v

conky 1.10.8 compiled Thu May  3 21:07:47 UTC 2018 for Linux 4.4.0-122-generic x86_64

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib/conky


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * eve-online
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio

 Lua bindings:
  * Cairo
  * Imlib2
  * RSVG
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window

 Music detection:
  * Audacious
  * MPD
  * MOC
  * XMMS2

 Default values:
  * Netdevice: eth0
  * Local configfile: $HOME/.conkyrc
  * Localedir: /usr/share/locale
  * Maximum netdevices: 64
  * Maximum text size: 16384
  * Size text buffer: 256

& with another wall clearer


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

#2458 2019-07-02 18:59:01

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,648

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

Sector11 wrote:

I have had this little bash script since 2010, and through various tweaks and such it is still running.


Also here the script, my friend, continues to run excellently.  cool

...and for Teo: your script MoonGiant with / (because it's more reliable, than without /)   wink

2019-07-02-20-47-39_scrot.th.png

Offline

#2459 2019-07-02 19:35:01

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

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

Strange, I don't remember using read in it, I don't like red.  Spent a bit of time today changing the colours.  Glad to see others using it though.

Notice the "New Moon" we are having a total eclipse of the Sun here is the south starting right now ...  2 hours and 45 minutes in total


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#2460 2019-07-02 19:52:19

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

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

@ loutch

That should work.  Can you do a simple conky with NO composite manager running, these settings for window settings:

own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,below,undecorated
own_window_colour 000000
own_window_class Conky
own_window_title Sector11's Test Conky
## ARGB can be used for real transparencyown_window_hints
#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 80

and below TEXT just one ${image /path-to-/image.jpg}

Last edited by Sector11 (2019-07-02 19:53:06)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

Board footer

Powered by FluxBB