9 lines
200 B
Bash
Executable file
9 lines
200 B
Bash
Executable file
#!/bin/sh
|
|
|
|
name=$(find ~/pictures/wallpapers -type f | shuf -n 1)
|
|
# xwallpaper --zoom $name
|
|
PID=$(pidof swaybg)
|
|
swaybg -i "$name" -m fill &
|
|
sleep 0.4
|
|
kill "$PID"
|
|
echo "$name" | tee /tmp/wallpapername
|