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
|
*) exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,3 @@ case "$1" in
|
||||||
*) echo "Unrecognized command"; exit 1
|
*) echo "Unrecognized command"; exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -70,4 +70,3 @@ pactl subscribe | while read -r LINE; do
|
||||||
get_ids
|
get_ids
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -22,4 +22,3 @@ case "$1" in
|
||||||
*) echo "Device name '$1' not recognized"; exit 1
|
*) echo "Device name '$1' not recognized"; exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -17,4 +17,3 @@ charging() {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "{\"charge\":$CHARGE,\"icon\":\"$CHARGE_ICON\",\"charging\":$(charging)}"
|
echo "{\"charge\":$CHARGE,\"icon\":\"$CHARGE_ICON\",\"charging\":$(charging)}"
|
||||||
|
|
||||||
|
|
|
@ -115,4 +115,3 @@ if __name__ == "__main__":
|
||||||
if len(argv) != 2:
|
if len(argv) != 2:
|
||||||
exit("Must provide 1 arg: Polling interval")
|
exit("Must provide 1 arg: Polling interval")
|
||||||
main(float(argv[1]))
|
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
|
# EWW doesn't seem to like listening to Python scripts directly, but this wrapper seems to work fine
|
||||||
"$(dirname "$0")"/network-statistics $@
|
"$(dirname "$0")"/network-statistics $@
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,3 @@ if [ "$(pactl get-default-sink)" = "${SPEAKERS}" ] ; then
|
||||||
else
|
else
|
||||||
pactl set-default-sink "${SPEAKERS}"
|
pactl set-default-sink "${SPEAKERS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,3 @@ if [ "$(pactl get-default-source)" = "${BLUE_MIC}" ] ; then
|
||||||
else
|
else
|
||||||
pactl set-default-source "${BLUE_MIC}"
|
pactl set-default-source "${BLUE_MIC}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue