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