[ssh] add launcher to xdg
This commit is contained in:
parent
c7c7f4a9bc
commit
91b3181eb8
|
@ -3,6 +3,7 @@
|
|||
lower=${1,,}
|
||||
|
||||
echo $lower
|
||||
echo "${lower%%:*}"
|
||||
|
||||
case "${lower%%:*}" in
|
||||
*.slack.*)
|
||||
|
@ -11,6 +12,10 @@ case "${lower%%:*}" in
|
|||
file)
|
||||
exec nautilus "$1"
|
||||
;;
|
||||
ssh)
|
||||
host=$(echo $1 | cut -d "/" -f 3)
|
||||
exec alacritty -e ssh "$host"
|
||||
;;
|
||||
*.html|http|https)
|
||||
exec firefox "$1"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue