Loading .shell/bin/wallpaper.py +4 −2 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ else: cmd = ['feh', '--no-fehbg', '--no-xinerama', '--bg-fill', None] while 1: cmd[-1] = random.choice(list(all_files())) files = list(all_files()) if files: cmd[-1] = random.choice(files) subprocess.call(cmd) time.sleep(random.randint(MIN_DELAY_SECS, MAX_DELAY_SECS)) Loading
.shell/bin/wallpaper.py +4 −2 Original line number Diff line number Diff line Loading @@ -28,6 +28,8 @@ else: cmd = ['feh', '--no-fehbg', '--no-xinerama', '--bg-fill', None] while 1: cmd[-1] = random.choice(list(all_files())) files = list(all_files()) if files: cmd[-1] = random.choice(files) subprocess.call(cmd) time.sleep(random.randint(MIN_DELAY_SECS, MAX_DELAY_SECS))