feat: comments for wallpaper_random.py

This commit is contained in:
Ryan Yin
2023-07-30 00:04:39 +08:00
parent a310ab4d4a
commit 32161dd090

View File

@@ -1,5 +1,12 @@
#!/usr/bin/env python3
"""
This script will randomly select a wallpaper from the wallpapers directory.
It will skip the last wallpaper used, so that you don't get the same wallpaper.
It will also set the wallpaper using `feh` for X11, or `swaybg` for Wayland.
"""
import os
import time
import random