You are not logged in.

#1821 2023-03-22 06:26:43

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

Re: Show us your conky

Hello

@ unklar

Open-meteo für 8 Uhr morgens , dann "10H00" "11H00" ect ...

${texeci 600 cat $HOME/conky-openmeteo/rawdata/rawsuisse | jq --raw-output '.fcst_day_0.hourly_data."8H00".CONDITION'}

Achtung im Gegensatz zu accuweather
du musst die Stunden auswählen, die du im conky sehen willst

@+

Open-meteo for 8 a.m. then "10H00" "11H00" ect

then

Attention in contrast to accuweather
you have to select the hours you want to see in the conky


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

#1822 2023-03-22 07:13:04

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

Re: Show us your conky

Désolé @loutch, je ne me suis pas exprimé correctement. Je parlais du script accuweather.  wink

Offline

#1823 2023-03-22 08:07:47

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

Re: Show us your conky

Okay

${execpi 600 sed -n  '7p' $HOME/Accuweather_conky_script_fr/temp/hourly}

Für die ikönen

${lua fDrawImage $HOME/Accuweather_conky_script_fr/loutch_hourly_images/hourly_1.png   10 232 70 42}

hier das Skript von marens für mein französische Version

#!/bin/bash

rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_1.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_2.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_3.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_4.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_5.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_6.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_7.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_8.png

