Remove trailing newlines from scripts
This commit is contained in:
parent
ff9b012217
commit
310b879416
9 changed files with 0 additions and 9 deletions
|
@ -10,4 +10,3 @@ case "$1" in
|
|||
*) exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -12,4 +12,3 @@ case "$1" in
|
|||
*) echo "Unrecognized command"; exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -70,4 +70,3 @@ pactl subscribe | while read -r LINE; do
|
|||
get_ids
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
|
@ -22,4 +22,3 @@ case "$1" in
|
|||
*) echo "Device name '$1' not recognized"; exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -17,4 +17,3 @@ charging() {
|
|||
}
|
||||
|
||||
echo "{\"charge\":$CHARGE,\"icon\":\"$CHARGE_ICON\",\"charging\":$(charging)}"
|
||||
|
||||
|
|
|
@ -115,4 +115,3 @@ if __name__ == "__main__":
|
|||
if len(argv) != 2:
|
||||
exit("Must provide 1 arg: Polling interval")
|
||||
main(float(argv[1]))
|
||||
|
||||
|
|
|
@ -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 $@
|
||||
|
||||
|
|
|
@ -8,4 +8,3 @@ if [ "$(pactl get-default-sink)" = "${SPEAKERS}" ] ; then
|
|||
else
|
||||
pactl set-default-sink "${SPEAKERS}"
|
||||
fi
|
||||
|
||||
|
|
|
@ -8,4 +8,3 @@ if [ "$(pactl get-default-source)" = "${BLUE_MIC}" ] ; then
|
|||
else
|
||||
pactl set-default-source "${BLUE_MIC}"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue