mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +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;
|
"layout.css.color-mix.enabled" = true;
|
||||||
"ui.systemUsesDarkTheme" =
|
"ui.systemUsesDarkTheme" =
|
||||||
if config.theme.dark == true then 1 else 0;
|
if config.theme.dark == true then 1 else 0;
|
||||||
|
"media.ffmpeg.vaapi.enabled" =
|
||||||
|
true; # Enable hardware video acceleration
|
||||||
};
|
};
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
:root {
|
:root {
|
||||||
|
@ -21,7 +21,10 @@
|
|||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
bindings = { };
|
bindings = { };
|
||||||
config = { image-display-duration = 2; };
|
config = {
|
||||||
|
image-display-duration = 2;
|
||||||
|
hwdec = "auto-safe";
|
||||||
|
};
|
||||||
scripts = [
|
scripts = [
|
||||||
|
|
||||||
# Automatically load playlist entries before and after current file
|
# Automatically load playlist entries before and after current file
|
||||||
|
Loading…
Reference in New Issue
Block a user