diff --git a/toggle_bt.sh b/toggle_bt.sh new file mode 100755 index 0000000..0650108 --- /dev/null +++ b/toggle_bt.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +[[ "$(systemctl is-active bluetooth)" == 'active' ]] && $(systemctl stop bluetooth || :) || systemctl restart bluetooth