浏览代码

xscreensaver configurable options

master
Markus Brechtel 5 年前
父节点
当前提交
6ae1af8d87
共有 2 个文件被更改,包括 16 次插入2 次删除
  1. +3
    -0
      defaults/main.yml
  2. +13
    -2
      templates/Xresources.xscreensaver.j2

+ 3
- 0
defaults/main.yml 查看文件

@@ -34,3 +34,6 @@ kiosk_unlocked_users: root
xfwm4_use_compositing: true

xfce_lock_panel: true

xscreensaver_dpms: true
xscreensaver_timeout: 900

+ 13
- 2
templates/Xresources.xscreensaver.j2 查看文件

@@ -1,10 +1,21 @@
xscreensaver.mode: blank

xscreensaver.timeout: 0:15:00
xscreensaver.lockTimeout: 0:15:00
xscreensaver.timeout: {{ (xscreensaver_timeout / 60 / 60) | round | int }}:{{ (xscreensaver_timeout / 60 % 60) | round | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.lockTimeout: {{ (xscreensaver_timeout / 60 / 60) | round | int }}:{{ (xscreensaver_timeout / 60 % 60) | round | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.passwdTimeout: 0:00:30

{% if xscreensaver_dpms %}
xscreensaver.dpmsEnabled: True
xscreensaver.dpmsQuickoffEnabled: True
xscreensaver.dpmsStandby: {{ (xscreensaver_timeout / 60 / 60) | round | int }}:{{ (xscreensaver_timeout / 60 % 60) | round | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsSuspend: {{ (xscreensaver_timeout / 60 / 60) | round | int }}:{{ (xscreensaver_timeout / 60 % 60) | round | int }}:{{ xscreensaver_timeout % 60 }}
xscreensaver.dpmsOff: {{ (xscreensaver_timeout / 60 / 60) | round | int }}:{{ (xscreensaver_timeout / 60 % 60) | round | int }}:{{ xscreensaver_timeout % 60 }}
{% else %}
xscreensaver.dpmsEnabled: False
xscreensaver.dpmsQuickoffEnabled: False
{% endif %}

xscreensaver.cycle: 0:15:00

xscreensaver.grabDesktopImages: False
xscreensaver.grabVideoFrames: False


正在加载...
取消
保存