#!/usr/bin/python3
import random,subprocess	

r = random.randint(0,255)
g = random.randint(0,255)
b = random.randint(0,255)
col = "{0:02X}{1:02X}{2:02X}".format(r,g,b)
print(col)

command=["i3lock","-c",col,"-t","-i","/home/vdeng/penguin2.png"]
subprocess.run(command)
