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 {{{