From 2d29293fa31dfa5711d85da26d07efcda499ff22 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Fri, 6 Dec 2024 05:13:25 +0100 Subject: [PATCH] fix: hyprshot screenshot destination --- home/sway/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/sway/default.nix b/home/sway/default.nix index cbf8ebb..0327cd7 100644 --- a/home/sway/default.nix +++ b/home/sway/default.nix @@ -90,7 +90,7 @@ lib.mkIf osConfig.programs.sway.enable { "--locked XF86AudioPause" = "exec ${pkgs.playerctl}/bin/playerctl play-pause"; "--locked XF86AudioNext" = "exec ${pkgs.playerctl}/bin/playerctl next"; "--locked XF86AudioPrev" = "exec ${pkgs.playerctl}/bin/playerctl previous"; - "${mod}+u" = "exec ${pkgs.hyprshot}/bin/hyprshot -o $XDG_PICTURES_DIR/screenshots -m region"; + "${mod}+u" = "exec ${pkgs.hyprshot}/bin/hyprshot -o ${config.xdg.userDirs.pictures}/screenshots -m region"; "${mod}+Shift+u" = "exec ${pkgs.hyprshot}/bin/hyprshot --raw -m region | ${pkgs.satty}/bin/satty -f - --fullscreen"; #: Workspace movement {{{