Browse Source

enable screensaver service

systemd-xsession
parent
commit
b7368c0e67
2 changed files with 11 additions and 0 deletions
  1. +1
    -0
      tasks/main.yaml
  2. +10
    -0
      tasks/screensaver.yaml

+ 1
- 0
tasks/main.yaml View File

@@ -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 View File

@@ -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"