chore: rebrand from Kon/Corbie to Magnotia
Replace all instances of the legacy product names "Kon" and "Corbie" with "Magnotia" across user-facing copy, code identifiers, package names, bundle ids, file paths, and documentation. Preserves the unrelated "konsole" (KDE terminal) reference and the parent CORBEL company name. - Renames 10 Rust crates (kon-* → magnotia-*) and the tauri binary - Updates package.json, tauri.conf.json (productName + identifier) - Renames CSS classes (kon-rh-* → magnotia-rh-*) and animations - Renames brand and roadmap docs - Regenerates Cargo.lock and package-lock.json Verified: svelte-check passes; pure-rust crates compile under new names.
This commit is contained in:
@@ -3,7 +3,7 @@ use std::sync::Arc;
|
||||
use tauri::Emitter;
|
||||
use tokio::sync::{mpsc, Mutex};
|
||||
|
||||
use kon_hotkey::{EvdevHotkeyListener, HotkeyCombo, HotkeyEvent};
|
||||
use magnotia_hotkey::{EvdevHotkeyListener, HotkeyCombo, HotkeyEvent};
|
||||
|
||||
/// Managed state for the evdev hotkey listener.
|
||||
pub struct HotkeyState {
|
||||
@@ -30,11 +30,11 @@ pub fn is_wayland_session() -> bool {
|
||||
/// Check whether evdev hotkey capture is available (user in `input` group, etc.).
|
||||
#[tauri::command]
|
||||
pub fn check_hotkey_access() -> Result<(), String> {
|
||||
kon_hotkey::check_evdev_access()
|
||||
magnotia_hotkey::check_evdev_access()
|
||||
}
|
||||
|
||||
/// Start the evdev global hotkey listener. Emits "kon:hotkey-pressed" and
|
||||
/// "kon:hotkey-released" events to the frontend.
|
||||
/// Start the evdev global hotkey listener. Emits "magnotia:hotkey-pressed" and
|
||||
/// "magnotia:hotkey-released" events to the frontend.
|
||||
///
|
||||
/// If a listener is already running, it is stopped first.
|
||||
#[tauri::command]
|
||||
@@ -64,10 +64,10 @@ pub async fn start_evdev_hotkey(
|
||||
while let Some(event) = event_rx.recv().await {
|
||||
match event {
|
||||
HotkeyEvent::Pressed => {
|
||||
let _ = app_clone.emit("kon:hotkey-pressed", ());
|
||||
let _ = app_clone.emit("magnotia:hotkey-pressed", ());
|
||||
}
|
||||
HotkeyEvent::Released => {
|
||||
let _ = app_clone.emit("kon:hotkey-released", ());
|
||||
let _ = app_clone.emit("magnotia:hotkey-released", ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user