mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-27 07:00:50 +01:00
chore: Formatting
This commit is contained in:
parent
39e206a89b
commit
8498368947
@ -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";
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user