From: Frank Brehm Date: Sat, 17 May 2014 06:16:47 +0000 (+0200) Subject: Minor changes X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=142f6a6a714b4b91699a5179502157a8c6ae8bdd;p=my-stuff%2Fpython.git Minor changes --- diff --git a/DE-env.py b/DE-env.py index f9a4b6d..f4ca499 100755 --- a/DE-env.py +++ b/DE-env.py @@ -226,6 +226,7 @@ def get_home_dir(): bg_dirs = [ '/home/fbrehm/Bilder/Wallpaper', + '/home/frank/Bilder/bg', '/usr/share/backgrounds', ] @@ -257,8 +258,8 @@ gsettings = Gio.Settings.new(SCHEMA) cur_wpaper = gsettings.get_string(KEY) print("Current Wallpaper: %r." % (cur_wpaper)) -if os.path.exists(wpaper) and os.path.isfile(wpaper): - print("Setting Wallpaper to: %r." % (wpaper)) - gsettings.set_string(KEY, wpaper) +print("Setting Wallpaper to: %r." % (wpaper)) +#if os.path.exists(wpaper) and os.path.isfile(wpaper): +# gsettings.set_string(KEY, wpaper) # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4