Skip to content

Instantly share code, notes, and snippets.

@rAum
rAum / capture.sh
Created November 22, 2023 14:12
KDE quick screenshot script
#!/bin/bash
# For KDE: Custom shortcuts -> Meta+O + add this script
A=`printf '%(%Y-%m-%d_%H_%M_%S)T'` && maim -s ~/Pictures/QScreenshot_`echo $A`.png && xclip -sel clip -t image/png -i ~/Pictures/QScreenshot_$A.png