Initial commit
This commit is contained in:
commit
5a4404dcd9
|
@ -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
|
|
@ -0,0 +1,4 @@
|
||||||
|
install:
|
||||||
|
install Eternity2.py /usr/local/bin/eternity2
|
||||||
|
uninstall:
|
||||||
|
rm /usr/local/bin/eternity2
|
|
@ -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
|
Binary file not shown.
After Width: | Height: | Size: 1.3 MiB |
Loading…
Reference in New Issue