This file contains hidden or 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
[Command] | |
Automatic=true | |
Command=" | |
copyq: | |
var tabName = '&url' | |
function lower(data) { | |
return str(data).toLowerCase() | |
} | |
This file contains hidden or 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
[Command] | |
Command=" | |
copyq: | |
var snippetsTabName = 'Snippets' | |
function newVarRe(content) { | |
return new RegExp('\\\\${' + content + '}', 'g') | |
} | |
function getText(item) { |
This file contains hidden or 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
[Command] | |
Command=" | |
copyq: | |
var suffices = { | |
'image/svg': 'svg', | |
'image/png': 'png', | |
'image/jpeg': 'jpg', | |
'image/jpg': 'jpg', | |
'image/bmp': 'bmp', | |
'text/html': 'html', |
This file contains hidden or 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
[Command] | |
Automatic=true | |
Command=" | |
copyq: | |
var item = unpack(input()) | |
item['application/x-copyq-time'] = dateString('yyyyMMddhhmmss') | |
write(0, \"application/x-copyq-item\", pack(item))" | |
Icon=\xf017 | |
Input=application/x-copyq-item | |
Name=Store Copy Time |
This file contains hidden or 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
[Command] | |
Name=Save Texts from Tab | |
Command=" | |
copyq: | |
function encodeFileName(name) | |
{ | |
return name.replace(/\\s/g, '_').replace(/\\W/g, '') | |
} | |
function addFileNamePart(fileName, item, mime) |
This file contains hidden or 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
[Commands] | |
1\Name=Move to Trash (Undoable) | |
1\Command=" | |
copyq: | |
trash_tab = \"(trash)\" | |
tab_mime = \"application/x-copyq-user-tab\" | |
index_mime = \"application/x-copyq-user-index\" | |
time_mime = \"application/x-copyq-user-time\" | |
This file contains hidden or 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
[Commands] | |
1\Name=Move To Next Tab | |
1\Command=" | |
copyq: | |
how = +1 | |
source = selectedtab() | |
tabs = tab() | |
i = tabs.indexOf(source) | |
j = (i + tabs.length + how) % tabs.length |
This file contains hidden or 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
[Commands] | |
1\Name=Activate and Add to Frequent | |
1\Command=" | |
copyq: | |
tab_name = \"Frequent\" | |
source = selectedtab() | |
tab(source) | |
items = selecteditems() | |
p = \"application/x-copyq-\" |
NewerOlder