diff --git a/terminator b/terminator index 1d8d7410..f3c0b350 100755 --- a/terminator +++ b/terminator @@ -240,33 +240,16 @@ text/plain middle = (alloc.width/2, alloc.height/2) middleleft = (0, alloc.height/2) middleright = (alloc.width, alloc.height/2) - overlay_type = self.conf.overlay_type #print "%f %f %d %d" %(coef1, coef2, b1,b2) coord = () if pos == "right": - #print "right" - if overlay_type == "triangle": - coord = (topright, middle, bottomright) - else: - coord = (topright, topmiddle, bottommiddle, bottomright) + coord = (topright, topmiddle, bottommiddle, bottomright) if pos == "top": - #print "top" - if overlay_type == "triangle": - coord = (topleft, middle, topright) - else: - coord = (topleft, topright, middleright , middleleft) + coord = (topleft, topright, middleright , middleleft) if pos == "left": - #print "left" - if overlay_type == "triangle": - coord = (topleft, middle, bottomleft) - else: - coord = (topleft, topmiddle, bottommiddle, bottomleft) + coord = (topleft, topmiddle, bottommiddle, bottomleft) if pos == "bottom": - #print "bottom" - if overlay_type == "triangle": - coord = (bottomleft, middle, bottomright) - else: - coord = (bottomleft, bottomright, middleright , middleleft) + coord = (bottomleft, bottomright, middleright , middleleft) if len(coord) > 0 : context.move_to(coord[len(coord)-1][0],coord[len(coord)-1][1]) diff --git a/terminatorlib/config.py b/terminatorlib/config.py index 82dad7cf..8e945dc0 100755 --- a/terminatorlib/config.py +++ b/terminatorlib/config.py @@ -112,7 +112,6 @@ class TerminatorConfValuestore: 'ignore_hosts' : ['localhost','127.0.0.0/8','*.local'], 'encoding' : 'UTF-8', 'active_encodings' : ['UTF-8', 'ISO-8859-1'], - 'overlay_type' : 'rectangle', } def __getattr__ (self, keyname):