linuxware/scripts/hyprland/screenshot_area.sh

7 lines
169 B
Bash
Raw Normal View History

2023-11-05 04:53:31 -03:00
#!/bin/sh
FILE_PATH="/mnt/internal/personal/screenshots/$(date +'%Y-%m-%d_%H-%M-%S').png"
2024-01-12 17:02:01 -03:00
grim -t png -g "$(slurp -w 0 -b '#6E738D77')" $FILE_PATH
2023-11-05 04:53:31 -03:00
wl-copy <$FILE_PATH