snakeware

Python-based Linux distro for x86-64 and RPi
git clone git://squid-tech.com/snakeware.git
Log | Files | Refs | README

commit e6c0a282723782fa229ee5a2b0bc0ff2eabf585e
parent c5d4fb73402ae132d5b8a476e1db47342bb64f89
Author: Josh Moore <jxm5210@rit.edu>
Date:   Thu, 28 May 2020 15:00:24 -0400

Mark app menu finished, remove hardcoded hotkeys

Diffstat:
MREADME.md | 2+-
Msnakewm/wm.py | 5+----
2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md @@ -61,7 +61,7 @@ the Python environment, so ideas about that are welcome. This is an abridged list of future plans: * Many more snakewm apps -* App menu for choosing apps to run +* ~~App menu for choosing apps to run~~ * Improved/streamlined build system * Improved kernel config * Take advantage of pygame_gui's theme functionality diff --git a/snakewm/wm.py b/snakewm/wm.py @@ -127,10 +127,7 @@ class SnakeWM: if pressed[pygame.K_LALT]: if event.key == pygame.K_ESCAPE: running = False - elif event.key == pygame.K_h: - self.loadapp("apps.test.HelloWorld") - elif event.key == pygame.K_p: - self.loadapp("apps.games.pong") + return pygame.quit() self.MANAGER.process_events(event)