Add default launch action for ssh links

This commit is contained in:
pagedown 2022-02-04 23:26:46 +08:00
parent 51d591e177
commit 135066f38c
No known key found for this signature in database
GPG key ID: E921CF18AC8FF6EB

View file

@ -243,6 +243,10 @@ def default_launch_actions() -> Tuple[OpenAction, ...]:
protocol file
mime image/*
action launch --type=os-window kitty +kitten icat --hold $FILE_PATH
# Open ssh URLs with ssh command
protocol ssh
action launch --type=os-window ssh $URL
'''.splitlines()))