Switch fim to seeded random since it uses the time since the epoch which is safe to call even on a schedule

This commit is contained in:
KemoNine 2020-09-05 17:50:33 -04:00
parent 98d5fdce2f
commit e979318132

View file

@ -32,7 +32,7 @@ func setupFim(PATH_TEMP_FOR_SLIDESHOW string) {
ARGS_FIM := []string{"--no-commandline", "--no-history", "--etc-fimrc", "/usr/local/etc/fimrc", ARGS_FIM := []string{"--no-commandline", "--no-history", "--etc-fimrc", "/usr/local/etc/fimrc",
"--device", "/dev/fb0", "--vt", "1", "--device", "/dev/fb0", "--vt", "1",
"--execute-commands-early", "\"clear\"", "--final-commands", "\"clear\"", "--execute-commands-early", "\"clear\"", "--final-commands", "\"clear\"",
"--autozoom", "--random-no-seed", "--recursive", "--cd-and-readdir", "--autozoom", "--random", "--recursive", "--cd-and-readdir",
PATH_TEMP_FOR_SLIDESHOW} PATH_TEMP_FOR_SLIDESHOW}
// fim command that'll be executed // fim command that'll be executed