diff --git a/CHANGELOG.md b/CHANGELOG.md index 590b21f..aeb944a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - GNOME: registers a custom keybinding via `gsettings` - KDE: appends a `[tmuxido]` section to `~/.config/kglobalshortcutsrc` - Conflict detection per DE (Hyprland via `hyprctl binds -j`, KDE via config file, GNOME via gsettings); suggests next free combo from a fallback list -- `--create-desktop-shortcut` flag to (re-)install the `.desktop` entry and icon at any time +- `--setup-desktop-shortcut` flag to (re-)install the `.desktop` entry and icon at any time - `shortcut` module (`src/shortcut.rs`) with full unit and integration test coverage - Icon and `.desktop` file installed by `install.sh` and offered in the first-run wizard diff --git a/README.md b/README.md index 26a020a..523fabf 100644 --- a/README.md +++ b/README.md @@ -114,7 +114,7 @@ tmuxido --setup-shortcut Install the `.desktop` entry and icon (so tmuxido appears in app launchers like Walker/Rofi): ```bash -tmuxido --create-desktop-shortcut +tmuxido --setup-desktop-shortcut ``` Both are also offered automatically on first run. Re-run them any time to reconfigure. diff --git a/src/main.rs b/src/main.rs index d97c354..d10bd8f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -40,7 +40,7 @@ struct Args { /// Install the .desktop entry and icon for app launcher integration #[arg(long)] - create_desktop_shortcut: bool, + setup_desktop_shortcut: bool, } fn main() -> Result<()> { @@ -57,7 +57,7 @@ fn main() -> Result<()> { } // Handle standalone desktop integration setup - if args.create_desktop_shortcut { + if args.setup_desktop_shortcut { return setup_desktop_integration_wizard(); }