From 0eb50e795f1d8e10bf55b47d3c1e2b0265eae906 Mon Sep 17 00:00:00 2001 From: KnightArtorias Date: Thu, 18 Jun 2026 18:58:50 -0400 Subject: [PATCH] Fix flameshot config --- modules/features/flameshot.nix | 16 +++++++--------- modules/features/tiling/niri.nix | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/modules/features/flameshot.nix b/modules/features/flameshot.nix index 0db5004..68e4565 100644 --- a/modules/features/flameshot.nix +++ b/modules/features/flameshot.nix @@ -5,17 +5,15 @@ grim slurp satty - wl-copy + wl-clipboard ]; - services.flameshot = { - enable = true; - General = { - showStartupLaunchMessage = false; - useGrimAdapter = true; - disabledGrimWarning = true; - }; - }; + environment.etc."xdg/flameshot/flameshot.ini".text = '' + [General] + contrastOpacity=188 + startupLaunch=true + useGrimAdapter=true + ''; }; } diff --git a/modules/features/tiling/niri.nix b/modules/features/tiling/niri.nix index 38f4d6d..bb6341d 100644 --- a/modules/features/tiling/niri.nix +++ b/modules/features/tiling/niri.nix @@ -123,9 +123,9 @@ }; } { - matches = [ { app-id="^flameshot$" } ]; + matches = [ { app-id="^flameshot$"; } ]; open-floating = true; - }; + } ]; binds = {