linuxware/scripts/hyprland/screenshot.sh

7 lines
135 B
Bash
Executable file

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