fix flameshot

This commit is contained in:
Jill 2024-01-18 16:01:46 +03:00
parent c8433e9ce6
commit d92f5cd238
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@
gnome.keybinds.custom = {
"take-screenshot" = {
binding = "Print";
command = "${lib.getExe pkgs.flameshot} gui";
command = let
screenshotScript = pkgs.writeScript "screenshot" "XDG_SESSION_TYPE=wayland ${lib.getExe pkgs.flameshot} gui -c";
in ''${screenshotScript}'';
};
"take-screen-recording" = {
binding = "<Shift>Print";