From da67a6d08f1eb9018b882ae103453e1d93c80dc4 Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Wed, 28 Aug 2024 09:24:27 +0300 Subject: [PATCH] Force dpi 96 --- flake.nix | 4 ++-- lib/ScreenEvents.hs | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 31c4e8e..58c3a39 100644 --- a/flake.nix +++ b/flake.nix @@ -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" ./. {}; }; } diff --git a/lib/ScreenEvents.hs b/lib/ScreenEvents.hs index e218993..536c89f 100644 --- a/lib/ScreenEvents.hs +++ b/lib/ScreenEvents.hs @@ -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"