You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

9 lines
510B

  1. #!/usr/bin/fish
  2. {{ ansible_managed | comment }}
  3. {% if workspaces[workspace].type == "vdesk" %}
  4. source (dirname (status --current-filename))/vnc-options
  5. xtigervncviewer localhost:{{workspaces[workspace].display|default(16)}} -via {{workspaces[workspace].host}} -PasswordFile ~/.vnc/passwd.{{workspaces[workspace].host}}
  6. {% elif workspaces[workspace].type == "tmux" %}
  7. urxvt -title tmux-workspace -e fish -c 'ssh -t {{workspaces[workspace].host}} tmux attach -d -t {{workspaces[workspace].session}}'
  8. {% endif %}