1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 12:46:35 +01:00

Add --wmclass argument to linux completion files

Reviewers: #falkon, drosca

Reviewed By: #falkon, drosca

Subscribers: cullmann, falkon

Tags: #falkon

Differential Revision: https://phabricator.kde.org/D18667
This commit is contained in:
Christoph Cullmann 2019-02-02 16:24:21 +01:00
parent db9d506cf5
commit 5bb7e9cfcf
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ opts=(
'(-)'{-r,--no-remote}'[open new browser instance]' '(-)'{-r,--no-remote}'[open new browser instance]'
'(-)'{-c,--current-tab=}'[open URL in current tab]' '(-)'{-c,--current-tab=}'[open URL in current tab]'
'(-)'{-u,--open-window=}'[open URL in new window]' '(-)'{-u,--open-window=}'[open URL in new window]'
'--wmclass[application class (X11 only)]'
'*:files:_files' '*:files:_files'
) )

View File

@ -11,7 +11,7 @@ _falkon()
-e --no-extensions -o --portable -t --new-tab -e --no-extensions -o --portable -t --new-tab
-w --new-window -i --private-browsing -d --download-manager -w --new-window -i --private-browsing -d --download-manager
-f --fullscreen -r --no-remote -c --current-tab= -f --fullscreen -r --no-remote -c --current-tab=
-u --open-window=" -u --open-window= --wmclass"
if [[ ${cur} == -* ]] ; then if [[ ${cur} == -* ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )