diff --git a/bin/dwn b/bin/dwn index 538af44..761b41a 100755 Binary files a/bin/dwn and b/bin/dwn differ diff --git a/build/client.o b/build/client.o index ecedce5..156d35e 100644 Binary files a/build/client.o and b/build/client.o differ diff --git a/build/decorations.o b/build/decorations.o index ccfd53d..37d0872 100644 Binary files a/build/decorations.o and b/build/decorations.o differ diff --git a/build/keys.o b/build/keys.o index 8f1481e..fb6ee46 100644 Binary files a/build/keys.o and b/build/keys.o differ diff --git a/build/main.o b/build/main.o index cbd778c..f58268b 100644 Binary files a/build/main.o and b/build/main.o differ diff --git a/site/ai-features.html b/site/ai-features.html index dbeee75..7f298d4 100644 --- a/site/ai-features.html +++ b/site/ai-features.html @@ -68,14 +68,14 @@

AI Command Palette

Type natural language commands to control your desktop. Launch apps, query system info, and more.

-

Super + Shift + A

+

Super + A

👁

Context Analysis

AI analyzes your current workspace to understand your task and provide relevant suggestions.

-

Super + A

+

Super + Shift + A

🔍
@@ -161,7 +161,7 @@ model = google/gemini-2.0-flash-exp:free

AI Command Palette

- Press Super + Shift + A to open the command palette. + Press Super + A to open the command palette. Type natural language commands and press Enter.

Supported Commands

@@ -210,7 +210,7 @@ model = google/gemini-2.0-flash-exp:free

Context Analysis

- Press Super + A to see AI-powered analysis of your current workspace. + Press Super + Shift + A to see AI-powered analysis of your current workspace.

What It Shows

diff --git a/site/documentation.html b/site/documentation.html index 48de51c..153b5ab 100644 --- a/site/documentation.html +++ b/site/documentation.html @@ -336,8 +336,7 @@

Bottom Panel

- The bottom panel shows the current time and a scrolling news ticker. Navigate - news articles with Super + Up/Down and open + The bottom panel shows the current time and a scrolling news ticker. Open the current article with Super + Return. Both panels can be hidden in the configuration if you prefer a minimal setup.

diff --git a/site/shortcuts.html b/site/shortcuts.html index 5845e9e..ca32744 100644 --- a/site/shortcuts.html +++ b/site/shortcuts.html @@ -300,11 +300,11 @@ Super + A - Show AI context analysis + Open AI command palette Super + Shift + A - Open AI command palette + Show AI context analysis Super + Shift + E diff --git a/src/keys.c b/src/keys.c index 0d39f7b..78b04f8 100644 --- a/src/keys.c +++ b/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"