chore: update c, html, o files
This commit is contained in:
parent
11a4042aa2
commit
250e3e2978
BIN
build/client.o
BIN
build/client.o
Binary file not shown.
Binary file not shown.
BIN
build/keys.o
BIN
build/keys.o
Binary file not shown.
BIN
build/main.o
BIN
build/main.o
Binary file not shown.
@ -68,14 +68,14 @@
|
||||
<h3>AI Command Palette</h3>
|
||||
<p>Type natural language commands to control your desktop.
|
||||
Launch apps, query system info, and more.</p>
|
||||
<p style="margin-top: 1rem;"><kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>A</kbd></p>
|
||||
<p style="margin-top: 1rem;"><kbd>Super</kbd> + <kbd>A</kbd></p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">👁</div>
|
||||
<h3>Context Analysis</h3>
|
||||
<p>AI analyzes your current workspace to understand your task
|
||||
and provide relevant suggestions.</p>
|
||||
<p style="margin-top: 1rem;"><kbd>Super</kbd> + <kbd>A</kbd></p>
|
||||
<p style="margin-top: 1rem;"><kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>A</kbd></p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<div class="feature-icon">🔍</div>
|
||||
@ -161,7 +161,7 @@ model = google/gemini-2.0-flash-exp:free</code></pre>
|
||||
</div>
|
||||
<h2 id="command-palette" style="margin-top: 4rem;">AI Command Palette</h2>
|
||||
<p>
|
||||
Press <kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>A</kbd> to open the command palette.
|
||||
Press <kbd>Super</kbd> + <kbd>A</kbd> to open the command palette.
|
||||
Type natural language commands and press Enter.
|
||||
</p>
|
||||
<h3>Supported Commands</h3>
|
||||
@ -210,7 +210,7 @@ model = google/gemini-2.0-flash-exp:free</code></pre>
|
||||
</div>
|
||||
<h2 id="context" style="margin-top: 4rem;">Context Analysis</h2>
|
||||
<p>
|
||||
Press <kbd>Super</kbd> + <kbd>A</kbd> to see AI-powered analysis of your current workspace.
|
||||
Press <kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>A</kbd> to see AI-powered analysis of your current workspace.
|
||||
</p>
|
||||
<div class="card">
|
||||
<h3>What It Shows</h3>
|
||||
|
||||
@ -336,8 +336,7 @@
|
||||
</div>
|
||||
<h3>Bottom Panel</h3>
|
||||
<p>
|
||||
The bottom panel shows the current time and a scrolling news ticker. Navigate
|
||||
news articles with <kbd>Super</kbd> + <kbd>Up</kbd>/<kbd>Down</kbd> and open
|
||||
The bottom panel shows the current time and a scrolling news ticker. Open
|
||||
the current article with <kbd>Super</kbd> + <kbd>Return</kbd>. Both panels can
|
||||
be hidden in the configuration if you prefer a minimal setup.
|
||||
</p>
|
||||
|
||||
@ -300,11 +300,11 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><kbd>Super</kbd> + <kbd>A</kbd></td>
|
||||
<td>Show AI context analysis</td>
|
||||
<td>Open AI command palette</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>A</kbd></td>
|
||||
<td>Open AI command palette</td>
|
||||
<td>Show AI context analysis</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td>
|
||||
|
||||
23
src/keys.c
23
src/keys.c
@ -204,15 +204,15 @@ static const TutorialStep tutorial_steps[] = {
|
||||
MOD_SUPER, XK_i
|
||||
},
|
||||
{
|
||||
"17/20: AI Context",
|
||||
"Show AI analysis of your current task.\n\n"
|
||||
"17/20: AI Command",
|
||||
"Ask AI to run commands for you.\n\n"
|
||||
"Press: Super + A",
|
||||
"Requires OPENROUTER_API_KEY",
|
||||
MOD_SUPER, XK_a
|
||||
},
|
||||
{
|
||||
"18/20: AI Command",
|
||||
"Ask AI to run commands for you.\n\n"
|
||||
"18/20: AI Context",
|
||||
"Show AI analysis of your current task.\n\n"
|
||||
"Press: Super + Shift + A",
|
||||
"Requires OPENROUTER_API_KEY",
|
||||
MOD_SUPER | MOD_SHIFT, XK_a
|
||||
@ -520,8 +520,8 @@ void keys_setup_defaults(void)
|
||||
keys_bind(MOD_SUPER, XK_Left, key_snap_left, "Snap window left");
|
||||
keys_bind(MOD_SUPER, XK_Right, key_snap_right, "Snap window right");
|
||||
|
||||
keys_bind(MOD_SUPER, XK_a, key_toggle_ai, "Toggle AI context");
|
||||
keys_bind(MOD_SUPER | MOD_SHIFT, XK_a, key_ai_command, "AI command");
|
||||
keys_bind(MOD_SUPER, XK_a, key_ai_command, "AI command");
|
||||
keys_bind(MOD_SUPER | MOD_SHIFT, XK_a, key_toggle_ai, "Toggle AI context");
|
||||
|
||||
keys_bind(MOD_SUPER | MOD_SHIFT, XK_e, key_exa_search, "Exa web search");
|
||||
|
||||
@ -745,10 +745,10 @@ void key_toggle_ai(void)
|
||||
"Current task: %s\nFocused: %s\n%s",
|
||||
task ? task : "Unknown",
|
||||
ws->focused->title[0] ? ws->focused->title : "(unnamed)",
|
||||
suggestion ? suggestion : "Press Alt+A to ask AI for help");
|
||||
suggestion ? suggestion : "Press Super+A to ask AI for help");
|
||||
} else {
|
||||
snprintf(body, sizeof(body),
|
||||
"No window focused.\nPress Alt+A to ask AI for help");
|
||||
"No window focused.\nPress Super+A to ask AI for help");
|
||||
}
|
||||
|
||||
notification_show("DWN AI", "Context Analysis", body, NULL, 4000);
|
||||
@ -811,10 +811,13 @@ void key_show_shortcuts(void)
|
||||
"Super+Down Bottom 50% (2x=full height)\n"
|
||||
"\n"
|
||||
"=== AI Features ===\n"
|
||||
"Super+A Show AI context\n"
|
||||
"Super+Shift+A AI command palette\n"
|
||||
"Super+A AI command palette\n"
|
||||
"Super+Shift+A Show AI context\n"
|
||||
"Super+Shift+E Exa semantic search\n"
|
||||
"\n"
|
||||
"=== News ===\n"
|
||||
"Super+Return Open news article\n"
|
||||
"\n"
|
||||
"=== Help & System ===\n"
|
||||
"Super+S Show shortcuts (this)\n"
|
||||
"Super+T Interactive tutorial\n"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user