linuxware/scripts/hyprland/screenshot_area.sh

7 lines
149 B
Bash
Executable file

#!/bin/sh
FILE_PATH="/mnt/internal/personal/screenshots/$(date +'%Y-%m-%d_%H-%M-%S').png"
grim -t png -g "$(slurp)" $FILE_PATH
wl-copy <$FILE_PATH