瀏覽代碼

enable screensaver service

systemd-xsession
父節點
當前提交
b7368c0e67
共有 2 個檔案被更改,包括 11 行新增0 行删除
  1. +1
    -0
      tasks/main.yaml
  2. +10
    -0
      tasks/screensaver.yaml

+ 1
- 0
tasks/main.yaml 查看文件

@@ -7,6 +7,7 @@
- import_tasks: vnc.yaml
- import_tasks: tmux.yaml
- import_tasks: pulseaudio.yaml
- import_tasks: screensaver.yaml
- import_tasks: git.yaml

- import_tasks: kanboard.yaml


+ 10
- 0
tasks/screensaver.yaml 查看文件

@@ -0,0 +1,10 @@
---

- name: screensaver graphical-session service enabled
systemd:
name: screensaver.service
enabled: true
scope: user
when:
- home_profile != "presentation"
- home_profile != "vdesk"