From 64a7c75c2791668523ea0a1072182c2c647fce1a Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 28 May 2026 17:43:29 +0200 Subject: [PATCH] fixup functions.sh --- functions.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/functions.sh b/functions.sh index 09beb67..8718ac4 100755 --- a/functions.sh +++ b/functions.sh @@ -41,3 +41,8 @@ switch-wall() { ;; esac } + +# handler for launching the script from non-login shells +if [[ ${BASH_SOURCE[0]} == "${0}" ]]; then + "$@" +fi