diff options
author | Tom Willemse | 2022-10-18 21:31:25 -0700 |
---|---|---|
committer | Tom Willemse | 2022-10-18 21:31:25 -0700 |
commit | dd28fd0fe3641cefe3b8ddb4d3be1112a9d38268 (patch) | |
tree | 06fc004ada7c88020c1845811a2536f1de82fa6c | |
parent | 0ab6f2235298e4a25004bcd7193c2e87ee062718 (diff) | |
download | pick-random-wallpaper-dd28fd0fe3641cefe3b8ddb4d3be1112a9d38268.tar.gz pick-random-wallpaper-dd28fd0fe3641cefe3b8ddb4d3be1112a9d38268.zip |
-rw-r--r-- | README.org | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/README.org b/README.org new file mode 100644 index 0000000..54bf46c --- /dev/null +++ b/README.org @@ -0,0 +1,27 @@ +#+title: Pick Random Wallpaper +#+options: toc:nil num:nil + +A simple script that searches through any number of image files and picks one at random to set as the current wallpaper. + +This script also tells [[https://herbstluftwm.org/][herbstluftwm]] what wallpaper it picked so that other scripts can work off of that. + +* Requirements + +This script requires [[https://scsh.net/][scsh]], [[https://www.gnu.org/software/findutils/][findutils]], [[https://www.x.org/wiki/][xwininfo]], [[https://feh.finalrewind.org/][feh]], and [[https://herbstluftwm.org/][herbstluftwm]]. + +* Installation + +Put the =pick-random-wallpaper= script anywhere in your =$PATH=. + +* Usage + +Call the =pick-random-wallpaper= script without any arguments. It assumes that wallpapers are stored in =$HOME/pictures/wallpaper= under the resolution that they are for. It also looks at =$HOME/pictures/wallpaper/patterns/= for any tiled patterns. The hierarchy might look like: + +: ~/pictures/wallpaper/ +: |- 1024x768 +: | \- a.jpg +: |- 5120x1440 +: | |- b.png +: | \- sonic.jpg +: \- patterns +: \- sandstone.png |