fix(xwayland-satellite): fractional scaling
This commit is contained in:
@@ -83,6 +83,15 @@
|
|||||||
"sleep 3; echo 'Xft.dpi: 120' | ${lib.getExe pkgs.xorg.xrdb} -merge"
|
"sleep 3; echo 'Xft.dpi: 120' | ${lib.getExe pkgs.xorg.xrdb} -merge"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
command = [
|
||||||
|
"sh"
|
||||||
|
"-c"
|
||||||
|
"sleep 3; ${lib.getExe pkgs.xsettingsd} -c ${pkgs.writeText "xsettingsd.conf" ''
|
||||||
|
Xft/DPI 122880
|
||||||
|
''}"
|
||||||
|
];
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,6 +5,20 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
my.home.systemd.user.services.xwayland-satellite = {
|
||||||
|
Unit = {
|
||||||
|
Description = "xwayland-satellite";
|
||||||
|
After = [ "niri.service" ];
|
||||||
|
};
|
||||||
|
Service = {
|
||||||
|
ExecStart = "${lib.getExe pkgs.xwayland-satellite-unstable}";
|
||||||
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
|
Install.WantedBy = [
|
||||||
|
"niri.service"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
my.home.programs.niri.settings = {
|
my.home.programs.niri.settings = {
|
||||||
input = {
|
input = {
|
||||||
focus-follows-mouse = {
|
focus-follows-mouse = {
|
||||||
@@ -85,7 +99,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
spawn-at-startup = map (c: { command = c; }) [
|
spawn-at-startup = map (c: { command = c; }) [
|
||||||
[ "${lib.getExe pkgs.xwayland-satellite-unstable}" ]
|
|
||||||
[ "${lib.getExe' pkgs.swaynotificationcenter "swaync"}" ]
|
[ "${lib.getExe' pkgs.swaynotificationcenter "swaync"}" ]
|
||||||
[
|
[
|
||||||
"${lib.getExe pkgs.swaybg}"
|
"${lib.getExe pkgs.swaybg}"
|
||||||
|
|||||||
Reference in New Issue
Block a user