Closed Clemens-Ratte-Polle closed 2 years ago
List tabs: copyq tab
Show specific tab: copyq show TAB
ok, these are for the Command Line, but i meant commands :) I have many tabs and so many of them are "hidden", so i want to see them all and select one by a shortcut. Is there a "forum" where CQ users would help each other? :) thx
I have many tabs and so many of them are "hidden", so i want to see them all and select one by a shortcut.
Here is a command that shows a dialog with the tab list:
[Command]
Command="
copyq:
var tabs = tab().sort()
var index = dialog(
'.height', 600,
'.list:Tab', tabs)
if (index !== undefined)
show(tabs[index])"
Icon=\xf022
InMenu=true
Name=Tabs
Shortcut=ctrl+shift+s
BTW, you can also use &
in tab name for a shortcut (see https://copyq.readthedocs.io/en/latest/tabs-and-items.html#tabs) or Ctrl+0..9.
Show specific tab:
copyq show TAB
and it creates new tabs
Error: execve: No such file or directory
using kUbuntu
THANKS VERY MUCH! Great command :)
And how without sorting? var tabs = tab() without: .sort() ?
You need to add it in the command section: File > Commands.
And add a new command:
Check de FAQ section in How to load shared commands and share them?
You need to add it in the command section: File > Commands.
And add a new command:
Check de FAQ section in How to load shared commands and share them?
F6 > Add > New command > Show Advanced (is then enabled next time) > Name it + Paste Script > Save it
works. my first copyQ-Script pasted
BTW i used ctrl+shift+t , was used for icons. may icons schould be ctrl+shift+i (but this shows no action any more)
thanks works, but is it possible to get the search also as feature-rich as the search in the other tabs? BTW i have created a tab tabs ( https://stackoverflow.com/a/68480690/2891692 ). but of course my tab tabs don't enable me to switch fast to the tab selected. just enables to copy and find a existing tab (needs refreshed manually by sh-script)
workaround thats help me bit in Linux:
clear; copyq tab 'tabs_META+&T' add "firstEntry" ; copyq removetab 'tabs_META+&T' ; [ -f ./tabs.sh ] && rm ./tabs.sh; copyq tab > tabs.sh ; sed -i 's/.*/copyq tab "tabs_META+\&T" add "&"/' tabs.sh ; sort -buo ./tabs.sh ./tabs.sh; chmod +x ./tabs.sh ; ./tabs.sh
BTW META+T is my global shortcut for list all tabs. i note it into the name for just remember that
hi. To click in the list and jump to a specific tab would be fine :) Or 2-rowed tabs?
Hi. I do not find the option to list all tabs and jump to a certain one per click. Is there such script, command? Where could i post a wish? :) thx