empty_desktop.py revision 8ac705ee842a9087042c9ed7d126f39cadac9cec
# Written by Tavmjong Bah
import inkex
import re
self.OptionParser.add_option("-s", "--size", action="store", type="string", dest="desktop_size", default="16", help="Desktop size")
self.OptionParser.add_option("-w", "--width", action="store", type="int", dest="desktop_width", default="1920", help="Custom width")
self.OptionParser.add_option("-z", "--height", action="store", type="int", dest="desktop_height", default="1080", help="Custom height")
if size != "Custom":
if namedview is None:
c = C()
c.affect()