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 -