瀏覽代碼

rename vncviewer workspace

timer
父節點
當前提交
939170c7f6
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      tasks/workspaces.yaml
  2. +1
    -1
      templates/workspaces/workspace.space.fish.j2

+ 1
- 1
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

+ 1
- 1
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}}