diff options
| author | 2026-05-13 13:43:32 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:32 +0100 | |
| commit | 0c15212f4f2389f743b17cb6ceff50f1f9267a1b (patch) | |
| tree | 9db73d86cfebc23b3032b32a1cc3be7b1e8bef38 /dot_config/waybar/executable_wifi-toggle.sh | |
| parent | 2970b9dddc6b89705a6836fa0864fb841925ff6f (diff) | |
| download | dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.gz dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.tar.bz2 dotfiles-0c15212f4f2389f743b17cb6ceff50f1f9267a1b.zip | |
style: apply formatter drift across repo
Pre-existing whitespace/style drift caught by `just check`. Touch
nothing semantic — pure formatter output (shfmt -i 2 -ci -s, ruff,
prettier, taplo). Excludes dot_config/clangd/config.yaml whose manual
indentation is intentionally preserved.
Diffstat (limited to 'dot_config/waybar/executable_wifi-toggle.sh')
| -rw-r--r-- | dot_config/waybar/executable_wifi-toggle.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dot_config/waybar/executable_wifi-toggle.sh b/dot_config/waybar/executable_wifi-toggle.sh index 68e77ab..2eb27bc 100644 --- a/dot_config/waybar/executable_wifi-toggle.sh +++ b/dot_config/waybar/executable_wifi-toggle.sh @@ -14,7 +14,10 @@ device=$(busctl --system --json=short call "$svc" / \ | select(.value["net.connman.iwd.Device"].Name.data == $iface) | .key') -[ -n "$device" ] || { notify-send -u critical "wifi" "iwd device $iface not found"; exit 1; } +[ -n "$device" ] || { + notify-send -u critical "wifi" "iwd device $iface not found" + exit 1 +} powered=$(busctl --system --json=short get-property "$svc" "$device" \ net.connman.iwd.Device Powered | jq -r '.data') |
