mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-30 22:42:11 -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
|