From 939170c7f657a1e2ce38e0a73b544a5c9a61b373 Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 10 Jan 2021 17:49:16 +0100 Subject: [PATCH] rename vncviewer workspace --- tasks/workspaces.yaml | 2 +- templates/workspaces/workspace.space.fish.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/workspaces.yaml b/tasks/workspaces.yaml index b271fae..327f206 100644 --- a/tasks/workspaces.yaml +++ b/tasks/workspaces.yaml @@ -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 diff --git a/templates/workspaces/workspace.space.fish.j2 b/templates/workspaces/workspace.space.fish.j2 index 024e7aa..de5241d 100644 --- a/templates/workspaces/workspace.space.fish.j2 +++ b/templates/workspaces/workspace.space.fish.j2 @@ -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}}