|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
bot.py | 2 years ago | |
lock.py | 2 years ago | |
sample.config.py | 2 years ago | |
screenshot.sh | 2 years ago |
A bot intended to check the state of your PC (screenshots and check if locked)
scrot
, python3
, pip3
using your package manager.
sudo pacman -S scrot python python-pip
sudo apt install python3 python3-pip scrot
python-telegram-bot
pip3 install python-telegram-bot
pip3 install --user python-telegram-bot
git clone https://gitlab.com/ceda_ei/pc-monitor-bot
cd pc-monitor-bot
cp sample.config.py config.py
config.py
using a text editorpython3 bot.py
python3 lock.py lock
and python3 lock.py unlock
around your lock script to send messages when screen is locked and unlocked.