2022-07-06 07:34:05 +00:00
|
|
|
#!bin/bash
|
|
|
|
|
|
|
|
if ! command -v screen &> /dev/null
|
|
|
|
then
|
|
|
|
sudo apt install screen -y
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
2022-07-06 08:20:40 +00:00
|
|
|
screen -m -d meme-of-the-day
|
2022-07-06 07:34:05 +00:00
|
|
|
sleep 5
|
2022-07-06 08:21:23 +00:00
|
|
|
screen -S meme-of-the-day -X stuff 'python3 $PWD/save-image.py\n'
|