feat(bin): set default param

This commit is contained in:
Janik von Rotz committed 2025-12-01 12:52:47 +01:00
1 parent d30afa7de9
commit 68a6c6099b
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ open-url-with-delay(){
fi
local browser_open=${BROWSER_OPEN:=True}
local seconds=${2:=2}
local seconds=${2:-2}
if [[ $browser_open == 'True' ]]; then
sleep "$seconds"
open-with-os "$1"