mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
feat: enhance mpv performance
Fixes: https://github.com/ben-grande/qusal/issues/19
This commit is contained in:
parent
766a430ba8
commit
d984da54a0
@ -43,12 +43,7 @@ automatically running scripts saved in the home directory. You are open to
|
||||
forward files from the "media" qube to "disp-media" by running `xdg-open
|
||||
/path/file` or more explicitly, `qvm-open-in-dvm /path/file`.
|
||||
|
||||
To get a decent performance with `mpv`, you will need to configure it in
|
||||
`/etc/mpv/mpv.conf`:
|
||||
```cfg
|
||||
vo=x11
|
||||
profile=sw-fast
|
||||
```
|
||||
You can personalize `mpv` by editing `$XDG_CONFIG_HOME/mpv/mpv.conf`.
|
||||
|
||||
## Credits
|
||||
|
||||
|
6
salt/media/files/browser/mpv.conf
Normal file
6
salt/media/files/browser/mpv.conf
Normal file
@ -0,0 +1,6 @@
|
||||
# SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
||||
vo=x11
|
||||
profile=sw-fast
|
@ -43,6 +43,15 @@ include:
|
||||
- group: root
|
||||
- makedirs: True
|
||||
|
||||
"{{ slsdotpath }}-etc-mpv.conf":
|
||||
file.managed:
|
||||
- name: /etc/mpv/mpv.conf
|
||||
- source: salt://{{ slsdotpath }}/files/browser/mpv.conf
|
||||
- mode: '0644'
|
||||
- user: root
|
||||
- group: root
|
||||
- makedirs: True
|
||||
|
||||
"{{ slsdotpath }}-idle-trimleness":
|
||||
file.replace:
|
||||
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
|
||||
|
Loading…
Reference in New Issue
Block a user