mirror of
https://github.com/unman/shaker.git
synced 2024-10-01 01:25:41 -04:00
Multimedia - Shutdown multimedia qubes after 3 idle minutes.
Refresh packages before installation.
This commit is contained in:
parent
40bc29b0e6
commit
7d0383ac5a
@ -47,6 +47,9 @@ multimedia-features:
|
||||
- appemenus-dispvm: True
|
||||
- disable:
|
||||
- service.cups
|
||||
- enable:
|
||||
- service.shutdown-idle
|
||||
|
||||
|
||||
media-present-id:
|
||||
qvm.present:
|
||||
|
@ -13,6 +13,10 @@ update_sources:
|
||||
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||||
{% endif %}
|
||||
|
||||
base_packages:
|
||||
pkg.uptodate:
|
||||
- refresh: True
|
||||
|
||||
vlc.packages:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
@ -126,6 +130,6 @@ apt-get clean:
|
||||
|
||||
trim_idleness:
|
||||
file.replace:
|
||||
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
|
||||
- pattern: TIMEOUT_SECONDS = 15
|
||||
- repl: TIMEOUT_SECONDS = 3
|
||||
- name: /lib/python3/dist-packages/qubesidle/idleness_monitor.py
|
||||
- pattern: '15 \* 60'
|
||||
- repl: '3 * 60'
|
||||
|
Loading…
Reference in New Issue
Block a user