Remove trailing newlines from scripts

This commit is contained in:
Michael Bradley 2025-06-09 00:03:27 -04:00
parent ff9b012217
commit 310b879416
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0
9 changed files with 0 additions and 9 deletions

View file

@ -10,4 +10,3 @@ case "$1" in
*) exit 1
;;
esac

View file

@ -12,4 +12,3 @@ case "$1" in
*) echo "Unrecognized command"; exit 1
;;
esac

View file

@ -70,4 +70,3 @@ pactl subscribe | while read -r LINE; do
get_ids
fi
done

View file

@ -22,4 +22,3 @@ case "$1" in
*) echo "Device name '$1' not recognized"; exit 1
;;
esac

View file

@ -17,4 +17,3 @@ charging() {
}
echo "{\"charge\":$CHARGE,\"icon\":\"$CHARGE_ICON\",\"charging\":$(charging)}"

View file

@ -115,4 +115,3 @@ if __name__ == "__main__":
if len(argv) != 2:
exit("Must provide 1 arg: Polling interval")
main(float(argv[1]))

View file

@ -2,4 +2,3 @@
# EWW doesn't seem to like listening to Python scripts directly, but this wrapper seems to work fine
"$(dirname "$0")"/network-statistics $@

View file

@ -8,4 +8,3 @@ if [ "$(pactl get-default-sink)" = "${SPEAKERS}" ] ; then
else
pactl set-default-sink "${SPEAKERS}"
fi

View file

@ -8,4 +8,3 @@ if [ "$(pactl get-default-source)" = "${BLUE_MIC}" ] ; then
else
pactl set-default-source "${BLUE_MIC}"
fi