mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
try to enable hw accel for mpv and firefox
This commit is contained in:
parent
c88718b649
commit
494cf355e9
@ -71,6 +71,8 @@
|
||||
"layout.css.color-mix.enabled" = true;
|
||||
"ui.systemUsesDarkTheme" =
|
||||
if config.theme.dark == true then 1 else 0;
|
||||
"media.ffmpeg.vaapi.enabled" =
|
||||
true; # Enable hardware video acceleration
|
||||
};
|
||||
userChrome = ''
|
||||
:root {
|
||||
|
@ -21,7 +21,10 @@
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
bindings = { };
|
||||
config = { image-display-duration = 2; };
|
||||
config = {
|
||||
image-display-duration = 2;
|
||||
hwdec = "auto-safe";
|
||||
};
|
||||
scripts = [
|
||||
|
||||
# Automatically load playlist entries before and after current file
|
||||
|
Loading…
Reference in New Issue
Block a user