Skip to content

Commit

Permalink
Removed trailing whitespace from files.
Browse files Browse the repository at this point in the history
  • Loading branch information
SfyMantissa committed Dec 28, 2022
1 parent d629b96 commit bd4f89e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pulseaudio-control.bash
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function getCurCharge() {
getNodeName "$1"

local bluetoothDeviceMac=$(echo "$nodeName" | sed -e 's/^[a-z_]*\.//' -e 's/\..*$//' | tr '_' ':')
BAT_LEVEL=$(bluetoothctl info "$bluetoothDeviceMac" | grep Battery | sed -E 's/.*\((.*)\)/\1/')
BAT_LEVEL=$(bluetoothctl info "$bluetoothDeviceMac" | grep Battery | sed -E 's/.*\((.*)\)/\1/')
fi
}

Expand Down Expand Up @@ -215,9 +215,9 @@ function volSync() {
echo "PulseAudio not running"
return 1
fi

getCurVol "$curNode"

if [[ "$NODE_TYPE" = "output" ]]; then
getSinkInputs "$curNode"

Expand Down Expand Up @@ -524,7 +524,7 @@ Options:
For details, see:
https://wiki.archlinux.org/title/Bluetooth_headset
Default: none
--hide-bluetooth-battery-level
--hide-bluetooth-battery-level
Hide the integer battery level representation.
Requires bluez experimental features to be enabled.
For details, see:
Expand Down
4 changes: 2 additions & 2 deletions tests.bats
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bats
# vim: filetype=sh
#
#
# Polybar PulseAudio Control - tests.bats
#
#
# Simple test script to make sure the most basic functions in this script
# always work as intended. The tests will modify the system's PulseAudio
# setup until it's restarted, so either do that after running the test, or
Expand Down

0 comments on commit bd4f89e

Please sign in to comment.