Simple command to screenshot in Wayland
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 lines
141 B

  1. #! /bin/bash
  2. #slurp | grim -g - $(xdg-user-dir)/Documents/Screenshots/$(date +'%Y-%m-%d-%H%M%S_grim.png')
  3. grim -g "$(slurp)" - | swappy -f -