mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-28 05:27:06 -05:00
12 lines
234 B
Bash
Executable File
12 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
killall -q xwinwrap
|
|
|
|
idx=$(( (RANDOM % 5) + 1))
|
|
if [[ $idx -eq 5 ]];
|
|
then
|
|
xwinwrap -ov -fs -- gifview -w WID -a /home/lain/Pictures/wallpaper.gif 2>/dev/null
|
|
else
|
|
feh --bg-scale /home/lain/Pictures/wallpaper$idx.jpg
|
|
fi
|