Commit 64eb9925 authored by Bastien Terrier's avatar Bastien Terrier
Browse files

get screen size

parent 177bab3b
import sys #args
import gtk #screen size
i_screen_width = gtk.gdk.screen_width()
i_screen_height = gtk.gdk.screen_height()
s_filename = "../xeyes_sentences.sh"
......@@ -9,7 +13,7 @@ else:
s_xeyes_command = "xeyes -geometry {0}x{0}-".format(i_xeyes_size)
global_x_pos = 1000
global_x_pos = i_screen_width - 50
global_y_pos = 300
local_x_pos = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment