about summary refs log tree commit diff
path: root/screenshot-select
blob: cab59476b9ce828b1086995b9faae0e65ae672aa (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

picdir="${XDG_PICTURES_DIR}/screenshots"
pic="${picdir}/$(date +%Y-%m-%d_%H-%M-%S).png"

maim --format=png --hidecursor --quality 8 --select "${pic}"

Consider giving Nix/NixOS a try! <3