♻️ refactor: rename --create-desktop-shortcut to --setup-desktop-shortcut
This commit is contained in:
parent
d7246298b1
commit
0e2745acf1
@ -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`
|
- GNOME: registers a custom keybinding via `gsettings`
|
||||||
- KDE: appends a `[tmuxido]` section to `~/.config/kglobalshortcutsrc`
|
- 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
|
- 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
|
- `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
|
- Icon and `.desktop` file installed by `install.sh` and offered in the first-run wizard
|
||||||
|
|
||||||
|
|||||||
@ -114,7 +114,7 @@ tmuxido --setup-shortcut
|
|||||||
|
|
||||||
Install the `.desktop` entry and icon (so tmuxido appears in app launchers like Walker/Rofi):
|
Install the `.desktop` entry and icon (so tmuxido appears in app launchers like Walker/Rofi):
|
||||||
```bash
|
```bash
|
||||||
tmuxido --create-desktop-shortcut
|
tmuxido --setup-desktop-shortcut
|
||||||
```
|
```
|
||||||
|
|
||||||
Both are also offered automatically on first run. Re-run them any time to reconfigure.
|
Both are also offered automatically on first run. Re-run them any time to reconfigure.
|
||||||
|
|||||||
@ -40,7 +40,7 @@ struct Args {
|
|||||||
|
|
||||||
/// Install the .desktop entry and icon for app launcher integration
|
/// Install the .desktop entry and icon for app launcher integration
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
create_desktop_shortcut: bool,
|
setup_desktop_shortcut: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
@ -57,7 +57,7 @@ fn main() -> Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handle standalone desktop integration setup
|
// Handle standalone desktop integration setup
|
||||||
if args.create_desktop_shortcut {
|
if args.setup_desktop_shortcut {
|
||||||
return setup_desktop_integration_wizard();
|
return setup_desktop_integration_wizard();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user