add airplane_mode.py script

This commit is contained in:
piotr
2024-04-01 01:32:55 +02:00
parent f229cf9bda
commit dfc5104548

View File

@@ -13,6 +13,6 @@ def get_output(cmd):
o = get_output("rfkill list")
for line in o:
if "Soft blocked: yes" in line or "Hard blocked: yes" in line:
print("airplane-mode-symbolic.svg")
print("airplane-mode-symbolic")
print("")
break