docs: update README with autostart, demo mode, XEmbed tray, window snapping, and Alt+F9 minimize keybinding
This commit is contained in:
+51
-1
@@ -26,6 +26,7 @@
|
||||
<a href="configuration.html">Configuration</a>
|
||||
<a href="ai-features.html">AI Features</a>
|
||||
<a href="architecture.html">Architecture</a>
|
||||
<a href="design-patterns.html">Design Patterns</a>
|
||||
</div>
|
||||
</li>
|
||||
<li><a href="https://retoor.molodetz.nl/retoor/dwn">Git</a></li>
|
||||
@@ -387,6 +388,50 @@ exa_api_key = your-exa-key-here</code></pre>
|
||||
<p style="margin: 0;">For better security, use environment variables instead of storing API keys in the config file:
|
||||
<code>export OPENROUTER_API_KEY=sk-or-v1-...</code></p>
|
||||
</div>
|
||||
<h2 id="autostart" style="margin-top: 3rem;">[autostart] - XDG Autostart</h2>
|
||||
<p style="color: var(--text-muted); margin-bottom: 1.5rem;">
|
||||
Configure automatic application startup. DWN follows the XDG Autostart specification.
|
||||
</p>
|
||||
<div class="table-wrapper">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Option</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><code>enabled</code></td>
|
||||
<td>Enable/disable all autostart functionality (default: <code>true</code>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>xdg_autostart</code></td>
|
||||
<td>Scan XDG .desktop files from /etc/xdg/autostart and ~/.config/autostart (default: <code>true</code>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><code>path</code></td>
|
||||
<td>Additional directory for symlinks/scripts (default: <code>~/.config/dwn/autostart.d</code>)</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="code-header">
|
||||
<span>Example</span>
|
||||
<button class="copy-btn" onclick="copyCode(this)">Copy</button>
|
||||
</div>
|
||||
<pre><code>[autostart]
|
||||
enabled = true
|
||||
xdg_autostart = true
|
||||
path = ~/.config/dwn/autostart.d</code></pre>
|
||||
<p style="color: var(--text-muted); margin-top: 1rem;">
|
||||
<strong>Directories scanned:</strong>
|
||||
</p>
|
||||
<ul style="color: var(--text-muted);">
|
||||
<li><code>/etc/xdg/autostart/</code> - System defaults (nm-applet, blueman, power-manager)</li>
|
||||
<li><code>~/.config/autostart/</code> - User XDG autostart entries</li>
|
||||
<li><code>~/.config/dwn/autostart.d/</code> - DWN-specific symlinks and scripts</li>
|
||||
</ul>
|
||||
<h2 style="margin-top: 3rem;">Complete Configuration Example</h2>
|
||||
<div class="code-header">
|
||||
<span>~/.config/dwn/config</span>
|
||||
@@ -429,7 +474,11 @@ notification_bg = #2a2a3e
|
||||
notification_fg = #ffffff
|
||||
[ai]
|
||||
model = google/gemini-2.0-flash-exp:free
|
||||
# API keys via environment variables recommended</code></pre>
|
||||
# API keys via environment variables recommended
|
||||
[autostart]
|
||||
enabled = true
|
||||
xdg_autostart = true
|
||||
path = ~/.config/dwn/autostart.d</code></pre>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
@@ -450,6 +499,7 @@ model = google/gemini-2.0-flash-exp:free
|
||||
<li><a href="shortcuts.html">Keyboard Shortcuts</a></li>
|
||||
<li><a href="configuration.html">Configuration</a></li>
|
||||
<li><a href="architecture.html">Architecture</a></li>
|
||||
<li><a href="design-patterns.html">Design Patterns</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="footer-section">
|
||||
|
||||
Reference in New Issue
Block a user