Real text in the preview, system title bar, toolbar, Discord presence

The preview draws real glyphs on a worker thread, within the GPU's
texture limit. The window uses the system title bar; the top right holds
up to 8 icons chosen in Settings, then the menu logo. Adds a shell
picker, taskbar actions and Discord presence, and drops the Caelestia
and KDE colour choices in favour of Desktop.

Word wrap no longer moves the view. The terminal starts at its final
size and the morph never resizes the shell.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
astar76 2026-11-06 17:41:56 -06:00
commit c9905567a6
2 changed files with 977 additions and 174 deletions

View file

@ -9,3 +9,20 @@ Terminal=false
Categories=Development;TextEditor;Utility;
MimeType=text/plain;text/x-csrc;text/x-c++src;text/x-python;text/rust;text/x-shellscript;text/markdown;application/json;application/xml;
StartupWMClass=damson
Actions=new-window;new-file;open-folder;terminal;
[Desktop Action new-window]
Name=New Window
Exec=damson --new-window
[Desktop Action new-file]
Name=New File
Exec=damson --new-file
[Desktop Action open-folder]
Name=Open Folder
Exec=damson --open-folder
[Desktop Action terminal]
Name=New Terminal
Exec=damson --terminal

View file

@ -1,6 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256">
<defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="#8e6bd8"/><stop offset="1" stop-color="#4b2a86"/></linearGradient></defs>
<path fill="url(#g)" d="M128 38c20 0 32 14 52 18 20 5 34 22 34 46 0 20 8 30 8 50 0 42-44 76-94 76s-94-34-94-76c0-20 8-30 8-50 0-24 14-41 34-46 20-4 32-18 52-18z"/>
<path fill="#b9efc4" d="M128 42c6-16 22-26 44-26-2 20-16 34-44 34z"/>
<path fill="none" stroke="#fff" stroke-opacity=".92" stroke-linecap="round" stroke-linejoin="round" stroke-width="15" d="M102 112l-30 28 30 28M154 112l30 28-30 28"/>
<path fill="#5b3f6e" d="M239.0 128.0 L238.4 132.8 L236.6 137.5 L233.8 141.9 L230.2 146.0 L226.1 149.7 L221.8 153.1 L217.7 156.3 L214.1 159.3 L211.0 162.4 L208.7 165.6 L207.2 169.2 L206.4 173.2 L206.1 177.7 L206.1 182.7 L206.2 188.0 L206.1 193.5 L205.5 199.0 L204.2 204.2 L202.2 208.9 L199.2 212.9 L195.5 216.0 L191.1 218.1 L186.1 219.2 L180.8 219.4 L175.3 218.8 L169.9 217.8 L164.7 216.5 L159.8 215.3 L155.3 214.5 L151.1 214.3 L147.3 214.9 L143.6 216.3 L139.9 218.5 L136.2 221.3 L132.2 224.6 L128.0 228.0 L123.5 231.2 L118.7 233.9 L113.8 235.8 L108.8 236.7 L104.0 236.4 L99.4 234.9 L95.1 232.2 L91.4 228.6 L88.1 224.3 L85.3 219.5 L82.9 214.6 L80.8 209.8 L78.6 205.5 L76.4 201.7 L73.8 198.7 L70.7 196.3 L67.0 194.5 L62.8 193.2 L58.0 192.1 L52.9 191.1 L47.5 189.8 L42.3 188.0 L37.4 185.7 L33.1 182.8 L29.8 179.1 L27.4 174.9 L26.2 170.2 L26.1 165.1 L27.0 159.8 L28.7 154.6 L30.8 149.5 L33.2 144.7 L35.5 140.2 L37.4 135.9 L38.6 131.9 L39.0 128.0 L38.6 124.1 L37.4 120.1 L35.5 115.8 L33.2 111.3 L30.8 106.5 L28.7 101.4 L27.0 96.2 L26.1 90.9 L26.2 85.8 L27.4 81.1 L29.8 76.9 L33.1 73.2 L37.4 70.3 L42.3 68.0 L47.5 66.2 L52.9 64.9 L58.0 63.9 L62.8 62.8 L67.0 61.5 L70.7 59.7 L73.8 57.3 L76.4 54.3 L78.6 50.5 L80.7 46.2 L82.9 41.4 L85.3 36.5 L88.1 31.7 L91.4 27.4 L95.1 23.8 L99.4 21.1 L104.0 19.6 L108.8 19.3 L113.8 20.2 L118.7 22.1 L123.5 24.8 L128.0 28.0 L132.2 31.4 L136.2 34.7 L139.9 37.5 L143.6 39.7 L147.3 41.1 L151.1 41.7 L155.3 41.5 L159.8 40.7 L164.7 39.5 L169.9 38.2 L175.3 37.2 L180.8 36.6 L186.1 36.8 L191.1 37.9 L195.5 40.0 L199.2 43.1 L202.2 47.1 L204.2 51.8 L205.5 57.0 L206.1 62.5 L206.2 68.0 L206.1 73.3 L206.1 78.3 L206.4 82.8 L207.2 86.8 L208.7 90.4 L211.0 93.6 L214.1 96.7 L217.7 99.7 L221.8 102.9 L226.1 106.3 L230.2 110.0 L233.8 114.1 L236.6 118.5 L238.4 123.2 Z"/>
<path fill="none" stroke="#f3dcf8" stroke-width="15" stroke-linecap="round" stroke-linejoin="round" d="M104 96l-34 32 34 32M152 96l34 32-34 32"/>
</svg>

Before

Width:  |  Height:  |  Size: 638 B

After

Width:  |  Height:  |  Size: 2 KiB

Before After
Before After