dont even bother man
This commit is contained in:
@ -1,12 +1,10 @@
|
||||
#!/bin/sh
|
||||
YEAR=$(date +%Y)
|
||||
MONTH_DAY=$(date +%m-%d)
|
||||
FILENAME=$(date +%R:%S)
|
||||
mkdir -p ~/pictures/$YEAR/$MONTH_DAY
|
||||
FILENAME=$(date +%m-%d-%Y_%R:%S)
|
||||
mkdir -p ~/pictures/screenshots
|
||||
if [ $1 = 1 ]; then
|
||||
import clipboard:
|
||||
notify-send "Screenshot taken" "copied to clipboard" -i :
|
||||
else
|
||||
import -window root ~/pictures/$YEAR/$MONTH_DAY/"$FILENAME".png
|
||||
notify-send "Screenshot taken" "saved to ~/pictures/$YEAR/$MONTH_DAY/$FILENAME.png" -i :
|
||||
import -window root ~/pictures/screenshots/"$FILENAME".png
|
||||
notify-send "Screenshot taken" "saved to ~/pictures/screenshots/$FILENAME.png" -i :
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user