dotfiles/scripts/swww_set.py

9 lines
259 B
Python
Executable file

#!/bin/env python
"""Sets a new background for the monitors immediately"""
from lib.swww import IMMEDIATE_TRANSITION_ARGS, run_swww, sample_wallpapers
for monitor, wallpaper in sample_wallpapers():
run_swww(monitor, wallpaper, IMMEDIATE_TRANSITION_ARGS)