Преглед на файлове

screensaver settings

pull/1/head
Markus Katharina Brechtel преди 3 години
родител
ревизия
65fadf9e90
променени са 2 файла, в които са добавени 6 реда и са изтрити 7 реда
  1. +5
    -3
      defaults/main.yaml
  2. +1
    -4
      tasks/screensaver.yaml

+ 5
- 3
defaults/main.yaml Целия файл

@@ -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 Целия файл

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