-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[copy-name-to-clipboard@torchipeppo] Add action (#553)
A simple derivative of Claudiux's Copy Path. No more F2->Ctrl+C->Esc!
- Loading branch information
1 parent
de3c621
commit 5130ced
Showing
7 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
### 1.0.0 | ||
|
||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Copy Name To Clipboard | ||
====================== | ||
|
||
Copy the name of a file or folder to the clipboard by right-clicking on it. | ||
|
||
This is a simple derivative of claudiux's "Copy Path To Clipboard" action. | ||
|
||
DESCRIPTION | ||
----------- | ||
|
||
This action adds a context menu item for copying the name of the selected file/folder to the clipboard. You can then paste this path anywhere as usual. | ||
|
||
DEPENDENCY | ||
---------- | ||
Requires `xclip` to be installed. |
8 changes: 8 additions & 0 deletions
8
copy-name-to-clipboard@torchipeppo/[email protected]_action.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[Nemo Action] | ||
_Name=Copy name to clipboard | ||
_Comment=Copy the name of the selected item to the clipboard | ||
Exec=sh -c "echo -n $(basename %F) | xclip -selection clipboard" | ||
Selection=s | ||
Extensions=any; | ||
Icon-Name=edit-copy | ||
Dependencies=xclip; |
Binary file added
BIN
+7.88 KB
...name-to-clipboard@torchipeppo/files/copy-name-to-clipboard@torchipeppo/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
copy-name-to-clipboard@torchipeppo/files/copy-name-to-clipboard@torchipeppo/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"description": "Copy the name of the selected item to the clipboard. Requires xclip to be installed.", | ||
"uuid": "copy-name-to-clipboard@torchipeppo", | ||
"name": "Copy Name To Clipboard", | ||
"author": "torchipeppo", | ||
"version": "1.0.0" | ||
} |
36 changes: 36 additions & 0 deletions
36
...ipeppo/files/copy-name-to-clipboard@torchipeppo/po/[email protected]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# COPY NAME TO CLIPBOARD | ||
# This file is put in the public domain. | ||
# torchipeppo, 2023 | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: copy-name-to-clipboard@torchipeppo 1.0.0\n" | ||
"Report-Msgid-Bugs-To: https://github.com/linuxmint/cinnamon-spices-actions/" | ||
"issues\n" | ||
"POT-Creation-Date: 2024-10-29 12:02+0100\n" | ||
"PO-Revision-Date: \n" | ||
"Last-Translator: \n" | ||
"Language-Team: \n" | ||
"Language: \n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
|
||
#. metadata.json->description | ||
msgid "" | ||
"Copy the name of the selected item to the clipboard. Requires xclip to be " | ||
"installed." | ||
msgstr "" | ||
|
||
#. metadata.json->name | ||
msgid "Copy Name To Clipboard" | ||
msgstr "" | ||
|
||
#. [email protected]_action.in->Name | ||
msgid "Copy name to clipboard" | ||
msgstr "" | ||
|
||
#. [email protected]_action.in->Comment | ||
msgid "Copy the name of the selected item to the clipboard" | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"author": "torchipeppo" | ||
} |