From ba0697438b6cfc63afb390c83ab10feda0485282 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Wed, 20 Nov 2024 16:38:00 +0100 Subject: [PATCH] add some minor instruction --- lowbat.sh | 2 ++ onbat.sh | 2 ++ onpower.sh | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lowbat.sh b/lowbat.sh index b8808e9..e6ee90b 100755 --- a/lowbat.sh +++ b/lowbat.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +## This script assumes you are running KDE + SERVICE="syncthing" if pgrep -x "$SERVICE" >/dev/null then diff --git a/onbat.sh b/onbat.sh index 6710e5b..35266bd 100755 --- a/onbat.sh +++ b/onbat.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +## This script assumes you are running KDE + SERVICE="syncthing" if pgrep -x "$SERVICE" >/dev/null then diff --git a/onpower.sh b/onpower.sh index 232581d..41bbc48 100755 --- a/onpower.sh +++ b/onpower.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +## This script assumes you are running KDE + SERVICE="syncthing" if pgrep -x "$SERVICE" >/dev/null then @@ -11,4 +13,3 @@ else ## start syncthing /usr/bin/syncthing serve --no-browser --logfile=default fi -