Force dpi 96

This commit is contained in:
Martin Potier 2024-08-28 09:24:27 +03:00
parent ef916319ca
commit da67a6d08f
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E
2 changed files with 5 additions and 4 deletions

View file

@ -11,9 +11,9 @@
{
devShells.default = import ./shell.nix { inherit pkgs; };
}) // {
packages.x86_64-linux.default =
packages.aarch64-linux.default =
# Notice the reference to nixpkgs here.
with import nixpkgs { system = "x86_64-linux"; };
with import nixpkgs { system = "aarch64-linux"; };
haskellPackages.callCabal2nix "xmonad-config" ./. {};
};
}

View file

@ -17,5 +17,6 @@ modify :: XConfig l -> XConfig l
modify = addAfterRescreenHook afterRescreen
afterRescreen :: X ()
afterRescreen = spawn "/home/e/.fehbg"
afterRescreen = do
spawn "xrandr --dpi 96"
spawn "/home/e/.fehbg"