There's no need to read it from the config file as the new version will get the screen dimensions thanks to gtk.
screen = gtk.gdk.display_get_default().get_default_screen() screen_size = screen.get_monitor_geometry(0) width = screen_size.width height = screen_size.height
But I want to add an x_offset and y_offset option so that you can move the text around and position it wherever you want if for some reason the default one doesn't fit your needs.
There's no need to read it from the config file as the new version will get the screen dimensions thanks to gtk.
screen = gtk.gdk. display_ get_default( ).get_default_ screen( ) get_monitor_ geometry( 0)
screen_size = screen.
width = screen_size.width
height = screen_size.height
But I want to add an x_offset and y_offset option so that you can move the text around and position it wherever you want if for some reason the default one doesn't fit your needs.