diff --git a/README.md b/README.md index 3250bde..9cb35d4 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,6 @@ Library to make writing audiogames easier. ## Requirements -configparser pyxdg pygame pyperclip requests +configparser pyxdg pygame pyperclip requests setproctitle ### For mac os X and windows accessible_output2 diff --git a/libstormgames.py b/libstormgames.py index 77064c0..bfd5dfc 100755 --- a/libstormgames.py +++ b/libstormgames.py @@ -9,6 +9,7 @@ from os import listdir from os.path import isfile, join from inspect import isfunction from xdg import BaseDirectory +from setproctitle import setproctitle import pygame import pyperclip import random @@ -129,6 +130,7 @@ def initialize_gui(gameTitle): # Set game's name global gameName gameName = gameTitle + setproctitle(str.lower(str.replace(gameTitle, " ", ""))) # start pygame pygame.init() # start the display (required by the event loop)