Browse Source

Allow for a little nap before the bell

Alois Mahdal 5 years ago
parent
commit
e3aad7106e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      dotfiles/bash/main.bashrc

+ 2
- 0
dotfiles/bash/main.bashrc View File

@@ -17,6 +17,8 @@ bb() {
17 17
     #
18 18
     # Ring the bell
19 19
     #
20
+    local stime=${1:-0}
21
+    sleep "$stime"
20 22
     printf '\a'
21 23
 }
22 24