mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
14 lines
179 B
Bash
Executable File
14 lines
179 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# set -Eeuo pipefail
|
|
|
|
DIR=/home/sudacode/Pictures/wallpapers/
|
|
|
|
img=$(ls $DIR | shuf -n 1)
|
|
|
|
if [[ $# -gt 0 && $1 == "-v" ]]; then
|
|
echo $img
|
|
fi
|
|
|
|
feh --bg-scale $DIR$img
|