chore: Formatting

This commit is contained in:
Donovan Glover 2023-06-16 08:51:22 -04:00
parent 39e206a89b
commit 8498368947
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,7 @@
let VARIABLES = import ../../src/variables.nix; in { let VARIABLES = import ../../src/variables.nix; in {
xdg.mimeApps = { xdg.mimeApps = {
enable = true; enable = true;
defaultApplications = { defaultApplications = {
"image/png" = "feh.desktop"; "image/png" = "feh.desktop";
"image/jpeg" = "feh.desktop"; "image/jpeg" = "feh.desktop";

View File

@ -3,26 +3,31 @@
enable = true; enable = true;
config = { config = {
screenshot-format = "png";
profile = "gpu-hq"; profile = "gpu-hq";
scale = "ewa_lanczossharp"; scale = "ewa_lanczossharp";
cscale = "ewa_lanczossharp"; cscale = "ewa_lanczossharp";
video-sync = "display-resample"; video-sync = "display-resample";
interpolation = true; interpolation = true;
tscale = "oversample"; tscale = "oversample";
sub-auto = "fuzzy"; sub-auto = "fuzzy";
sub-font = "Noto Sans CJK JP Medium"; sub-font = "Noto Sans CJK JP Medium";
sub-blur = 10; sub-blur = 10;
sub-file-paths = "subs:subtitles:"; sub-file-paths = "subs:subtitles:";
fullscreen = "yes"; fullscreen = "yes";
screenshot-format = "png";
title = "\${filename} - mpv"; title = "\${filename} - mpv";
script-opts = "osc-title=\${filename},osc-boxalpha=150,osc-showfullscreen=no,osc-boxvideo=yes"; script-opts = "osc-title=\${filename},osc-boxalpha=150,osc-showfullscreen=no,osc-boxvideo=yes";
osc = "no"; osc = "no";
osd-on-seek = "no"; osd-on-seek = "no";
osd-bar = "no"; osd-bar = "no";
osd-bar-w = 30; osd-bar-w = 30;
osd-bar-h = "0.2"; osd-bar-h = "0.2";
osd-duration = 750; osd-duration = 750;
really-quiet = "yes"; really-quiet = "yes";
}; };

View File

@ -1,6 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
fonts = { fonts = {
enableDefaultFonts = true; enableDefaultFonts = true;
fonts = with pkgs; [ fonts = with pkgs; [
noto-fonts noto-fonts
noto-fonts-cjk-sans noto-fonts-cjk-sans
@ -11,14 +12,16 @@
nerdfonts nerdfonts
kanji-stroke-order-font kanji-stroke-order-font
]; ];
fontconfig = { fontconfig = {
defaultFonts = { defaultFonts = {
serif = [ "Noto Serif CJK JP" "Noto Serif" ]; serif = [ "Noto Serif CJK JP" "Noto Serif" ];
sansSerif = [ "Noto Sans CJK JP" "Noto Sans" ]; sansSerif = [ "Noto Sans CJK JP" "Noto Sans" ];
monospace = [ "Noto Mono CJK JP" "Noto Mono" ]; monospace = [ "Noto Mono CJK JP" "Noto Mono" ];
}; };
allowBitmaps = false; allowBitmaps = false;
hinting = { style = "hintfull"; }; hinting.style = "hintfull";
}; };
}; };
} }