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 {
|
||||
xdg.mimeApps = {
|
||||
enable = true;
|
||||
|
||||
defaultApplications = {
|
||||
"image/png" = "feh.desktop";
|
||||
"image/jpeg" = "feh.desktop";
|
||||
|
@ -3,26 +3,31 @@
|
||||
enable = true;
|
||||
|
||||
config = {
|
||||
screenshot-format = "png";
|
||||
profile = "gpu-hq";
|
||||
scale = "ewa_lanczossharp";
|
||||
cscale = "ewa_lanczossharp";
|
||||
video-sync = "display-resample";
|
||||
interpolation = true;
|
||||
tscale = "oversample";
|
||||
|
||||
sub-auto = "fuzzy";
|
||||
sub-font = "Noto Sans CJK JP Medium";
|
||||
sub-blur = 10;
|
||||
sub-file-paths = "subs:subtitles:字幕";
|
||||
|
||||
fullscreen = "yes";
|
||||
screenshot-format = "png";
|
||||
|
||||
title = "\${filename} - mpv";
|
||||
script-opts = "osc-title=\${filename},osc-boxalpha=150,osc-showfullscreen=no,osc-boxvideo=yes";
|
||||
|
||||
osc = "no";
|
||||
osd-on-seek = "no";
|
||||
osd-bar = "no";
|
||||
osd-bar-w = 30;
|
||||
osd-bar-h = "0.2";
|
||||
osd-duration = 750;
|
||||
|
||||
really-quiet = "yes";
|
||||
};
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{ pkgs, ... }: {
|
||||
fonts = {
|
||||
enableDefaultFonts = true;
|
||||
|
||||
fonts = with pkgs; [
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
@ -11,14 +12,16 @@
|
||||
nerdfonts
|
||||
kanji-stroke-order-font
|
||||
];
|
||||
|
||||
fontconfig = {
|
||||
defaultFonts = {
|
||||
serif = [ "Noto Serif CJK JP" "Noto Serif" ];
|
||||
sansSerif = [ "Noto Sans CJK JP" "Noto Sans" ];
|
||||
monospace = [ "Noto Mono CJK JP" "Noto Mono" ];
|
||||
};
|
||||
|
||||
allowBitmaps = false;
|
||||
hinting = { style = "hintfull"; };
|
||||
hinting.style = "hintfull";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user