Przeglądaj źródła

screensaver settings

pull/1/head
rodzic
commit
65fadf9e90
2 zmienionych plików z 6 dodań i 7 usunięć
  1. +5
    -3
      defaults/main.yaml
  2. +1
    -4
      tasks/screensaver.yaml

+ 5
- 3
defaults/main.yaml Wyświetl plik

@@ -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 Wyświetl plik

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