wayland removed
This commit is contained in:
7
main.py
7
main.py
@@ -69,7 +69,12 @@ def main():
|
||||
dukto_handler.initialize()
|
||||
dukto_handler.say_hello()
|
||||
|
||||
pet.position_bottom_right()
|
||||
# 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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user