added audible 'beep'

Added audio beep (bell) to make it is easier to interact with the button while the laptop lid is closed
This commit is contained in:
then 2020-05-29 15:39:29 +02:00
parent cd83183c67
commit 2c2ecad911

View File

@ -13,7 +13,8 @@ Make use of that physical button on the side of your laptop to run scripts inst
while true; do
if iwconfig wlp2s0 | grep 'Tx-Power=off' > /dev/null; then
echo "Wifi is OFF"
echo -e '\a' #beep to indicate interaction
echo "Wifi is OFF"
break
else
echo "Wifi is ON"