You are not logged in.
Ok, alright then.
@seatommyboy
Weather images simple, nice I like it.
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
Gorgeous!!!
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
Ok, alright then.
@seatommyboy
Weather images simple, nice I like it.
Thank you... I've used this layout for years...
On another note
So, what I found was commenting out the address line in the 1_accuweather script then adding
export address="https://www.accuweather.com/en/us/hutto-tx/78634/weather-forecast/2110192"
to .bashrc, I thought, was the easiest answer. However, after rebooting, it doesn't download the info for the text files or place images in the image output folder. But after killing then restarting conky, everything runs perfrectly. I'm not sure why this is as it doesn't really seem to throw any kind of errors.
As for keeping the repo clean, adding a .gitignore file to the root will fix the potential conflicts with files generated by the script.
curr_cond
curr_cond_raw
daily_forecast
forecast_2015/*
forecast_2016/*
And you should be able to safely remove the .gitkeep file in the images folder. Otherwise, if you get the empty folder conflict, you can replace it with a .gitignore file and add
*.png
Last edited by seatommyboy (2019-09-01 15:05:14)
Offline
One of the main reasons I keep a separate folder for the working script and the git repo is that in the version of the script that I'm using I've added some lines to do some custom stuff, unrelated to a weather forecast.
So I guess I'll keep it like this for the time being.
As for conky updating after a reboot, have you put the correct command in the weather_conky_launch_command variable?
This is used for pausing and resuming conky so that the text files and images have time to get generated before conky populates the desktop.
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
One of the main reasons I keep a separate folder for the working script and the git repo is that in the version of the script that I'm using I've added some lines to do some custom stuff, unrelated to a weather forecast.
So I guess I'll keep it like this for the time being.As for conky updating after a reboot, have you put the correct command in the weather_conky_launch_command variable?
This is used for pausing and resuming conky so that the text files and images have time to get generated before conky populates the desktop.
I left the command to conky -b (default)
But un-commenting my address line fixes the conky not updating after reboot.
Offline
One of the main reasons I keep a separate folder for the working script and the git repo is that in the version of the script that I'm using I've added some lines to do some custom stuff, unrelated to a weather forecast.
So I guess I'll keep it like this for the time being.
You can always create a separate branch for the other config and switch between them. You can sync whatever you want (one branch, all, etc), and also you have full diff of the branches, so you can compare any changes at any time in the future. So it's still a way easier to maintain the code.
Offline
TeoBigusGeekus wrote:One of the main reasons I keep a separate folder for the working script and the git repo is that in the version of the script that I'm using I've added some lines to do some custom stuff, unrelated to a weather forecast.
So I guess I'll keep it like this for the time being.You can always create a separate branch for the other config and switch between them.
You can sync whatever you want (one branch, all, etc), and also you have full diff of the branches, so you can compare any changes at any time in the future. So it's still a way easier to maintain the code.
I hadn't read about branches, you're right, it would solve this problem.
But it would essentially be the same, wouldn't it?
I'd have to keep two copies of the script as I do now.
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
Trying something with a moon picture, work in progress, just an idea
Last edited by ragamatrix (2019-09-02 16:13:09)
Offline
I hadn't read about branches, you're right, it would solve this problem.
But it would essentially be the same, wouldn't it?
I'd have to keep two copies of the script as I do now.
Look here -- you have there a kernel source and many branches, each for "different" kernel.
Whenever you make some changes, you should ask yourself a question "should this change go to the project directly?". If not, you create a branch. You can have temporary branches, for instance you create a branch called "dev" and you commit changes there till the thing you wanted to do is complete, and after some weeks/months you merge it. But when you look at the kernel git tree, you can see they have branches called 5.1.y or 5.2.y and those branches will never be merged. They share some code, and at some point in time they split and live on their own.
Simply, you can do whatever you want.
Offline
Trying something with a moon picture, work in progress, just an idea
![]()
https://cdn.scrot.moe/images/2019/09/02 … -10-45.png
WOW!!!!! VERY NICE!
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
2_Wunderground
Teo,
I often don't see the moon icon, because the name is not available in WU_Moon.
Error message reads:
cp: der Aufruf von stat für '/home/unklar/2_Wunderground/WU_Moon/n-3.png' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
cp: der Aufruf von stat für '/home/unklar/2_Wunderground/WU_Moon/n-3.png' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
The file moon_icon contains:
3
with 03 everything would be ok...
Offline
@ragamatrix
Yes I agree with S11, beautiful indeed.
@morfik
How can I make changes to both files, the script intended for the public and my version of the script, using branches?
@unklar
Working on it mein Freund.
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
Just create a new branch and switch to it. Make some changes and when you switch to the other branch, files will be set according to the status of the branch you switched to, and so on.
Last edited by morfik (2019-09-02 21:35:58)
Offline
Yeah, but I still have to keep two physical copies of it, don't I?
For me it sounds like a recipe for disaster...
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
ANNOUNCEMENT
Updated the 2_Wunderground script to fix the single digit moon phase icon problem.
Thanks to unklar for reporting it.
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
Yeah, but I still have to keep two physical copies of it, don't I?
For me it sounds like a recipe for disaster...
No. Like in the case of the kernel source, there's only one tree, but many version, and you can switch between them, commit changes, etc. Everything is in one place. Every change you do will always be visible in the diff before you commit anything.
Last edited by morfik (2019-09-02 21:48:58)
Offline
Yeah, but how do I get to test the different versions of the script?
I created a private repository on gitlab and added this folder
As you can see I have two versions of the script: 1_accuweather and 1_accuweather_teo_version
There's also a .gitignore file
Forecast_Images_2016/svg2png
Forecast_Images_2016/tt
Forecast_Images_2016_ds/
forecast_2015/*.png
forecast_2016/*.png
hourly_2015/*.png
hourly_2016/*.png
What_Is_What.odt
1_README.odt
1_Output_of_the_script.ods
curr_cond
curr_cond_raw
daily_forecast
hourly
hourly_raw1
hourly_raw2
altogether24_2016
altogether24
altogether24_2015
1_accuweather_teo_version
I use the second version; say I make some changes to it.
How do I update the first, official version?
I test the conkyrcs with my script, do I have to edit them all, replace the calls for 1_accuweather_teo_version with 1_accuweather, test them, push them and then replace the calls again so that I have them working with my version of the script?
Is this inception?
Am I too confused?
Probably...
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
Yeah, but how do I get to test the different versions of the script?
As you can see I have two versions of the script: 1_accuweather and 1_accuweather_teo_version
Basically, when you created the git repository and put 1_accuweather there -- that should go to one branch (and it did -- master). Then you create a new branch, switch to it, and make changes (the same you did to 1_accuweather_teo_version) and commit them. Now you have two branches, each of which has different changes made to the 1_accuweather file. And you can switch between branches, and when you do so, a different state of this file will be restored depending on the changes in the corresponding branch. Don't create another file.
Offline