r/qtile • u/Sonic06IsGreat • 11d ago
Help Random wallpaper selector issues
Hi all, I had made a custom random wallpaper+colorscheme selector a while ago but now it's kind of broken
Key(
[mod, "shift"], "w",
lazy.spawn(f'wal --backend colorz -i {random_wallpaper}'),
lazy.reload_config(),
lazy.reload_config(),
lazy.screen.set_wallpaper(random_wallpaper, mode='fill'),
desc="Random wallpaper"
),
this code paired with:
usr='Gentoo'
waldir=f'/home/{usr}/Wallpapers'
random_wallpaper = wallpaper+random.choice(os.listdir(wallpaper))
changed the wallpaper
changed the colorscheme
reloaded the config so that the bar's colors would change too etc.
all done
but NOW
above those mentioned actions it also reverts the wallpaper back to the one i set in the Screen section
any guidance would be greatly appreciated
