diff --git a/Paper/metacity-1/menu_focused_pressed.png b/Paper/metacity-1/menu_focused_pressed.png
index a24a450..c4848fa 100644
Binary files a/Paper/metacity-1/menu_focused_pressed.png and b/Paper/metacity-1/menu_focused_pressed.png differ
diff --git a/Paper/metacity-1/menu_unfocused_pressed.png b/Paper/metacity-1/menu_unfocused_pressed.png
index c2e878c..c4848fa 100644
Binary files a/Paper/metacity-1/menu_unfocused_pressed.png and b/Paper/metacity-1/menu_unfocused_pressed.png differ
diff --git a/Paper/metacity-1/metacity-theme-1.xml b/Paper/metacity-1/metacity-theme-1.xml
index e01e161..fa4e5f1 120000
--- a/Paper/metacity-1/metacity-theme-1.xml
+++ b/Paper/metacity-1/metacity-theme-1.xml
@@ -1 +1 @@
-metacity-theme-2.xml
\ No newline at end of file
+metacity-theme.xml
\ No newline at end of file
diff --git a/Paper/metacity-1/metacity-theme-2.xml b/Paper/metacity-1/metacity-theme-2.xml
deleted file mode 100644
index ff8b4c8..0000000
--- a/Paper/metacity-1/metacity-theme-2.xml
+++ /dev/null
@@ -1,1152 +0,0 @@
-
-
-
-
-
- Paper
- Sam Hewitt <hewittsamuel@gmail>
- ÂSam Hewitt, 2014
- 2014
- Paper Metacity Theme
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Paper/metacity-1/metacity-theme-2.xml b/Paper/metacity-1/metacity-theme-2.xml
new file mode 120000
index 0000000..fa4e5f1
--- /dev/null
+++ b/Paper/metacity-1/metacity-theme-2.xml
@@ -0,0 +1 @@
+metacity-theme.xml
\ No newline at end of file
diff --git a/Paper/metacity-1/metacity-theme-3.xml b/Paper/metacity-1/metacity-theme-3.xml
deleted file mode 100644
index cf7b2be..0000000
--- a/Paper/metacity-1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-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Paper/metacity-1/metacity-theme-3.xml b/Paper/metacity-1/metacity-theme-3.xml
new file mode 120000
index 0000000..fa4e5f1
--- /dev/null
+++ b/Paper/metacity-1/metacity-theme-3.xml
@@ -0,0 +1 @@
+metacity-theme.xml
\ No newline at end of file
diff --git a/Paper/metacity-1/metacity-theme.xml b/Paper/metacity-1/metacity-theme.xml
new file mode 100644
index 0000000..d2340a2
--- /dev/null
+++ b/Paper/metacity-1/metacity-theme.xml
@@ -0,0 +1,1152 @@
+
+
+
+
+
+ Paper
+ Sam Hewitt <hewittsamuel@gmail>
+ ÂSam Hewitt, 2015
+ 2015
+ Paper Window Theme
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Paper/unity/menu_focused_pressed.png b/Paper/unity/menu_focused_pressed.png
index a24a450..c4848fa 100644
Binary files a/Paper/unity/menu_focused_pressed.png and b/Paper/unity/menu_focused_pressed.png differ
diff --git a/Paper/unity/menu_unfocused_pressed.png b/Paper/unity/menu_unfocused_pressed.png
index c2e878c..c4848fa 100644
Binary files a/Paper/unity/menu_unfocused_pressed.png and b/Paper/unity/menu_unfocused_pressed.png differ
diff --git a/render-wm-assets-hidpi.py b/render-wm-assets-hidpi.py
new file mode 100755
index 0000000..f97b525
--- /dev/null
+++ b/render-wm-assets-hidpi.py
@@ -0,0 +1,179 @@
+#!/usr/bin/python3
+
+# Thanks to the GNOME theme nerds for the original source of this script
+
+import os
+import sys
+import xml.sax
+import subprocess
+
+INKSCAPE = '/usr/bin/inkscape'
+OPTIPNG = '/usr/bin/optipng'
+SRC = os.path.join('.', 'src/wm')
+
+inkscape_process = None
+
+
+def optimize_png(png_file):
+ if os.path.exists(OPTIPNG):
+ process = subprocess.Popen([OPTIPNG, '-quiet', '-o7', png_file])
+ process.wait()
+
+
+def wait_for_prompt(process, command=None):
+ if command is not None:
+ process.stdin.write((command+'\n').encode('utf-8'))
+
+ # This is kinda ugly ...
+ # Wait for just a '>', or '\n>' if some other char appearead first
+ output = process.stdout.read(1)
+ if output == b'>':
+ return
+
+ output += process.stdout.read(1)
+ while output != b'\n>':
+ output += process.stdout.read(1)
+ output = output[1:]
+
+
+def start_inkscape():
+ process = subprocess.Popen(
+ [INKSCAPE, '--shell'],
+ bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE
+ )
+ wait_for_prompt(process)
+ return process
+
+
+def inkscape_render_rect(icon_file, rect, output_file):
+ global inkscape_process
+ if inkscape_process is None:
+ inkscape_process = start_inkscape()
+ wait_for_prompt(inkscape_process,
+ '--export-dpi=180 %s -i %s -e %s' % (icon_file, rect, output_file)
+ )
+ optimize_png(output_file)
+
+
+class ContentHandler(xml.sax.ContentHandler):
+ ROOT = 0
+ SVG = 1
+ LAYER = 2
+ OTHER = 3
+ TEXT = 4
+
+ def __init__(self, path, force=False, filter=None):
+ self.stack = [self.ROOT]
+ self.inside = [self.ROOT]
+ self.path = path
+ self.rects = []
+ self.state = self.ROOT
+ self.chars = ""
+ self.force = force
+ self.filter = filter
+
+ def endDocument(self):
+ pass
+
+ def startElement(self, name, attrs):
+ if self.inside[-1] == self.ROOT:
+ if name == "svg":
+ self.stack.append(self.SVG)
+ self.inside.append(self.SVG)
+ return
+ elif self.inside[-1] == self.SVG:
+ if (name == "g" and ('inkscape:groupmode' in attrs) and ('inkscape:label' in attrs)
+ and attrs['inkscape:groupmode'] == 'layer' and attrs['inkscape:label'].startswith('Baseplate')):
+ self.stack.append(self.LAYER)
+ self.inside.append(self.LAYER)
+ self.context = None
+ self.icon_name = None
+ self.rects = []
+ return
+ elif self.inside[-1] == self.LAYER:
+ if name == "text" and ('inkscape:label' in attrs) and attrs['inkscape:label'] == 'context':
+ self.stack.append(self.TEXT)
+ self.inside.append(self.TEXT)
+ self.text='context'
+ self.chars = ""
+ return
+ elif name == "text" and ('inkscape:label' in attrs) and attrs['inkscape:label'] == 'icon-name':
+ self.stack.append(self.TEXT)
+ self.inside.append(self.TEXT)
+ self.text = 'icon-name'
+ self.chars = ""
+ return
+ elif name == "rect":
+ self.rects.append(attrs)
+
+ self.stack.append(self.OTHER)
+
+ def endElement(self, name):
+ stacked = self.stack.pop()
+ if self.inside[-1] == stacked:
+ self.inside.pop()
+
+ if stacked == self.TEXT and self.text is not None:
+ assert self.text in ['context', 'icon-name']
+ if self.text == 'context':
+ self.context = self.chars
+ elif self.text == 'icon-name':
+ self.icon_name = self.chars
+ self.text = None
+ elif stacked == self.LAYER:
+ assert self.icon_name
+ assert self.context
+
+ if self.filter is not None and not self.icon_name in self.filter:
+ return
+
+ print (self.context, self.icon_name)
+ for rect in self.rects:
+ width = rect['width']
+ height = rect['height']
+ id = rect['id']
+
+ dir = os.path.join("Paper", self.context)
+ outfile = os.path.join(dir, self.icon_name+'.png')
+ if not os.path.exists(dir):
+ os.makedirs(dir)
+ # Do a time based check!
+ if self.force or not os.path.exists(outfile):
+ inkscape_render_rect(self.path, id, outfile)
+ sys.stdout.write('.')
+ else:
+ stat_in = os.stat(self.path)
+ stat_out = os.stat(outfile)
+ if stat_in.st_mtime > stat_out.st_mtime:
+ inkscape_render_rect(self.path, id, outfile)
+ sys.stdout.write('.')
+ else:
+ sys.stdout.write('-')
+ sys.stdout.flush()
+ sys.stdout.write('\n')
+ sys.stdout.flush()
+
+ def characters(self, chars):
+ self.chars += chars.strip()
+
+if len(sys.argv) == 1:
+ if not os.path.exists('Paper'):
+ os.mkdir('Paper')
+ print ('Rendering from SVGs in', SRC)
+ for file in os.listdir(SRC):
+ if file[-4:] == '.svg':
+ file = os.path.join(SRC, file)
+ handler = ContentHandler(file)
+ xml.sax.parse(open(file), handler)
+else:
+ file = os.path.join(SRC, sys.argv[1] + '.svg')
+ if len(sys.argv) > 2:
+ icons = sys.argv[2:]
+ else:
+ icons = None
+ if os.path.exists(os.path.join(file)):
+ handler = ContentHandler(file, True, filter=icons)
+ xml.sax.parse(open(file), handler)
+ else:
+ print ("Error: No such file", file)
+ sys.exit(1)
diff --git a/src/wm/wm-assets.svg b/src/wm/wm-assets.svg
index be401ba..4a0f1ec 100644
--- a/src/wm/wm-assets.svg
+++ b/src/wm/wm-assets.svg
@@ -33,18 +33,18 @@
borderopacity="0.25490196"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
- inkscape:zoom="2"
- inkscape:cx="149.65892"
- inkscape:cy="158.9635"
+ inkscape:zoom="1"
+ inkscape:cx="67.40892"
+ inkscape:cy="151.9635"
inkscape:current-layer="layer4"
showgrid="false"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:showpageshadow="false"
- inkscape:window-width="1301"
- inkscape:window-height="744"
- inkscape:window-x="65"
- inkscape:window-y="24"
+ inkscape:window-width="1366"
+ inkscape:window-height="711"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
width="400px"
height="300px"
inkscape:snap-nodes="true"
@@ -2668,7 +2668,7 @@
d="m 210,176 c -2.20914,0 -4,1.79086 -4,4 0,2.20914 1.79086,4 4,4 2.20914,0 4,-1.79086 4,-4 0,-2.20914 -1.79086,-4 -4,-4 z"
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;opacity:0.5;fill:#dbdee0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;enable-background:accumulate" />