I'm not best about making memories and I always working with my computer because of these I created this script for automatic generate memories for me.
- Install fswebcam.
- I use Arch GNU/Linux and I installed with
yay -S fswebcam
. If you don't use Arch or Arch based distro you can search with "duckduckgo.com" how can you install for your distro.
- Clone the repo.
cd where_your_repo
chmod +x ./random_pic.sh
./random_pic.sh
I created an alias in $HOME/.zshrc for this script:
alias rndpic="$HOME/bash_scripts/random_pic.sh"