diff --git a/.gitignore b/.gitignore index 6575f94..e6bdf91 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,10 @@ -__pycache__ +#Python +__pycache__/ *.pyc *.pyo *.pyd *.pdb -*.pyt \ No newline at end of file +*.pym +*.pyt +*.pyc.* +*.pyo.* \ No newline at end of file diff --git a/ui/gui.py b/ui/gui.py index 08054e0..b0b266d 100644 --- a/ui/gui.py +++ b/ui/gui.py @@ -61,7 +61,14 @@ def main(): app.setApplicationName("CLARA") pet = MainWindow() - pet.move(200, 200) + + # bottom right corner + screen_geometry = app.primaryScreen().availableGeometry() + pet_geometry = pet.frameGeometry() + x = screen_geometry.width() - pet_geometry.width() + y = screen_geometry.height() - pet_geometry.height() + pet.move(x, y) + pet.show() sys.exit(app.exec()) \ No newline at end of file