Added Shortcut for dotfiles.sh and exec at startup, termite bit darker, cleanup i3lock.py, encountered ssh error so....

This commit is contained in:
TuDatTr
2017-12-21 07:49:37 +01:00
parent ddaf756c6f
commit 37a3fff3c9
4 changed files with 7 additions and 12 deletions

View File

@@ -9,8 +9,7 @@ def screenshot():
def pixelate():
# backgroundColor = (0,)*3
pixelSize = 9
pixelSize = 12
image = Image.open('/tmp/i3lock.png')
image_x = image.size[0]
@@ -24,13 +23,6 @@ def pixelate():
image = image.resize((image_x * pixelSize, image_y * pixelSize),
Image.NEAREST)
# image.load()
# for i in range(0,image.size[0],pixelSize):
# for j in range(0,image.size[1],pixelSize):
# for r in range(pixelSize):
# pixel[i+r,j] = backgroundColor
# pixel[i,j+r] = backgroundColor
image.save('/tmp/i3lock.png')