]> git.phdru.name Git - xsetbg.git/commitdiff
Order options by name
authorOleg Broytman <phd@phdru.name>
Wed, 31 Dec 2014 22:03:37 +0000 (01:03 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 31 Dec 2014 22:03:37 +0000 (01:03 +0300)
xsetbg.py

index b932c81340255e486d37d756a749ea38ffec01e2..37bd04ca974f2d474982943534b3920c8db3211a 100755 (executable)
--- a/xsetbg.py
+++ b/xsetbg.py
@@ -183,9 +183,9 @@ def change(force=False):
          xsetbg_db[old_filename_key] = xsetbg_db[filename_key]
       xsetbg_db[filename_key] = image_name
 
-      program_options = ["xli", "-onroot", "-quiet"] + \
-         ["-center", "-border", random.choice(borders), "-zoom", "auto",
-            image_name]
+      program_options = ["xli", "-border", random.choice(borders),
+                         "-center", "-onroot", "-quiet", "-zoom", "auto",
+                         image_name]
 
       rc = subprocess.call(program_options)
       if rc: