aboutsummaryrefslogtreecommitdiff
path: root/quiz.py
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-07-19 18:07:53 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-07-19 18:07:53 +0200
commitdc8f4ffd41fa854d18bec424dfffa379156e9b34 (patch)
tree41c8860ff75c105a3457ee842217cee30bdcbb02 /quiz.py
parentbf4a8ab2d9350000d93d3df80b62c9bb94c70921 (diff)
downloadquiz-dc8f4ffd41fa854d18bec424dfffa379156e9b34.tar.gz
quiz-dc8f4ffd41fa854d18bec424dfffa379156e9b34.zip
set default window location to 0, -200
Diffstat (limited to 'quiz.py')
-rwxr-xr-xquiz.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/quiz.py b/quiz.py
index f3b3c3e..7cf81ea 100755
--- a/quiz.py
+++ b/quiz.py
@@ -31,6 +31,8 @@ CORRECT_SOUND = Path(__file__).parent / 'Correct.mp3'
SHOW_QUESTION_CMD = 'xdg-open'
+sg.SetOptions(window_location=(0, -200))
+
def err(msg: str, status=1):
"""Print the error message to stderr and exit with status"""