fix: Allow copying only one file
This commit is contained in:
parent
942a7cdd8e
commit
938f221360
1 changed files with 2 additions and 1 deletions
|
@ -2,9 +2,10 @@
|
||||||
Type=Service
|
Type=Service
|
||||||
MimeType=text/*;
|
MimeType=text/*;
|
||||||
Actions=copyTextToClipboard
|
Actions=copyTextToClipboard
|
||||||
|
X-KDE-MaxNumberOfUrls=1
|
||||||
|
|
||||||
[Desktop Action copyTextToClipboard]
|
[Desktop Action copyTextToClipboard]
|
||||||
Name=Copy Text to Clipboard
|
Name=Copy Text to Clipboard
|
||||||
Icon=entry-clone
|
Icon=entry-clone
|
||||||
Exec=cat "%u" | wl-copy
|
Exec=wl-copy < "%u"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue