You are not logged in.

#3341 2020-04-05 19:59:05

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 tried running it but it is kinda messy because of my dpi settings and I don't think lua works (my conky is not compiled with lua I think)
mKtm8GYt.jpg


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

#3342 2020-04-06 01:19:00

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

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

TeoBigusGeekus wrote:

I tried running it but it is kinda messy because of my dpi settings and I don't think lua works (my conky is not compiled with lua I think)
https://i.imgur.com/mKtm8GYt.jpg

Terminal; do a:

conky -v

That will tell you (bottom of list):

 05 Apr 20 @ 22:18:10 ~
   $ conky -v
Conky 1.9.0 compiled Sun Jun 11 16:40:54 UTC 2017 for Linux 4.4.62-18.6-default (x86_64)

Compiled in features:

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

 X11:
  * Xdamage extension
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual

 Music detection:
  * Audacious
  * MPD
  * MOC
  * XMMS2

 General:
  * math
  * hddtemp
  * portmon
  * Curl
  * RSS
  * Weather (METAR)
  * Weather (XOAP)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * eve-online
  * config-output
  * Imlib2
  * apcupsd
  * iostats
  * ncurses
  * Lua

  Lua bindings:
   * Cairo
   * Imlib2

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3343 2020-04-06 21:45:21

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

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

Yep, as I already knew.

[[Time:00:41 Location:~/Desktop]]
$ conky -v
conky 1.11.5_pre compiled Thu 29 Aug 2019 10:15:57 PM UTC for Linux 4.19.67-1-lts 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)
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support
  * PulseAudio
 X11:
  * Xdamage extension
  * Xinerama extension (virtual display)
  * Xshape extension (click through)
  * XDBE (double buffer extension)
  * Xft
  * ARGB visual
  * Own window

 Music detection:
  * CMUS
  * MPD
  * MOC

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

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

#3344 2020-04-07 12:07:54

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

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

I have revised the conky and this should be the definitive one.
I solved the problem of flashing a screen for my error on the vove "minuium_widht" was set to "0" instead of the real value of the width of the conky ....

yikes  yikes

conky.config = {
own_window = true,
own_window_type = 'override',
own_window_transparent = true, --false,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
--  own_window_colour = '#000000',
    own_window_class = 'Conky',
--  own_window_title = 'fvirgola80 WUweather',
    own_window_argb_visual = true,
    own_window_argb_value = 120,

minimum_width = 290, minimum_height = 00,  -- w|h
maximum_width = 1080,

gap_x = 0, -- l|r
gap_y = 0,  -- u|d

alignment = 'top_left', --right',

use_xft = true,
font = 'monofur:bold:size=10',
xftalpha = 1,
override_utf8_locale = true,

draw_shades = true,
default_shade_color = '000000',
draw_outline = false,
default_outline_color = '000000',
short_units = true,
draw_graph_borders = false,

default_color = '#cbcbcb',
	default_outline_color = '000000',
	color1 = '#ffe595',
	color5 = '#FFDEAD',
        color6 = '#00BFFF',

border_inner_margin = 0,
border_outer_margin = 0,

background = true,
use_spacer = 'none',
no_buffers = true,
imlib_cache_size = 0,
double_buffer = true,

update_interval = 1, --0.5

lua_load = '~/.config/conky/LUA/graph.lua', 
lua_draw_hook_pre = 'main_graph', 


};

