diff options
Diffstat (limited to 'scripts/hostclass/desktop')
-rw-r--r-- | scripts/hostclass/desktop | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/hostclass/desktop b/scripts/hostclass/desktop index 381aeef..e6ddd86 100644 --- a/scripts/hostclass/desktop +++ b/scripts/hostclass/desktop @@ -174,6 +174,7 @@ case $graphics_type in set_loader_conf \ compat.linuxkpi.i915_enable_fbc=1 \ compat.linuxkpi.i915_fastboot=1 + : ${mpv_hwdec:='vaapi-copy'} ;; esac @@ -181,6 +182,9 @@ esac # acceleration after resuming from sleep. set_sysctl kern.vt.suspendswitch="${vt_suspendswitch:-1}" +# Generate mpv configuration. +install_template -m 0644 /usr/local/etc/mpv/mpv.conf + # Start login manager. case $desktop_type in kde) |