From 1928c3643175a8fc42c41f28117346552dea5d7d Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sat, 9 Sep 2023 13:41:39 -0700 Subject: [PATCH] Fixed screenshot commands --- modules/desktop/sway/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/desktop/sway/default.nix b/modules/desktop/sway/default.nix index cf42ae3..7530b15 100644 --- a/modules/desktop/sway/default.nix +++ b/modules/desktop/sway/default.nix @@ -279,16 +279,16 @@ in { # Screenshots ## Current window - "${modifier}+period" = "exec grimshot --notify save active ~/screenshots"; + "${modifier}+period" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save active ~/screenshots"; ## Area selection - "${modifier}+Shift+period" = "exec grimshot --notify save area ~/screenshots"; + "${modifier}+Shift+period" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save area ~/screenshots"; ## Current output - "${modifier}+Alt+period" = "exec grimshot --notify save output ~/screenshots"; + "${modifier}+Alt+period" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save output ~/screenshots"; ## Window selection - "${modifier}+Ctrl+period" = "exec grimshot --notify save window ~/screenshots"; + "${modifier}+Ctrl+period" = "exec ${pkgs.sway-contrib.grimshot}/bin/grimshot --notify save window ~/screenshots"; # Scratchpad # Move the currently focused window to the scratchpad