aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_config/sway/executable_bt-toggle.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/sway/executable_bt-toggle.sh')
-rw-r--r--dot_config/sway/executable_bt-toggle.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/dot_config/sway/executable_bt-toggle.sh b/dot_config/sway/executable_bt-toggle.sh
index 95958f9..02b72f9 100644
--- a/dot_config/sway/executable_bt-toggle.sh
+++ b/dot_config/sway/executable_bt-toggle.sh
@@ -6,11 +6,11 @@ set -eu
state=$(bluetoothctl show | awk '/Powered:/ {print $2}')
if [ "$state" = "yes" ]; then
- bluetoothctl power off >/dev/null
- notify-send -t 1500 -h string:x-canonical-private-synchronous:bt \
- 'Bluetooth' 'off'
+ bluetoothctl power off >/dev/null
+ notify-send -t 1500 -h string:x-canonical-private-synchronous:bt \
+ 'Bluetooth' 'off'
else
- bluetoothctl power on >/dev/null
- notify-send -t 1500 -h string:x-canonical-private-synchronous:bt \
- 'Bluetooth' 'on'
+ bluetoothctl power on >/dev/null
+ notify-send -t 1500 -h string:x-canonical-private-synchronous:bt \
+ 'Bluetooth' 'on'
fi