From 383d387b39d812a0b58b41d5755bdff1e82c206e Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 18 Oct 2023 13:31:02 +0200 Subject: [PATCH] ghostwriter on Wayland --- modules/ghostwriter.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/ghostwriter.nix b/modules/ghostwriter.nix index 6e76c01..b18a37f 100644 --- a/modules/ghostwriter.nix +++ b/modules/ghostwriter.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, lib, ... }: { users.users.yoda = { packages = with pkgs; [ @@ -6,6 +6,9 @@ ]; }; + # This fixes blurry fonts with fractional scaling on Wayland. + environment.sessionVariables.QT_QPA_PLATFORM = lib.mkIf (config.services.xserver.displayManager.gdm.wayland) "wayland"; + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { home.file.".config/kde.org/ghostwriter.conf" = { text = ''