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:
parent
cd83183c67
commit
2c2ecad911
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user