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>
|
<h3>AI Command Palette</h3>
|
||||||
<p>Type natural language commands to control your desktop.
|
<p>Type natural language commands to control your desktop.
|
||||||
Launch apps, query system info, and more.</p>
|
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>
|
||||||
<div class="feature-card">
|
<div class="feature-card">
|
||||||
<div class="feature-icon">👁</div>
|
<div class="feature-icon">👁</div>
|
||||||
<h3>Context Analysis</h3>
|
<h3>Context Analysis</h3>
|
||||||
<p>AI analyzes your current workspace to understand your task
|
<p>AI analyzes your current workspace to understand your task
|
||||||
and provide relevant suggestions.</p>
|
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>
|
||||||
<div class="feature-card">
|
<div class="feature-card">
|
||||||
<div class="feature-icon">🔍</div>
|
<div class="feature-icon">🔍</div>
|
||||||
@ -161,7 +161,7 @@ model = google/gemini-2.0-flash-exp:free</code></pre>
|
|||||||
</div>
|
</div>
|
||||||
<h2 id="command-palette" style="margin-top: 4rem;">AI Command Palette</h2>
|
<h2 id="command-palette" style="margin-top: 4rem;">AI Command Palette</h2>
|
||||||
<p>
|
<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.
|
Type natural language commands and press Enter.
|
||||||
</p>
|
</p>
|
||||||
<h3>Supported Commands</h3>
|
<h3>Supported Commands</h3>
|
||||||
@ -210,7 +210,7 @@ model = google/gemini-2.0-flash-exp:free</code></pre>
|
|||||||
</div>
|
</div>
|
||||||
<h2 id="context" style="margin-top: 4rem;">Context Analysis</h2>
|
<h2 id="context" style="margin-top: 4rem;">Context Analysis</h2>
|
||||||
<p>
|
<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>
|
</p>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3>What It Shows</h3>
|
<h3>What It Shows</h3>
|
||||||
|
|||||||
@ -336,8 +336,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<h3>Bottom Panel</h3>
|
<h3>Bottom Panel</h3>
|
||||||
<p>
|
<p>
|
||||||
The bottom panel shows the current time and a scrolling news ticker. Navigate
|
The bottom panel shows the current time and a scrolling news ticker. Open
|
||||||
news articles with <kbd>Super</kbd> + <kbd>Up</kbd>/<kbd>Down</kbd> and open
|
|
||||||
the current article with <kbd>Super</kbd> + <kbd>Return</kbd>. Both panels can
|
the current article with <kbd>Super</kbd> + <kbd>Return</kbd>. Both panels can
|
||||||
be hidden in the configuration if you prefer a minimal setup.
|
be hidden in the configuration if you prefer a minimal setup.
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -300,11 +300,11 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td><kbd>Super</kbd> + <kbd>A</kbd></td>
|
<td><kbd>Super</kbd> + <kbd>A</kbd></td>
|
||||||
<td>Show AI context analysis</td>
|
<td>Open AI command palette</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>A</kbd></td>
|
<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>
|
||||||
<tr>
|
<tr>
|
||||||
<td><kbd>Super</kbd> + <kbd>Shift</kbd> + <kbd>E</kbd></td>
|
<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
|
MOD_SUPER, XK_i
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"17/20: AI Context",
|
"17/20: AI Command",
|
||||||
"Show AI analysis of your current task.\n\n"
|
"Ask AI to run commands for you.\n\n"
|
||||||
"Press: Super + A",
|
"Press: Super + A",
|
||||||
"Requires OPENROUTER_API_KEY",
|
"Requires OPENROUTER_API_KEY",
|
||||||
MOD_SUPER, XK_a
|
MOD_SUPER, XK_a
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"18/20: AI Command",
|
"18/20: AI Context",
|
||||||
"Ask AI to run commands for you.\n\n"
|
"Show AI analysis of your current task.\n\n"
|
||||||
"Press: Super + Shift + A",
|
"Press: Super + Shift + A",
|
||||||
"Requires OPENROUTER_API_KEY",
|
"Requires OPENROUTER_API_KEY",
|
||||||
MOD_SUPER | MOD_SHIFT, XK_a
|
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_Left, key_snap_left, "Snap window left");
|
||||||
keys_bind(MOD_SUPER, XK_Right, key_snap_right, "Snap window right");
|
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, XK_a, key_ai_command, "AI command");
|
||||||
keys_bind(MOD_SUPER | MOD_SHIFT, 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");
|
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",
|
"Current task: %s\nFocused: %s\n%s",
|
||||||
task ? task : "Unknown",
|
task ? task : "Unknown",
|
||||||
ws->focused->title[0] ? ws->focused->title : "(unnamed)",
|
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 {
|
} else {
|
||||||
snprintf(body, sizeof(body),
|
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);
|
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"
|
"Super+Down Bottom 50% (2x=full height)\n"
|
||||||
"\n"
|
"\n"
|
||||||
"=== AI Features ===\n"
|
"=== AI Features ===\n"
|
||||||
"Super+A Show AI context\n"
|
"Super+A AI command palette\n"
|
||||||
"Super+Shift+A AI command palette\n"
|
"Super+Shift+A Show AI context\n"
|
||||||
"Super+Shift+E Exa semantic search\n"
|
"Super+Shift+E Exa semantic search\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
"=== News ===\n"
|
||||||
|
"Super+Return Open news article\n"
|
||||||
|
"\n"
|
||||||
"=== Help & System ===\n"
|
"=== Help & System ===\n"
|
||||||
"Super+S Show shortcuts (this)\n"
|
"Super+S Show shortcuts (this)\n"
|
||||||
"Super+T Interactive tutorial\n"
|
"Super+T Interactive tutorial\n"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user