conky.text = [[
${goto 8}${color6}↓↓↓↓↓${color}${goto 255}${color6}↓↓↓↓↓${color}${image $HOME/images/white_1.png -p 45,10 -s 207x1}
${goto 8}${color5}${time %T}${color} ${color6}←${color} ${nodename} ${color6}→${color} ${kernel} ${color6}←${color}
${goto 8}${color5}${time %b %Y} Week ${time %V}${color} UPTIME ${color6}→→→→${color} ${uptime} ${color6}←${color}
${goto 8}${color6}↓↓↓↓↓${color}${goto 255}${color6}↓↓↓↓↓${color}${image $HOME/images/white_1.png -p 45,52 -s 207x1}
${alignc}${if_match ${time %w}==0}${color5}do${color6} lu ma me gi ve sa${else}\
${if_match ${time %w}==1}${color6}do ${color5}lu${color6} ma me gi ve sa${else}\
${if_match ${time %w}==2}${color6}do lu ${color5}ma${color6} me gi ve sa${else}\
${if_match ${time %w}==3}${color6}do lu ma ${color5}me${color6} gi ve sa${else}\
${if_match ${time %w}==4}${color6}do lu ma me ${color5}gi${color6} ve sa${else}\
${if_match ${time %w}==5}${color6}do lu ma me gi ${color5}ve${color6} sa${else}\
${color6}do lu ma me gi ve ${color5}sa${color}\
${endif}${endif}${endif}${endif}${endif}${endif}
${alignc}${color6}${execpi 1800 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color5}&${color6}/' | sed ':a;N;$!ba;s/\n/\n${alignc}/g'}${color}
${image $HOME/images/white_1.png -p 5,156 -s 285x1}
${image $HOME/images/grid2.png -p 5,165 -s 285x80}




${goto 8}${color6}C1: ${freq_g 1} G ${cpu cpu1}%${color}
${goto 190}${voffset -15}${color5}C2: ${freq_g 2} G ${cpu cpu2}%${color}
${goto 8}${voffset 4}${color5}C3: ${freq_g 3} G ${cpu cpu3}%${color}
${goto 190}${voffset -14}${color6}C4: ${freq_g 4} G ${cpu cpu4}%${color}
${goto 135}${voffset -20}${color4}${execi 2 sensors | grep 'Core 0' | sed -e 's/.*  +//' | sed -e 's/.0°C.*//'}ºC${color}
${image $HOME/images/white_1.png -p 5,271 -s 285x1}
${goto 8}RAM $mem / $memmax ${memgraph 12,132 F57900 FCAF3E}${memperc}%
${goto 8}${voffset 4}${color6}HDD ${acpitemp}°C I/O ${diskio}${color}${diskiograph /dev/sda 12,145 F57900 FCAF3E}
${goto 8}${voffset 4}/root  ${fs_used /} / ${fs_size /}${diskiograph_read /dev/sda 12,60 B0E0E6 00BFFF} ${goto 210}←← read ${fs_used_perc /}%
${goto 8}${voffset 4}${color6}/home  ${fs_used /home} / ${fs_size /home}${diskiograph_write /dev/sda 12,60 ce2029 3dba19}${color} ${goto 210}← write ${fs_free_perc /}%
${goto 8}${voffset 4}${color5}SWAP ${swap}/${swapmax} ${swapperc}%${color} ${color6}→→→→→→→→→→${color} ${goto 200}${color5}FAN${color}\
${execi 1 sensors | grep 'fan1' | cut -c13-18 | sed '/^$/d'}${color6}Rpm${color}
${image $HOME/images/white_1.png -p 5,365-s 285x1}
${image $HOME/images/grid2.png -p 5,374 -s 285x80}




${goto 8}LAN: ${addr eth1}${downspeedgraph eth1 12,75 000000 7f8ed3} ${upspeedgraph eth1 12,75 000000 ffcc00}
${goto 8}${voffset 4}${color6}↓↓${color6}DN↓↓${color5}${goto 244}↑↑UP${color5}↑↑${color}
${goto 8}${voffset 4}${color5}${upspeed eth1}${goto 125}${color4}← per/s →${goto 248}${color6}${downspeed eth1}${color}
${goto 8}${voffset 4}${color6}${totalup eth1}${goto 125}${color4}← total →${goto 248}${color5}${totaldown eth1}${color}
${goto 8}${voffset 4}${color5}GW: ${gw_ip}${goto 166}${color6}IPP: ${execi 100 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}${color}
${image $HOME/images/white_1.png -p 5,535-s 285x1}
${texeci 300 bash $HOME/Accuweather_conky_script/accuweather -f2016 -h2016}
${goto 85}${voffset -20}${color6}Pressure${goto 200}HUM${goto 265}CLD${color}
${goto 85}${voffset 2}${color5}${texeci 300 sed -n '8p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 200}${texeci 300 sed -n '7p' $HOME/Accuweather_conky_script/curr_cond}\
${goto 265}${texeci 300 sed -n '10p' $HOME/Accuweather_conky_script/curr_cond}${color}
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_0.png -p 2,545 -s 80x80}
${goto 85}${voffset -10}${color6}Rain ${texeci 300 sed -n '24p' $HOME/Accuweather_conky_script/hourly} \
${texeci 300 sed -n '7p' $HOME/Accuweather_conky_script/hourly}${goto 200}UVI${goto 265}VIS${color}
${goto 85}${voffset 5}${color5}${texeci 300 sed -n '5p' $HOME/Accuweather_conky_script/curr_cond}\
 ${texeci 300 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond|awk '{print $1}'}\
 ${texeci 300 sed -n '6p' $HOME/Accuweather_conky_script/curr_cond|awk '{print $2}'}\
${goto 200}${texeci 300 sed -n '9p' $HOME/Accuweather_conky_script/curr_cond | cut -c-5}\
${goto 250}${texeci 300 sed -n '13p' $HOME/Accuweather_conky_script/curr_cond}${color}
${image $HOME/Accuweather_conky_script/forecast_2016/wind_0.png -p 163,590 -s 25x25}
${goto 85}${voffset -10}${color6}W.G. ${texeci 300 sed -n '13p' $HOME/Accuweather_conky_script/hourly} Km/h ${goto 200}REF${goto 265}TMP${color}
${goto 8}${voffset 5}${color5}DP ${texeci 300 sed -n '12p' $HOME/Accuweather_conky_script/curr_cond}°\
${goto 85}${texeci 300 sed -n '4p' $HOME/Accuweather_conky_script/curr_cond|cut -c1-20}\
${goto 200}±${texeci 300 sed -n '3p' $HOME/Accuweather_conky_script/curr_cond}°\
${goto 265}${texeci 300 sed -n '2p' $HOME/Accuweather_conky_script/curr_cond}°${color}
${goto 8}${voffset 5}${color6}CELLING${goto 75}Sun ↑${texeci 300 sed -n '23p' $HOME/Accuweather_conky_script/curr_cond} ↓\
${texeci 300 sed -n '24p' $HOME/Accuweather_conky_script/curr_cond} ${goto 208}Durat ${texeci 300 sed -n '16p' $HOME/Accuweather_conky_script/curr_cond}${color}
${goto 8}${voffset 5}${color5}${texeci 300 sed -n '32p' $HOME/Accuweather_conky_script/hourly}${goto 70}Moon ↑${texeci 300 sed -n '25p' $HOME/Accuweather_conky_script/curr_cond} ↓\
${texeci 300 sed -n '26p' $HOME/Accuweather_conky_script/curr_cond} ${goto 208}Durat ${texeci 300 sed -n '20p' $HOME/Accuweather_conky_script/curr_cond}${color}
${image $HOME/images/white_1.png -p 5,688-s 285x1}
${goto 15}${color5}${texeci 300 sed -n '1p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
${goto 110}${texeci 300 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
${goto 200}${texeci 300 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${color}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_1.png -p 15,713 -s 65x65}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_2.png -p 110,713 -s 65x65}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_3.png -p 200,713 -s 65x65}
${goto 80}${color6}${texeci 300 sed -n '4p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 175}${texeci 300 sed -n '11p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 265}${texeci 300 sed -n '18p' $HOME/Accuweather_conky_script/daily_forecast}°${color}


${goto 80}${color5}${texeci 300 sed -n '5p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 175}${texeci 300 sed -n '12p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 265}${texeci 300 sed -n '19p' $HOME/Accuweather_conky_script/daily_forecast}°${color}

${goto 8}${color6}${texeci 300 sed -n '1p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
 ${texeci 600 sed -n '6p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-17}\
 ${texeci 300 sed -n '6p' $HOME/Accuweather_conky_script/daily_forecast|cut -c18-34}${color}
${goto 8}${color5}${texeci 300 sed -n '8p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
 ${texeci 300 sed -n '13p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-17}\
 ${texeci 300 sed -n '13p' $HOME/Accuweather_conky_script/daily_forecast|cut -c18-34}${color}
${goto 8}${color6}${texeci 300 sed -n '15p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
 ${texeci 300 sed -n '20p' $HOME/Accuweather_conky_script/daily_forecast|cut -c1-17}\
 ${texeci 300 sed -n '20p' $HOME/Accuweather_conky_script/daily_forecast|cut -c18-34}${color}
${image $HOME/images/white_1.png -p 5,830-s 285x1}
${goto 8}${color5}${texeci 300 sed -n '22p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
${goto 80}${texeci 300 sed -n '29p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
${goto 155}${texeci 300 sed -n '36p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}\
${goto 220}${texeci 300 sed -n '43p' $HOME/Accuweather_conky_script/daily_forecast|tr a-z A-Z}${color}
${goto 55}${color6}${texeci 300 sed -n '25p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 125}${texeci 300 sed -n '32p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 200}${texeci 300 sed -n '39p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 265}${texeci 300 sed -n '46p' $HOME/Accuweather_conky_script/daily_forecast}°${color}

${goto 55}${color5}${texeci 300 sed -n '26p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 125}${texeci 300 sed -n '33p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 200}${texeci 300 sed -n '40p' $HOME/Accuweather_conky_script/daily_forecast}°\
${goto 265}${texeci 300 sed -n '47p' $HOME/Accuweather_conky_script/daily_forecast}°${color}
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_4.png -p 10,850 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_5.png -p 80,850 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_6.png -p 155,850 -s 45x45}\
${image $HOME/Accuweather_conky_script/forecast_2016/forecast_7.png -p 220,850 -s 45x45}
${image $HOME/images/white_1.png -p 5,905-s 285x1}
${texeci 300 bash $HOME/Moongiant_conky_script/moongiant}
${image $HOME/Moongiant_conky_script/0.png -p 5,913 -s 60x60}
${goto 80}${voffset -40}${color6}${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2" "$6}'`}\
${goto 195}M.A. ${execpi 300 sed -n '5p' $HOME/Moongiant_conky_script/raw}${color}${color}
${goto 105}${color5}${execpi 300 sed -n '7p' $HOME/Moongiant_conky_script/raw | awk '{print $1}'}\
${goto 195}M.AG. ${execpi 300 sed -n '6p' $HOME/Moongiant_conky_script/raw}${color}
${goto 100}${color6}${execpi 300 sed -n '7p' $HOME/Moongiant_conky_script/raw | awk '{print $2}'}\
${goto 195}M.D. ${execpi 300 sed -n '4p' $HOME/Moongiant_conky_script/raw | cut -c-3} ${font monofur:bold:size=9}K/km${font}${color}
${goto 90}${color5}VISIBILITY\
${goto 195}S.A. ${execpi 300 sed -n '2p' $HOME/Moongiant_conky_script/raw}${color}
${goto 120}${color6}${execpi 300 sed -n '1p' $HOME/Moongiant_conky_script/raw}\
${goto 195}S.D. ${execpi 300 sed -n '3p' $HOME/Moongiant_conky_script/raw | cut -c-3} ${font monofur:bold:size=9}K/km${font}${color}
${image $HOME/images/white_1.png -p 190,910-s 1x67}
${image $HOME/images/white_1.png -p 5,980-s 285x1}
${voffset -27}${goto 15}${color5}${execi 3600 echo `date --date="-2 day" | awk '{print $3" "$2}'`}\
${goto 80}${execi 3600 echo `date --date="-1 day" | awk '{print $3" "$2}'`}\
${goto 155}${execi 3600 echo `date --date="+1 day" | awk '{print $3" "$2}'`}\
${goto 220}${execi 3600 echo `date --date="+2 day" | awk '{print $3" "$2}'`}${color}
${image $HOME/Moongiant_conky_script/-2.png -p 10,997 -s 45x45}\
${image $HOME/Moongiant_conky_script/-1.png -p 80,997 -s 45x45}\
${image $HOME/Moongiant_conky_script/1.png -p 154,997 -s 45x45}\
${image $HOME/Moongiant_conky_script/2.png -p 218,997 -s 45x45}
${voffset 30}${font monofur:bold:size=9}${goto 24}${color6}${execpi 300 sed -n '13p' $HOME/Moongiant_conky_script/raw}\
${goto 93}${execpi 300 sed -n '21p' $HOME/Moongiant_conky_script/raw}\
${goto 167}${execpi 300 sed -n '29p' $HOME/Moongiant_conky_script/raw}\
${goto 233}${execpi 300 sed -n '37p' $HOME/Moongiant_conky_script/raw}${font}${color}
${voffset -5}${goto 8}${color5}${execpi 300 sed -n '19p' $HOME/Moongiant_conky_script/raw | awk '{print $1}'}\
${goto 79}${execpi 300 sed -n '27p' $HOME/Moongiant_conky_script/raw | awk '{print $1}'}\
${goto 150}${execpi 300 sed -n '35p' $HOME/Moongiant_conky_script/raw | awk '{print $1}'}\
${goto 220}${execpi 300 sed -n '43p' $HOME/Moongiant_conky_script/raw | awk '{print $1}'}${color}
${goto 5}${color6}${execpi 300 sed -n '19p' $HOME/Moongiant_conky_script/raw | awk '{print $2}'}\
${goto 75}${execpi 300 sed -n '27p' $HOME/Moongiant_conky_script/raw | awk '{print $2}'}\
${goto 145}${execpi 300 sed -n '35p' $HOME/Moongiant_conky_script/raw | awk '{print $2}'}\
${goto 215}${execpi 300 sed -n '43p' $HOME/Moongiant_conky_script/raw | awk '{print $2}'}${color}
]];

wink  wink

Last edited by fvirgola80 (2020-04-07 12:36:32)


Nothing happens by chance

Offline

#3345 2020-04-07 14:56:23

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

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

TeoBigusGeekus wrote:

Yep, as I already knew.

Teo, you need the package conky-cairo from AUR.   wink

conky -v
conky 1.11.3_pre compiled Mi 27. Mär 20:43:00 CET 2019 for Linux 5.0.3-arch1-1-ARCH x86_64

Compiled in features:

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


 General:
  * math
  * hddtemp
  * portmon
  * IPv6
  * Curl
  * iconv
  * wireless
  * support for IBM/Lenovo notebooks
  * nvidia
  * builtin default configuration
  * old configuration syntax
  * Imlib2
  * OSS mixer support
  * apcupsd
  * iostats
  * ncurses
  * Internationalization support

 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:
  * CMUS
  * MPD
  * MOC

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

Last edited by unklar (2020-04-07 14:57:04)

Offline

#3346 2020-04-07 21:13: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)

Sorry guys, but I intend to keep my pc lua free.
If anyone else, with a lua ready conky client that is, could try fvirgola80's config and provide some feedback it'd be great.


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

#3347 2020-04-08 17:39:50

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

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

Good friends,
here I am .... the creation of Accuweather in its 24 hours ....

mega-conkyacweatehr2020.png verticale-aweather2020.png


below the conky code vers. 1.10 for the 24-hour conky

conky.config = {
own_window = true,
own_window_type = 'override',
own_window_transparent = true, --false,
own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
--  own_window_colour = '#000000',
    own_window_class = 'Conky',
--  own_window_title = 'fvirgola80 24 hours Accuweather',
    own_window_argb_visual = true,
    own_window_argb_value = 120,

minimum_width = 200, minimum_height = 00,  -- w|h
maximum_width = 1080,

gap_x = 0, -- l|r
gap_y = 0,  -- u|d

alignment = 'top_right', --left',

use_xft = true,
font = 'monofur:bold:size=10',
xftalpha = 1,
override_utf8_locale = true,

draw_shades = true,
default_shade_color = '000000',
draw_outline = false,
default_outline_color = '000000',

        default_color = '#cbcbcb',
        color5 = '#FFDEAD',
        color6 = '#00BFFF',

border_inner_margin = 0,
border_outer_margin = 0,

background = true,
use_spacer = 'none',
no_buffers = true,
imlib_cache_size = 0,
double_buffer = true,

update_interval = 1, --0.5


};

conky.text = [[
${texeci 300 bash $HOME/Accuweather_conky_script/accuweather -h2016}
${alignc}${color5}Next 24 hours${color}
${image $HOME/images/red_1.png -p 100,30 -s 2x870}
${goto 35}${color6}${texeci 300 sed -n '1p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '4p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '33p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '36p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_1.png -p 40,58 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_2.png -p 110,58 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '65p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '68p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '97p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '100p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_3.png -p 40,130 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_4.png -p 110,130 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '129p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '132p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '161p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '164p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_5.png -p 40,202 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_6.png -p 110,202 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '193p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '196p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '225p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '228p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_7.png -p 40,273 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_8.png -p 110,273 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '257p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '260p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '289p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '292p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_9.png -p 40,345 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_10.png -p 110,345 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '321p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '324p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '353p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '356p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_11.png -p 40,417 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_12.png -p 110,417 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '385p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '388p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '417p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '420p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_13.png -p 40,489 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_14.png -p 110,489 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '449p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '452p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '481p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '484p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_15.png -p 40,562 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_16.png -p 110,562 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '513p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '516p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '545p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '548p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_17.png -p 40,634 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_18.png -p 110,634 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '577p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '580p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '609p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '612p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_19.png -p 40,705 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_20.png -p 110,705 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '641p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '644p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '673p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '676p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_21.png -p 40,777 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_22.png -p 110,777 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${color6}${goto 35}${texeci 300 sed -n '705p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '708p' $HOME/Accuweather_conky_script/hourly}°\
${goto 110}${texeci 300 sed -n '737p' $HOME/Accuweather_conky_script/hourly} ${texeci 300 sed -n '740p' $HOME/Accuweather_conky_script/hourly}°${color}
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_23.png -p 40,849 -s 50x50}\
${image $HOME/Accuweather_conky_script/hourly_2016/hourly_24.png -p 110,849 -s 50x50}
${voffset 35}${membar 0}
${voffset -5}${alignc}${color6}${cpu cpu1} | ${cpu cpu2} | ${cpu cpu3} | ${cpu cpu4}${color}
${texeci 300 bash $HOME/Weather_com_conky_script/weather_com}
${color5}${voffset -10}${texeci 600 sed -n '1p' $HOME/Weather_com_conky_script/10days}
${texeci 600 sed -n '21p' $HOME/Weather_com_conky_script/10days | fold -s25}${color6}
${membar 0}
${color6}${texeci 600 sed -n '32p' $HOME/Weather_com_conky_script/10days|tr a-z A-Z}
${texeci 600 sed -n '52p' $HOME/Weather_com_conky_script/10days | fold -s25}${color}
]];


I inserted the weather.com script at the end with the descriptive predictions .....
good conky to all of you friends ...



wink  wink  wink

Last edited by fvirgola80 (2020-04-08 17:47:14)


Nothing happens by chance

Offline

#3348 2020-04-09 12:57:35

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

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

No sooner has "someone" here pronounced the name of the weather service wink and published configurations than there are errors.
This has been going on all day today. Again and again (content of the curr_cond_raw)

<HTML><HEAD>
<TITLE>Gateway Timeout - In read </TITLE>
</HEAD><BODY>
<H1>Gateway Timeout</H1>
The proxy server did not receive a timely response from the upstream server.<P>
Reference&#32;&#35;1&#46;16b51002&#46;1586436088&#46;238272d7
</BODY></HTML>

Teo, I can't help it...   lol  tongue  big_smile

Offline

#3349 2020-04-09 18:20:58

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

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

(sigh)...
Thanks, unklar, I'll see to it as soon as I can...


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

#3350 2020-04-10 08:44:43

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

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

TeoBigusGeekus wrote:

I intend to keep my pc lua free.

May I ask why?
I can understand if and why you'd want to keep your conky lua free, but why keep it off your OS completely?

Offline

#3351 2020-04-10 09:00:42

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

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

Why have it on my OS in the first place?

Last edited by TeoBigusGeekus (2020-04-10 09:03:14)


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

#3352 2020-04-10 09:19:41

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

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

Maybe for VLC and other packages that depend on it?

Offline

#3353 2020-04-10 09:24:12

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

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

Ok, I admit it, it's needed, but I'd get rid of it if I had the chance since I dislike it.
It almost fried my m/b once, running a lua conky.
I know it's convenient for people, but I try to keep its usage at a minimum.


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

#3354 2020-04-10 16:55:42

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 tried accuweather, everything works fine.
How about you unklar?


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

#3355 2020-04-10 17:47:18

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

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

Hello

Acuu in english ↑↑↑↑↑  but un french ↓↓↓↓↓↓↓↓↓↓↓↓↓↓

@+


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

#3356 2020-04-10 17:53:53

ceeslans
Member
Registered: 2015-09-30
Posts: 195

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

No problems with accuweather here, current and forecast weather reports in english as should be.
I did encounter some accuweather site disrupts once or twice though, but recuperated with each script run...

Last edited by ceeslans (2020-04-10 18:08:43)

Offline

#3357 2020-04-10 19:58:03

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

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

Teo, it's okay today.  big_smile


Edit: Just wrote it and it's already changing its mind...   tongue
curr_cond_raw

<html>
<head><title>504 Gateway Time-out</title></head>
<body>
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx</center>
</body>
</html>

Last edited by unklar (2020-04-10 20:07:21)

Offline

#3358 2020-04-10 21:35:56

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

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

Yeah, got it as well, but is seems that Accuweather is down
g1UF6iUt.jpg


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

#3359 2020-04-12 21:54: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)

It seems to be running properly today.


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

#3360 2020-04-13 11:24:05

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

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

TeoBigusGeekus wrote:

Yeah, got it as well, but is seems that Accuweather is down
https://i.imgur.com/g1UF6iUt.jpg

new down  mad  mad

Offline

Board footer

Powered by FluxBB