screenshot/screenshot.sh
2024-10-02 23:29:02 +01:00

5 lines
181 B
Bash
Executable File

#!/bin/sh
time=$(date +"%d,%m,%Y--%H:%M:%S")
maim -s --format png $HOME/Screenshots/$time.png | -u
cat $HOME/Screenshots/$time.png | xclip -selection clipboard -target image/png -i