diff options
-rwxr-xr-x | scripts/xflock4 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/xflock4 b/scripts/xflock4 index 56d81b8f..bff32b2e 100755 --- a/scripts/xflock4 +++ b/scripts/xflock4 @@ -22,6 +22,10 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # +# Wait a bit so that user have time to raise finger from a key if +# the script is run in terminal. +[ -t 0 ] && sleep 1 + # First test for the command set in the session's xfconf channel LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand) |