diff options
| author | 2026-05-13 13:43:19 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:19 +0100 | |
| commit | 083a99063d5092e0895424f652804065c84463f8 (patch) | |
| tree | b2096345b0a77795c5e1f913b2dd03ef3d22a9dd /dot_config/sway/executable_bt-toggle.sh | |
| parent | 1d5ea18ba2e2d98394c992e747df20a75682ec42 (diff) | |
| download | dotfiles-083a99063d5092e0895424f652804065c84463f8.tar.gz dotfiles-083a99063d5092e0895424f652804065c84463f8.tar.bz2 dotfiles-083a99063d5092e0895424f652804065c84463f8.zip | |
chore(fmt): apply shfmt and prettier formatting
- shfmt -i 2 -ci -s on the four updated shell scripts (tabs → 2 spaces)
- prettier --write on KEYBINDS.md and README.md
Diffstat (limited to 'dot_config/sway/executable_bt-toggle.sh')
| -rw-r--r-- | dot_config/sway/executable_bt-toggle.sh | 12 |
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 |
