diff --git a/config/hypr/hyprland/binds/screenshot.lua b/config/hypr/hyprland/binds/screenshot.lua index 263a460..6fecc56 100644 --- a/config/hypr/hyprland/binds/screenshot.lua +++ b/config/hypr/hyprland/binds/screenshot.lua @@ -11,14 +11,14 @@ hl.define_submap("screenshot", function() hl.bind("c", function() hl.dispatch( hl.dsp.exec_cmd( - 'grim -g "$(slurp -d)" - | satty -f - --copy-command wl-copy -o "~/Pictures/Screenshots/%Y-%m-%dT%H:%M:%SZ%z.png"' + 'grim -g "$(slurp -d)" - | satty -f - --copy-command wl-copy -o "$(xdg-user-dir PICTURES)/Screenshots/%Y-%m-%dT%H:%M:%SZ%z.png"' ) ) exit_submap() end, { description = "Take screenshot of area, yank and save" }) hl.bind("s", function() - hl.dispatch(hl.dsp.exec_cmd("grim -g '$(slurp -d)' $(xdg-user-dir PICTURES)/Screenshots/$(date +'%Y-%m-%dT%H:%M:%SZ%z.png')")) + hl.dispatch(hl.dsp.exec_cmd("grim -g '$(slurp -d)' -o $(xdg-user-dir PICTURES)/Screenshots/$(date +'%Y-%m-%dT%H:%M:%SZ%z.png')")) exit_submap() end, { description = "Take screenshot of area and Save" })