Changed scripts
parent
4732690351
commit
5537696c6a
|
@ -8,6 +8,8 @@ type xdotool >/dev/null 2>&1 || { echo >&2 "I require xdotool but it's not insta
|
||||||
d=$HOME/Pictures/Screenshots/$(date +%Y-%m);
|
d=$HOME/Pictures/Screenshots/$(date +%Y-%m);
|
||||||
fd=$(date +%G-%m-%d_%H-%M-%S)
|
fd=$(date +%G-%m-%d_%H-%M-%S)
|
||||||
|
|
||||||
|
mkdir $d;
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
"screen"*)
|
"screen"*)
|
||||||
filename=$fd-$(cat /proc/$(xdotool getwindowfocus getwindowpid)/comm).png;
|
filename=$fd-$(cat /proc/$(xdotool getwindowfocus getwindowpid)/comm).png;
|
||||||
|
|
Loading…
Reference in New Issue