hourly_1=$(sed -n '3p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_2=$(sed -n '13p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_3=$(sed -n '23p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_4=$(sed -n '33p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_5=$(sed -n '43p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_6=$(sed -n '53p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_7=$(sed -n '63p' $HOME/Accuweather_conky_script/temp/hourly)
hourly_8=$(sed -n '73p' $HOME/Accuweather_conky_script/temp/hourly)

cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_1".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_1.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_2".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_2.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_3".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_3.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_4".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_4.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_5".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_5.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_6".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_6.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_7".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_7.png
cp $HOME/Accuweather_conky_script/Forecast_Images_2015/"$hourly_8".png $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_8.png

@+

Last edited by loutch (2023-03-22 08:15:44)


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

#1824 2023-03-22 11:09:29

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

Re: Show us your conky

Merci loutch, c'est fait. J'ai trouvé. wink
https://forums.bunsenlabs.org/viewtopic … =189&p=211

trCXCrEt.png

Last edited by unklar (2023-03-22 11:11:17)

Offline

#1825 2023-03-22 13:34:18

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

@loutch
@unklar

You can change this script.
Shorter version:

Replace the rm section

rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_1.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_2.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_3.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_4.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_5.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_6.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_7.png
rm $HOME/Accuweather_conky_script/loutch_hourly_images/hourly_8.png

with

rm $HOME/Accuweather_conky_script/loutch_hourly_images/*

Edit 1

My Radio Tray NG always works.
I inserted a line between the current temperature and the daily forecast:

${font Ubuntu:size=10:italic}${alignc}${color1 0098FF}Radio Tray    ${color F2DA40}${texeci 5 pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}'}

Edit 2
Added  Radio Tray  Disabled  option.

${font Ubuntu:size=10:italic}${alignc}${color 0098FF}Radio Tray    \
${if_empty ${texeci 5 pacmd list-sink-inputs | grep 'Radiotray-NG'}}${color FF8080}Disabled\
${else}${color F2DA40}${texeci 5 pacmd list-sink-inputs | grep -A 2 'Radiotray-NG' | awk 'END{print}' | awk -F'"' '{print $2}' | sed 's/-/ - /g'}${endif}

More details:
https://forums.bunsenlabs.org/viewtopic … 53#p126153

Last edited by marens (2023-03-26 13:23:22)


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1826 2023-03-22 16:12:55

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

Re: Show us your conky

@ marens

okay

@+


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

#1827 2023-03-23 08:53:22

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

Re: Show us your conky

@marens,
many thanks!  wink

Offline

#1828 2023-03-25 07:05:04

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

Re: Show us your conky

Hello

Conkys works great

Capture-d-cran-2023-03-25-08-03-27.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

#1829 2023-03-25 13:10:35

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

@loutch

Very nice.

Your creativity, energy and the work you put in are incredible.
I will share with you my old conky.
You will know how to use it.
As a new conky or for implementation in an existing conky.

Europe Weather Radar Map from sat24.com

Make simple script radar_map.sh in Accuweather_conky_script folder:

#!/bin/bash

  rm $HOME/Accuweather_conky_script/image.ashx?country=eu

  wget -o /dev/null -P $HOME/Accuweather_conky_script -k https://www.sat24.com/image.ashx?country=eu&type=zoom&format=640x480001001&rnd=610703 &

exit

Make script executable.

Conky text:

${texeci 3600 bash $HOME/Accuweather_conky_script/radar_map.sh}${image $HOME/Accuweather_conky_script/image.ashx?country=eu -p 0,0 -s 845x615}
${voffset 260}${alignc}${font Ubuntu:size=22}${color FF6060}Europe Weather Radar Map

europe-radar-map.png


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1830 2023-03-26 15:57:51

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

Re: Show us your conky

Hello

earth full disk  image tired from this

world-sunlight-map.jpg


donne this

Capture-d-cran-2023-03-26-20-35-43.png

@+

Last edited by loutch (2023-03-26 18:36:33)


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

#1831 2023-03-27 08:19:05

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

Re: Show us your conky

@loutch,

peut-être comme point de départ.
Mais il n'est qu'en allemand et plus bas, il y a des sources supplémentaires.


perhaps as a starting point.
But it is only in german and further below are additional sources.

Offline

#1832 2023-03-27 12:14:13

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

Re: Show us your conky

Hello

@ unklar

Danke, mein Freund, aber da ich auf 22.04 bin, fehlen zu viele alte Abhängigkeiten und die Installation ist nicht abgeschlossen .



Thank you my friend but as I am on 22.04 there are too many old dependencies missing , the installation is not done .


@+


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

#1833 2023-03-31 18:22:24

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

Re: Show us your conky

Hello guys

I miss the old version of conky which allowed the click on it.

Now I have to put shortcuts in a dashboard, it works too but it's less fun.

I still managed to make something decent.

Here the normals conkys

Capture-d-cran-2023-03-31-20-05-12.png

slideshow conky
Capture-d-cran-2023-03-31-20-05-56.png

radiotrayng conky
Capture-d-cran-2023-03-31-20-06-22.png

audacious conky
Capture-d-cran-2023-03-31-20-06-49.png

Here with the three conky's in overlay
Capture-d-cran-2023-03-31-20-07-15.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

#1834 2023-03-31 22:33:17

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

Would it help to create keyboard shortcuts to Enable/Disable each conky?


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1835 2023-04-01 02:47:17

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

Re: Show us your conky

loutch wrote:

Hello guys

I miss the old version of conky which allowed the click on it.

@+

Are you talking about MrPeachy's "clickable" conkys?
Also falldown did a LOT of work on those as well?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1836 2023-04-01 06:31:57

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

Re: Show us your conky

Hello

marens wrote:

Would it help to create keyboard shortcuts to Enable/Disable each conky?

Yes, that's right, I hadn't thought of that.
I'll look into it.
Thanks again.

@Sector11

I can't remember if it was MrPeachy
I had started to get interested in it during the making of Met30's Oblivion conky.
I had made my conky audacious click which worked like a charm.

I don't know anything about falldown's work on this subject, sorry


@+


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

#1837 2023-04-01 06:51:55

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

Re: Show us your conky

RE


loutch wrote:

Hello

marens wrote:

Would it help to create keyboard shortcuts to Enable/Disable each conky?

Yes, that's right, I hadn't thought of that.
I'll look into it.
Thanks again.

Done, it's true that it's more fun than with the mouse.
Now I have to write them down somewhere.

@+


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

#1838 2023-04-01 12:01:32

marens
Member
From: World without M$
Registered: 2023-02-02
Posts: 827

Re: Show us your conky

loutch wrote:

Now I have to write them down somewhere.

Would this help?

Same keyboard shortcut for enable/disable Audacious conky.

For testing i created Audacious conky in the my HOME folder and file keyboard_shortcut_audacious:

#!/usr/bin/env bash

# Testing if conky Audacious is enabled
# Add Conky Name not Path
runningConkys=$(pgrep -a conky | awk '/Audacious/{print $1}')

if [[ -z "$runningConkys" ]]; then

    # Start Conky Audacious if Disabled
    # Add Conky Path
    conky -q -c $HOME/Audacious &
else
    
    # Disable Conky Audacious if Enabled
    echo "$runningConkys" | xargs -n 1 kill -15
fi

Make file executable.

Set Custom Shortcut in System Settings: CTRL + ALT + A
Command: /path/to/file/keyboard_shortcut_audacious.


If people would know how little brain is ruling the world, they would die of fear.

Offline

#1839 2023-04-01 12:58:39

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

Re: Show us your conky

Hello

@ Marens

Tanks

I used this script since a few years  to launch et kill audacious & his conky, work great .

audacious.sh

#!/bin/bash

PROG_NAME1="conky -c /home/$USER/.conky/adni18/configs/audacious"	# Nom du programme à  démarrer/arrêter.
PROG_NAME2="/usr/bin/audacious" # Nom du programme à  démarrer/arrêter.

PROCESSPID1=$(pgrep -f /home/$USER/.conky/adni18/configs/audacious)	# Récupère le PID du processus.
PROCESSPID2=$(pgrep -f "usr/bin/audacious")	# Récupére le PID du processus.


if [[ "$PROCESSPID1" != ""  && "$PROCESSPID2" != "" ]]; then	# Si les deux processus existe alors on le(s) kill.
        kill $PROCESSPID1 && echo "Stop $PROG_NAME1 (PID: $PROCESSPID1)"
        kill $PROCESSPID2  && echo "Stop $PROG_NAME2 (PID: $PROCESSPID2)"
else	# Si aucun processus on démarre le programme.
        kill $PROCESSPID1 
        $PROG_NAME1 & 
        echo "Start $PROG_NAME1"
        kill $PROCESSPID2  
        $PROG_NAME2 & 
        echo "Start $PROG_NAME2"
        if [[ "$PROCESSPID1" == ""  || "$PROCESSPID2" == "" ]]; then	# Si un des processus n'existe pas alors on le(s) kill.
                kill $PROCESSPID1 && echo "Stop $PROG_NAME1 (PID: $PROCESSPID1)"
                kill $PROCESSPID2  && echo "Stop $PROG_NAME2 (PID: $PROCESSPID2)"
                echo "Il y a eu un souci au lancement tout a été coupé"
        fi
fi

exit 0

I do the same with radiotraynd.

@+


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

#1840 2023-04-01 13:29:04

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

Re: Show us your conky

Re

with conky 1.9 & lua

lua_load ~/.conky/lua/image.lua

lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/baro.lua
lua_draw_hook_pre main
 
lua_load ~/.conky/conky-meteo/meteo_lua_2/scripts/textwriting.lua
lua_draw_hook_post draw_text
 

since conky 1.10 i must create 3 same conkyrc file to launch this three lua script.

here my three lua

lua_load = '~/.conky/lua/image.lua',

lua_load = ' ~/.conky/adni18/textwriting.lua',
lua_draw_hook_post = 'draw_text',

lua_load = ' ~/.conky/adni18/baro.lua',
lua_draw_hook_pre = 'main',

Is that possible to make any lua file who launch the 3  lua file in the same conky.

Many tanks


@+

Last edited by loutch (2023-04-01 14:33:31)


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

Board footer

Powered by FluxBB