thomas10-10/foo-Wallpaper-Feh-Gif

Doesn't handle ctrl-c SIGINT in loops

Opened this issue · 0 comments

If you put this at the beginning of your script, then ctrl-c would behave as expected while the script is in the loop:

trap "echo Exited!; exit;" SIGINT SIGTERM