feat(xwayland-satellite): use builtin fractional scaling
This commit is contained in:
@@ -76,28 +76,6 @@
|
|||||||
scale = 1.25;
|
scale = 1.25;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
spawn-at-startup = [
|
|
||||||
{
|
|
||||||
command = [
|
|
||||||
"sh"
|
|
||||||
"-c"
|
|
||||||
"sleep 3; echo 'Xft.dpi: 120' | ${lib.getExe pkgs.xorg.xrdb} -merge"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
command = [
|
|
||||||
(toString (
|
|
||||||
pkgs.writeShellScript "xsettingsd" ''
|
|
||||||
pgrep xsettingsd && exit
|
|
||||||
while :
|
|
||||||
do
|
|
||||||
${lib.getExe pkgs.xsettingsd} -c ${pkgs.writeText "xsettingsd.conf" "Xft/DPI 122880\n"}
|
|
||||||
done
|
|
||||||
''
|
|
||||||
))
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -128,7 +106,7 @@
|
|||||||
{
|
{
|
||||||
"inode/directory" = [ "nemo.desktop" ];
|
"inode/directory" = [ "nemo.desktop" ];
|
||||||
|
|
||||||
"application/pdf" = [ "evince.desktop" ];
|
"application/pdf" = [ "org.gnome.Evince.desktop" ];
|
||||||
|
|
||||||
"text/*" = editor;
|
"text/*" = editor;
|
||||||
"application/json" = editor;
|
"application/json" = editor;
|
||||||
|
|||||||
Reference in New Issue
Block a user