Sfoglia il codice sorgente

screensaver settings

pull/1/head
parent
commit
65fadf9e90
2 ha cambiato i file con 6 aggiunte e 7 eliminazioni
  1. +5
    -3
      defaults/main.yaml
  2. +1
    -4
      tasks/screensaver.yaml

+ 5
- 3
defaults/main.yaml Vedi File

@@ -41,13 +41,15 @@ application_shortcuts:

ssh_over_tor: false

session_lock_command: xset s activate
session_enable_screensaver_command: /usr/local/bin/screensaver-enable
session_disable_screensaver_command: /usr/local/bin/screensaver-disable
system_suspend_command: systemctl suspend
system_reboot_command: systemctl reboot
system_poweroff_command: systemctl poweroff

session_lock_enabled: "{{ (home_profile != 'presentation') and (home_profile != 'vdesk') }}"
session_lock_command: xset s activate
session_enable_screensaver_command: /usr/local/bin/screensaver-enable
session_disable_screensaver_command: /usr/local/bin/screensaver-disable

file_browser_command: thunar
calculator_command: "{{default_browser}} --new-window https://www.geogebra.org/calculator"
mail_command: thunderbird


+ 1
- 4
tasks/screensaver.yaml Vedi File

@@ -3,8 +3,5 @@
- name: screensaver graphical-session service enabled
systemd:
name: screensaver.service
enabled: true
enabled: "{{ session_lock_enabled }}"
scope: user
when:
- home_profile != "presentation"
- home_profile != "vdesk"