Set program title to fgg. chmod -x on fgg.rb.

This commit is contained in:
Johannes Findeisen 2022-11-21 01:10:36 +01:00
commit 4f32e05e53
2 changed files with 6 additions and 0 deletions

6
fgg
View file

@ -36,8 +36,14 @@ import json
import pathlib
import os
import requests
import sys
import time
# Set the title for Linux and macOS.
sys.stdout.write("\x1b]2;fgg\x07")
# Set the title for Windows.
os.system("fgg")
__version__ = "0.1.0"
flickr_api_key = os.environ['FLICKR_API_KEY']

0
fgg.rb Executable file → Normal file
View file