1
0
Fork 0
dotfiles/files/.config/polybar/wifi_toggle.bash

9 lines
118 B
Bash
Executable File

#!/bin/bash
if rfkill list wifi | grep "yes" >/dev/null; then
rfkill unblock wifi
else
rfkill block wifi
fi