Initial commit

This commit is contained in:
Niles Rogoff 2017-01-16 23:51:48 -05:00
commit 5a4404dcd9
No known key found for this signature in database
GPG Key ID: B78B908F23430F80
4 changed files with 49 additions and 0 deletions

17
Eternity2.py Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env python3
import pygame, pygame.locals, pygame.image
import sys
pygame.init()
pygame.display.set_caption('Eternity2')
image = pygame.image.load(" ".join(sys.argv[1:]))
screen = pygame.display.set_mode((image.get_width(), image.get_height()), pygame.NOFRAME)
screen.blit(image.convert(), (0,0))
pygame.display.flip()
while True:
# if pygame.event.wait().type in (pygame.locals.QUIT, pygame.locals.KEYDOWN, pygame.locals.MOUSEBUTTONDOWN):
if pygame.event.wait().type in (pygame.locals.QUIT, pygame.locals.MOUSEBUTTONDOWN):
break

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
install:
install Eternity2.py /usr/local/bin/eternity2
uninstall:
rm /usr/local/bin/eternity2

28
Readme.MD Normal file
View File

@ -0,0 +1,28 @@
>"Between the idea
>And the reality
>Between the motion
>And the act
>Falls the Shadow"
## Eternity, but useable
Imagine my surprise when I tried to use [Eternity](https://github.com/EZ3CHI3L/Eternity), my [window to the good](https://u.nya.is/zcdfzn.png), only to find out that attempting to compile it leads to a [2000+ line error message](http://i.imgur.com/aYBpc2P.png).
I just rewrote it in python
Click to dismiss. Most window managers let you drag the window around by holding alt and clicking and dragging, or by pressing a keyboard combination.
Example:
![](http://i.imgur.com/cw7rPIA.jpg)
Depends on pygame
### Planned features
* resizing/scaling
* transparency

BIN
example.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB