commit 5a4404dcd9b5a4b03b07d39a46718b8c619b3118 Author: Niles Rogoff Date: Mon Jan 16 23:51:48 2017 -0500 Initial commit diff --git a/Eternity2.py b/Eternity2.py new file mode 100755 index 0000000..e58e20c --- /dev/null +++ b/Eternity2.py @@ -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 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a5fed4c --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +install: + install Eternity2.py /usr/local/bin/eternity2 +uninstall: + rm /usr/local/bin/eternity2 diff --git a/Readme.MD b/Readme.MD new file mode 100644 index 0000000..05d4498 --- /dev/null +++ b/Readme.MD @@ -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 diff --git a/example.png b/example.png new file mode 100644 index 0000000..57ae9e5 Binary files /dev/null and b/example.png differ