From 897ffe7b3ba43fee0c4418148a185d1cbb7d6425 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Tue, 30 Dec 2025 01:17:10 +0900 Subject: QoL small changes --- public/.local/bin/network_control.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'public/.local/bin/network_control.sh') diff --git a/public/.local/bin/network_control.sh b/public/.local/bin/network_control.sh index 4dc4b38..8fe580f 100755 --- a/public/.local/bin/network_control.sh +++ b/public/.local/bin/network_control.sh @@ -35,9 +35,12 @@ toggle_network_quarantine() { fi } -# WIP toggle_bluetooth() { - : + if bluetoothctl show | grep -q "Powered: yes"; then + bluetoothctl power off + else + bluetoothctl power on + fi } case $1 in -- cgit v1.2.3