pc-monitor-bot/sample.config.py

21 lines
783 B
Python
Raw Permalink Normal View History

2018-10-02 17:19:46 +02:00
# Create a new bot by messaging @BotFather and follow the instructions
# Replace the key by the actual token recieved from BotFather
api_key = "123456789:xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
2018-10-03 16:15:19 +02:00
# User ID of the user allowed to use the bot. Replace 123456789 with
# your own user id.
2018-10-02 17:19:46 +02:00
master_id = 123456789
2018-10-03 16:15:19 +02:00
# Command to lock the screen. Replace the command with actual command.
lock = "xautolock -locknow"
2018-10-03 17:25:42 +02:00
# Command to check if it is running to see if the screen is locked
# Put the name of process that is running only when the screen is
# locked.
lock_process = "i3lock"
# Lock and unlock message. The date is parsed according to strftime.
# Check man strftime or http://strftime.org/
lock_message = "You have locked your system - %c"
unlock_message = "You have unlocked your system - %c"