Changed scripts

clean_emacs
TuDatTr 2021-03-02 12:23:39 +01:00
parent 4732690351
commit 5537696c6a
1 changed files with 2 additions and 0 deletions

View File

@ -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;