about summary refs log tree commit diff
path: root/screenshot
blob: e101d3e788782bf4a0abb9c5af1362da46925098 (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 "${pic}"

Consider giving Nix/NixOS a try! <3