14 lines
200 B
Bash
Executable File
14 lines
200 B
Bash
Executable File
#!/bin/bash
|
|
|
|
msg="Image filename:"
|
|
mydir="$HOME/Desktop/Screenshots"
|
|
title="ScreenShooter"
|
|
|
|
filename=$(zenity --entry --text "$msg" --entry-text FileName)
|
|
|
|
sleep 2
|
|
|
|
scrot $mydir/$filename.png
|
|
|
|
exit 0
|