


Parsed_args = get_city( args)Įxcept ( urllib. '-c', '-city', metavar = 'name', type = str, 'With this option, no internet connection is required.', Wallpapers will only be changed based on the time of day.' Help = 'Disable the weather functionality of the script. Help = 'Show the image file-naming rules and exit.', Type = int, choices =, default = 3, required = False) Help = '''Use different backgrounds for different times. Help = 'Specify time (in seconds) to wait before updating. '-w', '-wait', metavar = 'seconds', type = int, '-f', '-format', metavar = 'format', type = str, '-d', '-dir', metavar = 'directory', type = str, If you use -no-weather, the files have to be named simply after the time of day depending of your time schema.ĭescription = '''WeatherDesk - Change the wallpaper based on the weatherįormatter_class = argparse. "day-", "night-" or "evening-" in front of filename.
Weather images for weatherdesk how to#
This is how to name files in the wallpaper directory: \n # along with WeatherDesk (in the LICENSE file). # You should have received a copy of the GNU General Public License # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # WeatherDesk is distributed in the hope that it will be useful, # the Free Software Foundation, either version 3 of the License, or # it under the terms of the GNU General Public License as published by # WeatherDesk is free software: you can redistribute it and/or modify
