Skip to content

Commit

Permalink
Gtrash support. (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
SBhojani authored Jul 5, 2024
1 parent e458ac3 commit f7ad385
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/configuration/keymap.toml.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ All methods (except `reverse`) support the `--reverse` flag:
- `gio trash`
- `trash-put`: https://github.com/andreafrancia/trash-cli
- `trash`
- `gtrash put`

### `rename`: rename the current file the cursor is on

Expand Down
1 change: 1 addition & 0 deletions src/io/io_worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ where
("gio trash", format!("gio trash -- '{}'", file_path_str)),
("trash-put", format!("trash-put '{}'", file_path_str)),
("trash", format!("trash '{}'", file_path_str)),
("gtrash put", format!("gtrash put -- '{}'", file_path_str)),
];

for (_, cmd) in clipboards.iter() {
Expand Down

0 comments on commit f7ad385

Please sign in to comment.