Преглед изворни кода

merge master

systemd-xsession
Markus Katharina Brechtel пре 3 година
родитељ
комит
4bed21aca2
4 измењених фајлова са 10 додато и 2 уклоњено
  1. +1
    -0
      defaults/main.yaml
  2. +7
    -0
      tasks/clean.yaml
  3. +1
    -1
      tasks/main.yaml
  4. +1
    -1
      templates/workspaces/workspace.space.fish.j2

+ 1
- 0
defaults/main.yaml Прегледај датотеку

@@ -13,6 +13,7 @@ kanboard_api_settings: "{{ lookup('file', '~/.kanboard_api_settings.json') }}"
# kanboard_api_user: ka
# kanboard_api_key: xxx
home_vdesk_started_and_enabled: false
home_vdesk_display_number: 47

home_profile: desktop



+ 7
- 0
tasks/clean.yaml Прегледај датотеку

@@ -22,3 +22,10 @@
file:
path: ~/.xsession.fish
state: absent

- name: disable and stop vdesk user service at display 16
systemd:
name: vdesk@:16.service
state: stopped
enabled: false
scope: user

+ 1
- 1
tasks/main.yaml Прегледај датотеку

@@ -28,7 +28,7 @@

- name: enable and start vdesk user service
systemd:
name: vdesk@:16.service
name: vdesk@:{{home_vdesk_display_number}}.service
state: started
enabled: true
scope: user


+ 1
- 1
templates/workspaces/workspace.space.fish.j2 Прегледај датотеку

@@ -3,7 +3,7 @@

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

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

{% elif workspaces[workspace].type == "tmux" %}