mirror of
https://github.com/ben-grande/qusal.git
synced 2025-12-17 01:14:20 -05:00
feat: enhance mpv performance
Fixes: https://github.com/ben-grande/qusal/issues/19
This commit is contained in:
parent
766a430ba8
commit
d984da54a0
3 changed files with 16 additions and 6 deletions
|
|
@ -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
|
forward files from the "media" qube to "disp-media" by running `xdg-open
|
||||||
/path/file` or more explicitly, `qvm-open-in-dvm /path/file`.
|
/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
|
You can personalize `mpv` by editing `$XDG_CONFIG_HOME/mpv/mpv.conf`.
|
||||||
`/etc/mpv/mpv.conf`:
|
|
||||||
```cfg
|
|
||||||
vo=x11
|
|
||||||
profile=sw-fast
|
|
||||||
```
|
|
||||||
|
|
||||||
## Credits
|
## 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
|
- group: root
|
||||||
- makedirs: True
|
- 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":
|
"{{ slsdotpath }}-idle-trimleness":
|
||||||
file.replace:
|
file.replace:
|
||||||
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
|
- name: /usr/lib/python3/dist-packages/qubesidle/idleness_monitor.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue