From 8e84915f8d3d8fec318c65ef81299a9bd81a6d66 Mon Sep 17 00:00:00 2001 From: notgne2 Date: Sun, 14 Sep 2025 22:31:34 -0700 Subject: [PATCH] fix flameshot --- home-manager/modules/ezpcusr.nix | 5 ++--- modules/ezpc.nix | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/home-manager/modules/ezpcusr.nix b/home-manager/modules/ezpcusr.nix index 45c40f3..aa77644 100644 --- a/home-manager/modules/ezpcusr.nix +++ b/home-manager/modules/ezpcusr.nix @@ -597,14 +597,13 @@ in { services.flameshot = { enable = true; - package = pkgs.flameshot.override { enableWlrSupport = true; }; settings.General = { filenamePattern = "%F_%T"; - savePath = "Media/Screenshots"; + savePath = "${config.home.homeDirectory}/Media/Screenshots"; saveAfterCopy = true; + useGrimAdapter = true; #uiColor = "#${lib.stylix.colors.base04}"; #contrastUiColor = "#${lib.stylix.colors.base05}"; - disabledGrimWarning = true; }; }; diff --git a/modules/ezpc.nix b/modules/ezpc.nix index fd441b7..709a1fb 100644 --- a/modules/ezpc.nix +++ b/modules/ezpc.nix @@ -29,13 +29,14 @@ in { }; environment.sessionVariables = { - QT_QPA_PLATFORM = "wayland-egl;xcb"; + QT_QPA_PLATFORM = "wayland;wayland-egl;xcb"; MOZ_ENABLE_WAYLAND = "1"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; ECORE_EVAS_ENGINE = "wayland_egl"; ELM_ENGINE = "wayland_egl"; _JAVA_AWT_WM_NONREPARENTING = "1"; NIXOS_OZONE_WL = "1"; + SDL_VIDEODRIVER = "wayland"; }; services.greetd = {