Ver código fonte

rename vncviewer workspace

timer
pai
commit
939170c7f6
2 arquivos alterados com 2 adições e 2 exclusões
  1. +1
    -1
      tasks/workspaces.yaml
  2. +1
    -1
      templates/workspaces/workspace.space.fish.j2

+ 1
- 1
tasks/workspaces.yaml Ver arquivo

@@ -19,6 +19,6 @@
src: workspaces/workspace.space.fish.j2
dest: ~/.workspaces/{{workspace}}.space
mode: 0755
with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'||value.type=='tmux'].key\") }}"
with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vncviewer'||value.type=='tmux'].key\") }}"
loop_control:
loop_var: workspace

+ 1
- 1
templates/workspaces/workspace.space.fish.j2 Ver arquivo

@@ -1,7 +1,7 @@
#!/usr/bin/fish
{{ ansible_managed | comment }}

{% if workspaces[workspace].type == "vdesk" %}
{% if workspaces[workspace].type == "vncviewer" %}

xtigervncviewer localhost:{{workspaces[workspace].display|default(home_vncserver_display_number)}} -via {{workspaces[workspace].host}} -PasswordFile ~/.vnc/passwd.{{workspaces[workspace].host}}