From 083a99063d5092e0895424f652804065c84463f8 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 13 May 2026 13:43:19 +0100 Subject: chore(fmt): apply shfmt and prettier formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - shfmt -i 2 -ci -s on the four updated shell scripts (tabs → 2 spaces) - prettier --write on KEYBINDS.md and README.md --- dot_config/sway/executable_bt-toggle.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dot_config/sway/executable_bt-toggle.sh') 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 -- cgit v1.3.1